- Hands-On Machine Learning with ML.NET
- Jarred Capellman
- 48字
- 2021-06-24 16:43:34
The FilePrediction class
The FilePrediction class provides the container for the classification, probability, and score:
using Microsoft.ML.Data;
namespace chapter03_logistic_regression.ML.Objects
{
public class FilePrediction
{
[ColumnName("PredictedLabel")]
public bool IsMalicious { get; set; }
public float Probability { get; set; }
public float Score { get; set; }
}
}