Projekt

Obecné

Profil

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

    
5
using System;
6
using Microsoft.ML.Data;
7

    
8
namespace ServerApp.Predictor
9
{
10

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

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

    
28
        /// <summary>
29
        /// Time of the predicted turnout.
30
        /// </summary>
31
        [ColumnName("Time"), LoadColumn(2)]
32
        public DateTime Time { get; set; }
33
    }
34
}
(4-4/7)