-
Notifications
You must be signed in to change notification settings - Fork 40
Add ML.NET notes from session 5 #81
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
Conversation
|
||
var reader = mlContext.Data.CreateTextFileSource(options); | ||
``` | ||
- Tom check what you were plan on checking :-) No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
- Solves two problems: the chaining for `IHostEnvironment` and the | ||
discoverability for finding implementations of common abstraction. | ||
- They are solved by offering extension methods | ||
- We should align the naming of `XxxCatalog` with `XxxContext` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
var reader = mlContext.Data.CreateTextFileSource(options); | ||
``` | ||
- Tom check what you were plan on checking :-) No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It turns out the answer was, "we did both." 😛 Issue here.
`CreateTextReader()` | ||
- We should have a pattern for the arguments: | ||
- Simple set of arguments should just be parameters | ||
- More complicated arguments should be an option class that is mutable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Entered as this issue, this was a fairly lengthy discussion that went into more things than are captured in this paragraph so it's possible I forgot something in the issue, let me know if so.
- Most of the methods aren't verbs; instead of `TextReader()` it should be | ||
`CreateTextReader()` | ||
- We should have a pattern for the arguments: | ||
- Simple set of arguments should just be parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is captured in existing issues but to reinforce also mentioned it as a subitem in a new issue as well.
No description provided.