internal CustomModel(Model_internal model)
 {
     ModelId      = model.ModelInfo.ModelId.ToString();
     LearnedForms = ConvertLearnedForms(model.Keys);
     ModelInfo    = new CustomModelInfo(model.ModelInfo);
     TrainingInfo = new TrainingInfo(model.TrainResult);
 }
Пример #2
0
 internal CustomLabeledModel(Model_internal model)
 {
     ModelId = model.ModelInfo.ModelId.ToString();
     AveragePredictionAccuracy = model.TrainResult.AverageModelAccuracy.Value;
     PredictionAccuracies      = (IReadOnlyList <FieldPredictionAccuracy>)model.TrainResult.Fields;
     ModelInfo    = new CustomModelInfo(model.ModelInfo);
     TrainingInfo = new TrainingInfo(model.TrainResult);
 }