Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d358b79e

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

Re #8832 Label creation

Zobrazit rozdíly:

Server/ServerApp/Predictor/IPredictor.cs
25 25
        void Fit(IEnumerable<ModelInput> trainInput);
26 26

  
27 27
        /// <summary>
28
        /// Predicts classes to the given feature vectors.
28
        /// Predicts class to the given feature vector.
29 29
        /// </summary>
30
        /// <param name="input">A collection of model feature vectors in <c>ModelInput</c> instances.</param>
31
        /// <returns>A collection of <c>PredictionResult</c> instances.</returns>
32
        IDataView Predict(IEnumerable<ModelInput> input);
30
        /// <param name="input">A feature vector in <c>ModelInput</c> instance.</param>
31
        /// <returns>A predicted label.</returns>
32
        string Predict(ModelInput input);
33

  
34
        /// <summary>
35
        /// Evaluates the model on <paramref name="modelInputs"/> and prints metrics to console.
36
        /// </summary>
37
        /// <param name="modelInputs">Input data used to evaluate the predictor.</param>
38
        void Evaluate(IEnumerable<ModelInput> modelInputs);
33 39

  
34 40
        // TODO define Save method
35 41
    }

Také k dispozici: Unified diff