2 writes to _index2
Microsoft.ML.Data (2)
Utils\LossFunctions.cs (2)
601
_index2
= 2 - _index;
614
_index2
= 2 - _index;
6 references to _index2
Microsoft.ML.Data (6)
Utils\LossFunctions.cs (6)
637
if (
_index2
== 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);
651
return (float)(Math.Pow(output,
_index2
) - label * Math.Pow(output, _index1));