Projekt

Obecné

Profil

Stáhnout (782 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 4977ce53 Roman Kalivoda
//
2
// Author: Roman Kalivoda
3
//
4
5
using Microsoft.ML.Data;
6 9fc5fa93 Roman Kalivoda
7
namespace ServerApp.Predictor
8 abfd9c7c Roman Kalivoda
{
9 4977ce53 Roman Kalivoda
10
    /// <summary>
11
    /// A container of input features and label for the ML.NET classification model.
12
    /// </summary>
13 abfd9c7c Roman Kalivoda
    public class ModelInput
14
    {
15 4977ce53 Roman Kalivoda
        /// <summary>
16
        /// A label of this training input.
17
        /// </summary>
18 66c3e0df Roman Kalivoda
        [ColumnName("Label"), LoadColumn(0)]
19
        public string Label { get; set; }
20 9fc5fa93 Roman Kalivoda
21 4977ce53 Roman Kalivoda
        /// <summary>
22
        /// Temperature at the site.
23
        /// </summary>
24 9fc5fa93 Roman Kalivoda
        [ColumnName("temp"), LoadColumn(1)]
25 66c3e0df Roman Kalivoda
        public float Temp { get; set; }
26 9fc5fa93 Roman Kalivoda
27
        //[ColumnName("date"), LoadColumn(2)]
28
        //public string Col2 { get; set; }
29 abfd9c7c Roman Kalivoda
30 9fc5fa93 Roman Kalivoda
        //[ColumnName("time"), LoadColumn(3)]
31
        //public string Col3 { get; set; }
32 abfd9c7c Roman Kalivoda
    }
33 4977ce53 Roman Kalivoda
}