Skip to content

feat: Add InputConversion & OutputConversion for nn interface#625

Merged
Gerhardsa0 merged 77 commits intomainfrom
621-feat-add-input-layer-for-nn-interface
Apr 18, 2024
Merged

feat: Add InputConversion & OutputConversion for nn interface#625
Gerhardsa0 merged 77 commits intomainfrom
621-feat-add-input-layer-for-nn-interface

Conversation

@Gerhardsa0
Copy link
Contributor

@Gerhardsa0 Gerhardsa0 commented Apr 17, 2024

Closes #621

Summary of Changes

added input and output conversion Interface
also added this functionality for Table

Marsmaennchen221 and others added 30 commits April 3, 2024 22:49
Co-authored-by: WinPlay02 <winplay02_gh@woberlaender.de>
…performance-and-remove-some-bugs' into 610-improve-fnn-layer-and-model-performance-and-remove-some-bugs

# Conflicts:
#	src/safeds/ml/nn/_model.py
…performance-and-remove-some-bugs' into 610-improve-fnn-layer-and-model-performance-and-remove-some-bugs
Copy link
Member

@lars-reimann lars-reimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First batch of comments to ensure imports of external libraries stay lazy.

@Marsmaennchen221 Marsmaennchen221 changed the title feat: add input layer for nn interface feat: Add InputConversion & OutputConversion for nn interface Apr 17, 2024
@sibre28
Copy link
Contributor

sibre28 commented Apr 17, 2024

We probably should add explicit test cases for the methods of InputConversionTable and OutputConversionTable. Currently these are only being covered by the model tests.

feat: Raise error if nn is fitted on mismatching data
refactor: renamed `TestTrainDataMismatchError` to `FeatureDataMismatchError`
@Gerhardsa0
Copy link
Contributor Author

@lars-reimann your review is needed

@Gerhardsa0 Gerhardsa0 merged commit fd723f7 into main Apr 18, 2024
@Gerhardsa0 Gerhardsa0 deleted the 621-feat-add-input-layer-for-nn-interface branch April 18, 2024 18:57
lars-reimann pushed a commit that referenced this pull request May 1, 2024
## [0.22.0](v0.21.0...v0.22.0) (2024-05-01)

### Features

* `is_fitted` is now always a property ([#662](#662)) ([b1db881](b1db881)), closes [#586](#586)
* add `Column.missing_value_count` ([#682](#682)) ([f084916](f084916)), closes [#642](#642)
* Add `InputConversion` & `OutputConversion` for nn interface ([#625](#625)) ([fd723f7](fd723f7)), closes [#621](#621)
* Add hash,eq and sizeof in ForwardLayer ([#634](#634)) ([72f7fde](72f7fde)), closes [#633](#633)
* allow using tables that already contain target for prediction ([#687](#687)) ([e9f1cfb](e9f1cfb)), closes [#636](#636)
* callback `Row.sort_columns` takes four parameters instead of two tuples ([#683](#683)) ([9c3e3de](9c3e3de)), closes [#584](#584)
* rename `group_rows_by` in `Table` to `group_rows` ([#661](#661)) ([c1644b7](c1644b7)), closes [#611](#611)
* rename `number_of_column` in `Row` to `number_of_columns` ([#660](#660)) ([0a08296](0a08296)), closes [#646](#646)
* rework `TaggedTable` ([#680](#680)) ([db2b613](db2b613)), closes [#647](#647)
* show missing value count/ratio in summarized statistics ([#684](#684)) ([74b8a35](74b8a35)), closes [#619](#619)
* specify `extras` instead of `features` in `to_tabular_dataset` ([#685](#685)) ([841657f](841657f)), closes [#623](#623)

### Bug Fixes

* actually use `kernel` of support vector machines for training ([#681](#681)) ([09c5082](09c5082)), closes [#602](#602)

### Performance Improvements

* Faster plot_histograms and more reliable plots ([#659](#659)) ([b5f0a12](b5f0a12))
@lars-reimann
Copy link
Member

🎉 This PR is included in version 0.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add Input Layer for nn Interface

5 participants