Skip to content

Added tests for new API where components(Loaders/Transforms/Learners) are directly instantiated. #468

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

Merged
merged 2 commits into from
Jul 2, 2018

Conversation

zeahmed
Copy link
Contributor

@zeahmed zeahmed commented Jul 2, 2018

This PR addressed #424.

Two scenario tests were added to show how to directly instantiate ML.NET components instead of using Pipeline API. The test may not look elegant at first instance but they will help us shape the new API.

This work is inline with new API proposal #371.

Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

Cool nice @zeahmed . Gives us something to improve for sure, as we migrate some of the conveniences over to direct usage.

@TomFinley
Copy link
Contributor

TomFinley commented Jul 2, 2018

I wonder if we wanted to keep it (at least while we're working) in a separate folder from the usual "scenarios" folder, so as to keep these "in progress improvement" things in a conceptually distinct location. #Pending

@codemzs
Copy link
Member

codemzs commented Jul 2, 2018

super!


Refers to: test/Microsoft.ML.Tests/Scenarios/IrisPlantClassificationWithDirectionInstantiationTests.cs:211 in d8d4c2e. [](commit_id = d8d4c2e, deletion_comment = False)

Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

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

This is awesome! Looks great and not too different from what we had except functionally it is solid!

@zeahmed
Copy link
Contributor Author

zeahmed commented Jul 2, 2018

Yes, I am moving to new folder so these tests are separate from previous ones.


In reply to: 401920469 [](ancestors = 401920469)

@zeahmed zeahmed merged commit 769c9c5 into dotnet:master Jul 2, 2018
@zeahmed zeahmed deleted the new_api_tests branch July 2, 2018 23:40
eerhardt pushed a commit to eerhardt/machinelearning that referenced this pull request Jul 27, 2018
… are directly instantiated. (dotnet#468)

* Added tests for new API where components(Loaders/Transforms/Learners) are directly instantiated.

* Moved new tests to separate folder.
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants