|
// 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(AllFeatureSelector), null, typeof(SignatureEnsembleFeatureSelector),
AllFeatureSelector.UserName, AllFeatureSelector.LoadName)]
namespace Microsoft.ML.Trainers.Ensemble
{
internal sealed class AllFeatureSelector : IFeatureSelector
{
public const string UserName = "All Feature Selector";
public const string LoadName = "AllFeatureSelector";
public AllFeatureSelector(IHostEnvironment env)
{
}
public Subset SelectFeatures(RoleMappedData data, Random rand)
{
return new Subset(data);
}
}
}
|