3 writes to PassNum
Microsoft.ML.Data (3)
Evaluators\EvaluatorBase.cs (3)
254
PassNum
= -1;
261
PassNum
= 0;
282
PassNum
++;
27 references to PassNum
Microsoft.ML.Data (27)
Evaluators\AnomalyDetectionEvaluator.cs (12)
475
return _streaming ?
PassNum
== 0 :
PassNum
== 1;
480
Host.Assert(!_streaming &&
PassNum
< 2 ||
PassNum
< 1);
481
if (!_streaming &&
PassNum
== 0)
487
return !_streaming &&
PassNum
< 2 ||
PassNum
< 1;
504
Host.Assert(!_streaming &&
PassNum
< 2 ||
PassNum
< 1);
533
if (
PassNum
== 0)
542
if (
PassNum
== 0)
547
if (
PassNum
== 0)
Evaluators\BinaryClassifierEvaluator.cs (1)
623
Host.Assert(
PassNum
< 1);
Evaluators\ClusteringEvaluator.cs (7)
503
if (
PassNum
== 0)
514
Host.Assert(
PassNum
== 1 && _calculateDbi);
524
if (
PassNum
== 0)
532
return _calculateDbi &&
PassNum
< 2 ||
PassNum
< 1;
546
if (
PassNum
== 0)
555
Host.Assert(
PassNum
== 1 && _calculateDbi);
Evaluators\EvaluatorBase.cs (3)
260
Host.Check(
PassNum
== -1, "Start() should only be called before processing any data.");
291
return
PassNum
< 1;
296
Host.Assert(
PassNum
< 1);
Evaluators\MulticlassClassificationEvaluator.cs (1)
414
Host.Assert(
PassNum
< 1);
Evaluators\MultiOutputRegressionEvaluator.cs (1)
304
Contracts.Assert(
PassNum
< 1);
Evaluators\RankingEvaluator.cs (1)
454
Contracts.Assert(
PassNum
< 1);
Evaluators\RegressionEvaluatorBase.cs (1)
202
Contracts.Assert(
PassNum
< 1);