-
-
Save mdfarragher/4291c166bace79255a784d03ba4573bc 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 a trainer and an evaluator | |
var trainer = network.GetTrainer(learner, lossFunc, errorFunc); | |
var evaluator = network.GetEvaluator(errorFunc); | |
// train the model | |
Console.WriteLine("Epoch\tTrain\tTrain\tTest"); | |
Console.WriteLine("\tLoss\tError\tError"); | |
Console.WriteLine("-----------------------------"); | |
// 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