16 lines
280 B
C#
16 lines
280 B
C#
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; }
|
|
} |