File: DataStructures\SentimentPrediction.cs
Web Access
Project: src\docs\samples\Microsoft.ML.AutoML.Samples\Microsoft.ML.AutoML.Samples.csproj (Microsoft.ML.AutoML.Samples)
using Microsoft.ML.Data;
 
namespace Microsoft.ML.AutoML.Samples
{
    public class SentimentPrediction
    {
        // ColumnName attribute is used to change the column name from
        // its default value, which is the name of the field.
        [ColumnName("PredictedLabel")]
        public bool Prediction { get; set; }
 
        public float Score { get; set; }
    }
}