File: Selector\SubModelSelector\AllSelectorMulticlass.cs
Web Access
Project: src\src\Microsoft.ML.Ensemble\Microsoft.ML.Ensemble.csproj (Microsoft.ML.Ensemble)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using System;
using Microsoft.ML;
using Microsoft.ML.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Trainers.Ensemble;
 
[assembly: LoadableClass(typeof(AllSelectorMulticlass), null, typeof(SignatureEnsembleSubModelSelector),
    AllSelectorMulticlass.UserName, AllSelectorMulticlass.LoadName)]
 
namespace Microsoft.ML.Trainers.Ensemble
{
    internal sealed class AllSelectorMulticlass : BaseSubModelSelector<VBuffer<Single>>, IMulticlassSubModelSelector
    {
        public const string UserName = "All Selector";
        public const string LoadName = "AllSelectorMultiClass";
 
        public override Single ValidationDatasetProportion => 0;
 
        protected override PredictionKind PredictionKind => PredictionKind.MulticlassClassification;
 
        public AllSelectorMulticlass(IHostEnvironment env)
            : base(env, LoadName)
        {
        }
    }
}