Predicting values with binary classification models
Compared to evaluating model performance or behavior, generating predictions for new rows is relatively straightforward. We’ll start by defining a class to represent each row of data in our training data, including IsLastSeason, our label column.
This is a plain old C# class:
public class PlayerSeason {
public float YellowCards {get; set;}
public float RedCards {get; set;}
public float Goals {get; set;}
public float Assists {get; set;}
public float MinutesPlayed {get; set;}
public float Games {get; set;}
public string Position {get; set;}
public float Age {get; set;}
public float YellowDiff {get; set;}
public float RedDiff {get; set;}
public float GoalsDiff ...