Reputation: 21
I want to use CNTK Evaluation API to give scores for my data. Currently I see there is one by one way of evaluation. I am curious whether the minibatch supported in CNTK evaluation? Where could I find some sample code for it?
Upvotes: 2
Views: 417
Reputation: 113
I know this was posted long ago but in case someone else ends on this question.
In python there is a direct parallel between using a minibatch in training and evaluation. In training, the .train_minibatch
method can be used on a cntk.Trainer
object and for evaluation the .test_minibatch
method can be used on a cntk.Evaluator
object.
See the section "3. Feeding Data Via an Explicit Minibatch Loop" in CNTK_200_GuidedTour for an example.
Upvotes: 0
Reputation: 556
Evaluation with batch data is supported by the new version of C# Eval API. This page describes how to use the API. And you can find examples here with building instructions.
Upvotes: 3