Revize 4977ce53
Přidáno uživatelem Roman Kalivoda před téměř 4 roky(ů)
Server/ServerApp/Predictor/ModelInput.cs | ||
---|---|---|
1 |
using Microsoft.ML.Data; |
|
1 |
// |
|
2 |
// Author: Roman Kalivoda |
|
3 |
// |
|
4 |
|
|
5 |
using Microsoft.ML.Data; |
|
2 | 6 |
|
3 | 7 |
namespace ServerApp.Predictor |
4 | 8 |
{ |
9 |
|
|
10 |
/// <summary> |
|
11 |
/// A container of input features and label for the ML.NET classification model. |
|
12 |
/// </summary> |
|
5 | 13 |
public class ModelInput |
6 | 14 |
{ |
15 |
/// <summary> |
|
16 |
/// A label of this training input. |
|
17 |
/// </summary> |
|
7 | 18 |
[ColumnName("Label"), LoadColumn(0)] |
8 | 19 |
public string Label { get; set; } |
9 | 20 |
|
10 |
|
|
21 |
/// <summary> |
|
22 |
/// Temperature at the site. |
|
23 |
/// </summary> |
|
11 | 24 |
[ColumnName("temp"), LoadColumn(1)] |
12 | 25 |
public float Temp { get; set; } |
13 | 26 |
|
... | ... | |
17 | 30 |
//[ColumnName("time"), LoadColumn(3)] |
18 | 31 |
//public string Col3 { get; set; } |
19 | 32 |
} |
20 |
} |
|
33 |
} |
Také k dispozici: Unified diff
Re #8832 Refactoring
Refactored existing classes to comply with the coding conventions