diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 13:46:55 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 13:46:55 +0300 |
commit | cde4fca02029cf3552cb63c050d3002bab68828f (patch) | |
tree | 35f1c25e6c0089708f607dd11a81682209ce4123 /RhSolutions.ML.Lib/Product.cs | |
parent | 0c85e000b401c1bab36d07b82c4a0b727562c42a (diff) |
Solution organize
Diffstat (limited to 'RhSolutions.ML.Lib/Product.cs')
-rw-r--r-- | RhSolutions.ML.Lib/Product.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/RhSolutions.ML.Lib/Product.cs b/RhSolutions.ML.Lib/Product.cs new file mode 100644 index 0000000..99040fc --- /dev/null +++ b/RhSolutions.ML.Lib/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 |