1 |
9fc5fa93
|
Roman Kalivoda
|
using Microsoft.ML.Data;
|
2 |
|
|
|
3 |
|
|
namespace ServerApp.Predictor
|
4 |
abfd9c7c
|
Roman Kalivoda
|
{
|
5 |
|
|
public class ModelInput
|
6 |
|
|
{
|
7 |
66c3e0df
|
Roman Kalivoda
|
[ColumnName("Label"), LoadColumn(0)]
|
8 |
|
|
public string Label { get; set; }
|
9 |
9fc5fa93
|
Roman Kalivoda
|
|
10 |
|
|
|
11 |
|
|
[ColumnName("temp"), LoadColumn(1)]
|
12 |
66c3e0df
|
Roman Kalivoda
|
public float Temp { get; set; }
|
13 |
9fc5fa93
|
Roman Kalivoda
|
|
14 |
|
|
//[ColumnName("date"), LoadColumn(2)]
|
15 |
|
|
//public string Col2 { get; set; }
|
16 |
abfd9c7c
|
Roman Kalivoda
|
|
17 |
9fc5fa93
|
Roman Kalivoda
|
//[ColumnName("time"), LoadColumn(3)]
|
18 |
|
|
//public string Col3 { get; set; }
|
19 |
abfd9c7c
|
Roman Kalivoda
|
}
|
20 |
|
|
}
|