summaryrefslogtreecommitdiff
path: root/RhSolutions.ML.Lib/Product.cs
blob: 99040fc7c24df7f845abb0271c727e92824a59e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Microsoft.ML.Data;
namespace RhSolutions.ML;

public class Product
{
	[LoadColumn(0)]
	public string? Name { get; set; }
	[LoadColumn(1)]
	public string? Type { get; set; }
}

public class TypePrediction
{
	[ColumnName("PredictedLabel")]
	public string? Type { get; set; }
}