Projekt

Obecné

Profil

Stáhnout (782 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
//
2
// Author: Roman Kalivoda
3
//
4

    
5
using Microsoft.ML.Data;
6

    
7
namespace ServerApp.Predictor
8
{
9

    
10
    /// <summary>
11
    /// A container of input features and label for the ML.NET classification model.
12
    /// </summary>
13
    public class ModelInput
14
    {
15
        /// <summary>
16
        /// A label of this training input.
17
        /// </summary>
18
        [ColumnName("Label"), LoadColumn(0)]
19
        public string Label { get; set; }
20

    
21
        /// <summary>
22
        /// Temperature at the site.
23
        /// </summary>
24
        [ColumnName("temp"), LoadColumn(1)]
25
        public float Temp { get; set; }
26

    
27
        //[ColumnName("date"), LoadColumn(2)]
28
        //public string Col2 { get; set; }
29

    
30
        //[ColumnName("time"), LoadColumn(3)]
31
        //public string Col3 { get; set; }
32
    }
33
}
(2-2/4)