From 0c85e000b401c1bab36d07b82c4a0b727562c42a Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Wed, 20 Sep 2023 08:18:22 +0300 Subject: Initial commit --- RhSolutions.ML.Builder/Product.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 RhSolutions.ML.Builder/Product.cs (limited to 'RhSolutions.ML.Builder/Product.cs') diff --git a/RhSolutions.ML.Builder/Product.cs b/RhSolutions.ML.Builder/Product.cs new file mode 100644 index 0000000..99040fc --- /dev/null +++ b/RhSolutions.ML.Builder/Product.cs @@ -0,0 +1,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; } +} \ No newline at end of file -- cgit v1.2.3