-
-
Save mdfarragher/67c82b91b54ee8052aeea4a6b8e40cd8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set up data arrays | |
var training_data = training.Select(v => v.GetFeatures()).ToArray(); | |
var training_labels = training.Select(v => v.GetLabel()).ToArray(); | |
var testing_data = testing.Select(v => v.GetFeatures()).ToArray(); | |
var testing_labels = testing.Select(v => v.GetLabel()).ToArray(); | |
// the rest of the code goes here... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment