aswi2021tri-musketyri-gitlab/Server/ServerApp/Predictor/ModelOutput.cs @ 4b847de5
1 | 4977ce53 | Roman Kalivoda | // |
---|---|---|---|
2 | // Author: Roman Kalivoda
|
||
3 | //
|
||
4 | |||
5 | using System; |
||
6 | 9fc5fa93 | Roman Kalivoda | using Microsoft.ML.Data; |
7 | |||
8 | namespace ServerApp.Predictor |
||
9 | {
|
||
10 | 4977ce53 | Roman Kalivoda | /// <summary>
|
11 | /// An output class of the ML.NET classifier model.
|
||
12 | /// </summary>
|
||
13 | 9fc5fa93 | Roman Kalivoda | public class ModelOutput |
14 | {
|
||
15 | 4977ce53 | Roman Kalivoda | /// <summary>
|
16 | /// A predicted class.
|
||
17 | /// </summary>
|
||
18 | 662b2404 | Roman Kalivoda | [ColumnName("PredictedLabel")] |
19 | 9fc5fa93 | Roman Kalivoda | public String Prediction { get; set; } |
20 | 4977ce53 | Roman Kalivoda | |
21 | 9fc5fa93 | Roman Kalivoda | }
|
22 | }
|