diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 08:18:22 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 08:18:22 +0300 |
commit | 0c85e000b401c1bab36d07b82c4a0b727562c42a (patch) | |
tree | 86ed7e6dd9b27f6e21603a60e4006a57dd20f04b /RhSolutions.ML.Builder/Product.cs |
Initial commit
Diffstat (limited to 'RhSolutions.ML.Builder/Product.cs')
-rw-r--r-- | RhSolutions.ML.Builder/Product.cs | 16 |
1 files changed, 16 insertions, 0 deletions
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 |