1 implementation of CreateComponent
Microsoft.ML.Data (1)
Utils\LossFunctions.cs (1)
465public ISupportSdcaRegressionLoss CreateComponent(IHostEnvironment env) => new SquaredLoss();
2 references to CreateComponent
Microsoft.ML.StandardTrainers (2)
Standard\SdcaRegression.cs (2)
124_loss = loss ?? SdcaTrainerOptions.LossFunction ?? SdcaTrainerOptions.LossFunctionFactory.CreateComponent(env); 135_loss = options.LossFunction ?? options.LossFunctionFactory.CreateComponent(env);