-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Extend a test for adding string-array output example #1747
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 nativeResult = new List<NativeResult>(result.AsEnumerable<NativeResult>(Env, false))[0]; | ||
|
||
// Check the tokenization of A. Expected result is { "This", "is", "a", "good", "sentence." }. | ||
var tokenizeA = new[] { "This", "is", "a", "good", "sentence." }; |
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.
tokenizeA [](start = 16, length = 9)
it's all cool and nice, but I would rather prefer you to add proper example to https://github.com/dotnet/machinelearning/tree/master/docs/samples/Microsoft.ML.Samples/Dynamic
than modifying this test.
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.
We still need a test to test "end-to-end" in terms of C# native data strucutre.
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.
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.
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.
I can but not in this PR. This PR is super low priority.
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.
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.
@Ivanidzo4ka, sure. Just change this PR's description so that #1746 will not be closed. |
A partial solution to #1746. At least, one can search the code base to find an example of using strings in input and output.