Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0 interfaces #11

Merged
merged 23 commits into from
Feb 25, 2018
Merged

1.0 interfaces #11

merged 23 commits into from
Feb 25, 2018

Conversation

radumg
Copy link
Owner

@radumg radumg commented Feb 24, 2018

fixes #2
fixes #4
fixes #7

- added filepath as parameter, so methods can be static
- adjusted return types for usability
- updated MachineBase
- added metadata fields to IMachine
- updated MachineBase
- added public comments
- added constructor for RegressionMachine
- added algorith Type as input
- likely to not work yet though 😱
- made MachineBase a non-abstract class to support JSON deserialisation
- added to/from JSON file support

fixes #4
- Dynamo doesn't like types directly and the `Type` node returns a string, so let's accept objects and get their types instead of types directly
- added simple constructor of RegressionMachine DYN file
- added DynamoVisualProgramming NuGet packages to enable this
- the Learn & Predict methods wouldn't be static anyway, so this duplicates the inputs to the nodes
- removed JSON IO from interface
- adjusted MachineBase to suit
- renamed Learned to Trained
- changed Algorithm member to `object` not Type
@radumg radumg self-assigned this Feb 24, 2018
@radumg
Copy link
Owner Author

radumg commented Feb 24, 2018

started on #7 but not currently working

this is an abstraction layer to enable #7
- updated IMachine to IAlgorithm
- added new properties that wrap the algorithm's properties
implements IAlgorithm, so can be used in IMachines
- comment out Regression algorithms list
- delete old JSON files
- update DYN tests
- update MachineBase to use IAlgorithm interface & IMachine changes
- also get rid of RegressionMachine
@radumg
Copy link
Owner Author

radumg commented Feb 25, 2018

Interfaces and everything seems to work fine now, except for bug #12

@radumg radumg merged commit 50e2da1 into master Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decouple Machine from algorithms add Save/Load of machine models implement IMachine interface
1 participant