2 writes to _index1
Microsoft.ML.Data (2)
Utils\LossFunctions.cs (2)
600
_index1
= 1 - _index;
613
_index1
= 1 - _index;
7 references to _index1
Microsoft.ML.Data (7)
Utils\LossFunctions.cs (7)
632
if (
_index1
== 0)
640
return Math.Pow(output, _index2) / _index2 - label * Math.Pow(output,
_index1
) /
_index1
641
- (Math.Pow(label, _index2) / _index2 - label * Math.Pow(label,
_index1
) /
_index1
);
649
if (
_index1
== 0)
651
return (float)(Math.Pow(output, _index2) - label * Math.Pow(output,
_index1
));