Skip to content

Conversation

terrajobst
Copy link
Contributor

No description provided.


var reader = mlContext.Data.CreateTextFileSource(options);
```
- Tom check what you were plan on checking :-) No newline at end of file

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`

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

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

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

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.

@terrajobst terrajobst merged commit 3fda023 into master Jan 23, 2019
@terrajobst terrajobst deleted the ml-5 branch January 23, 2019 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants