2 types derived from FeatureFlockBase
Microsoft.ML.FastTree (2)
Dataset\FeatureFlock.cs (1)
1108internal abstract class SinglePartitionedIntArrayFlockBase<TIntArray> : FeatureFlockBase
Dataset\SingletonFeatureFlock.cs (1)
15internal sealed class SingletonFeatureFlock : FeatureFlockBase
44 references to FeatureFlockBase
Microsoft.ML.FastTree (44)
Dataset\Dataset.cs (14)
20private readonly FeatureFlockBase[] _flocks; 44public Dataset(DatasetSkeleton datasetSkeleton, FeatureFlockBase[] flocks) 62var lastFlock = _flocks[_flocks.Length - 1]; 224public FeatureFlockBase[] Flocks 266FeatureFlockBase[][] featureParts = Utils.BuildArray(numParts, i => new FeatureFlockBase[NumFlocks]); 315FeatureFlockBase[] features = new FeatureFlockBase[NumFlocks]; 366private void GetSubDatasetThreadWorker(FeatureFlockBase[] features, int f, int[][] docAssignment, bool destroyThisDataset) 374private void SplitThreadWorker(FeatureFlockBase[][] features, int f, int[][] docAssignment, bool destroyThisDataset) 376FeatureFlockBase[] featureParts = Flocks[f].Split(docAssignment); 917private readonly FeatureFlockBase.FlockForwardIndexerBase[] _flockIndexers; 967_flockIndexers = new FeatureFlockBase.FlockForwardIndexerBase[_dataset.NumFlocks]; 970var flock = _dataset._flocks[iflock];
Dataset\FeatureFlock.cs (6)
53/// particular flock the same as they do with <see cref="FeatureFlockBase"/>. 75public abstract FeatureFlockBase Flock { get; } 964/// flock, from 0 up to but not including <see cref="FeatureFlockBase.Count"/>. Now, 1027public abstract FeatureFlockBase[] Split(int[][] assignment); 1088public abstract FeatureFlockBase Flock { get; } 1231public override FeatureFlockBase Flock => _flock;
Dataset\NHotFeatureFlock.cs (2)
30public override FeatureFlockBase[] Split(int[][] assignment) 48public override FeatureFlockBase Flock
Dataset\OneHotFeatureFlock.cs (2)
21public override FeatureFlockBase[] Split(int[][] assignment) 85public override FeatureFlockBase Flock { get { return _flock; } }
Dataset\SingletonFeatureFlock.cs (3)
60public override FeatureFlockBase[] Split(int[][] assignment) 83public override FeatureFlockBase Flock { get { return _flock; } } 107public override FeatureFlockBase Flock
FastTree.cs (17)
1022private FeatureFlockBase CreateOneHotFlock(IChannel ch, 1107private FeatureFlockBase CreateOneHotFlockCategorical(IChannel ch, 1375var features = new FeatureFlockBase[NumFeatures]; 1461List<FeatureFlockBase> flocks = new List<FeatureFlockBase>(); 1938FeatureFlockBase[] flocks = CreateFlocks(ch, pch).ToArray(); 2037private IEnumerable<FeatureFlockBase> CreateFlocks(IChannel ch, IProgressChannel pch) 2042foreach (FeatureFlockBase flock in CreateFlocksCore(ch, pch)) 2066private IEnumerable<FeatureFlockBase> CreateFlocksCore(IChannel ch, IProgressChannel pch) 2156foreach (var flock in CreateFlocksCore(ch, pch, iFeature, CategoricalFeatureIndices[catRangeIndex])) 2164foreach (var flock in CreateFlocksCore(ch, pch, iFeature, NumFeatures)) 2173foreach (var flock in CreateFlocksCore(ch, pch, 0, NumFeatures)) 2178private IEnumerable<FeatureFlockBase> CreateFlocksCore(IChannel ch, IProgressChannel pch, int startFeatureIndex, int featureLim) 2194Func<FeatureFlockBase> createOneHotFlock = 2198Func<FeatureFlockBase> createNHotFlock = 2210Func<FeatureFlockBase> createFlock = 2214FeatureFlockBase flock;