Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4977ce53

Přidáno uživatelem Roman Kalivoda před téměř 4 roky(ů)

Re #8832 Refactoring

Refactored existing classes to comply with the coding conventions

Zobrazit rozdíly:

Server/ServerApp/Predictor/ModelOutput.cs
1
using System;
1
//
2
// Author: Roman Kalivoda
3
//
4

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

  
4 8
namespace ServerApp.Predictor
5 9
{
10
    /// <summary>
11
    /// An output class of the ML.NET classifier model.
12
    /// </summary>
6 13
    public class ModelOutput
7 14
    {
15
        /// <summary>
16
        /// A predicted class.
17
        /// </summary>
8 18
        [ColumnName("prediction")]
9 19
        public String Prediction { get; set; }
20

  
21
        /// <summary>
22
        /// The score of prediction probability into individual classes.
23
        /// </summary>
10 24
        public float[] Score { get; set; }
11 25

  
12 26
    }

Také k dispozici: Unified diff