6 instantiations of FloatLabelCursor
Microsoft.ML.Data (2)
Microsoft.ML.Ensemble (1)
Microsoft.ML.FastTree (2)
Microsoft.ML.StandardTrainers (1)
81 references to FloatLabelCursor
Microsoft.ML.Data (3)
Microsoft.ML.Ensemble (1)
Microsoft.ML.FastTree (6)
Microsoft.ML.LightGbm (16)
LightGbmTrainerBase.cs (16)
551private FloatLabelCursor.Factory CreateCursorFactory(RoleMappedData data)
560var factory = new FloatLabelCursor.Factory(data, loadFlags);
747private static double DetectDensity(FloatLabelCursor.Factory factory, int numRows = 1000)
751using (var cursor = factory.Create())
766private void GetMetainfo(IChannel ch, FloatLabelCursor.Factory factory,
781using (var cursor = factory.Create())
836private static bool MoveMany(FloatLabelCursor cursor, long count)
846private void GetFeatureValueDense(IChannel ch, FloatLabelCursor cursor, CategoricalMetaData catMetaData, Random rand, out ReadOnlySpan<float> featureValues)
883private void GetFeatureValueSparse(IChannel ch, FloatLabelCursor cursor,
934private void CreateDatasetFromSamplingData(IChannel ch, FloatLabelCursor.Factory factory,
959using (var cursor = factory.Create())
1025private void LoadDataset(IChannel ch, FloatLabelCursor.Factory factory, Dataset dataset, int numRow, int batchSize, CategoricalMetaData catMetaData)
1053using (var cursor = factory.Create())
1089using (var cursor = factory.Create())
1133private void CopyToArray(IChannel ch, FloatLabelCursor cursor, float[] features, CategoricalMetaData catMetaData, Random rand, ref int numElem)
1171private void CopyToCsr(IChannel ch, FloatLabelCursor cursor,
Microsoft.ML.Mkl.Components (11)
OlsLinearRegression.cs (7)
176var cursorFactory = new FloatLabelCursor.Factory(examples, cursorOpt);
196private void ComputeOneDalRegression(IChannel ch, FloatLabelCursor.Factory cursorFactory, int m, ref Double[] beta, Double[] xtx, ref long n, ref Double yMean)
214using (var cursor = cursorFactory.Create())
304private void ComputeMklRegression(IChannel ch, FloatLabelCursor.Factory cursorFactory, int m, ref Double[] beta, Double[] xtx, ref long n, ref Double yMean)
308using (var cursor = cursorFactory.Create())
413private OlsModelParameters TrainCore(IChannel ch, FloatLabelCursor.Factory cursorFactory, int featureCount)
457using (var cursor = cursorFactory.Create())
Microsoft.ML.OneDal (2)
Microsoft.ML.StandardTrainers (42)
Standard\LogisticRegression\LbfgsPredictorBase.cs (11)
183private FloatLabelCursor.Factory _cursorFactory;
312private protected virtual Optimizer InitializeOptimizer(IChannel ch, FloatLabelCursor.Factory cursorFactory,
345private protected virtual VBuffer<float> InitializeWeightsSgd(IChannel ch, FloatLabelCursor.Factory cursorFactory)
372FloatLabelCursor cursor = null;
490var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
496using (var cursor = cursorFactory.Create())
595var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
599using (var cursor = cursorFactory.Create())
736private protected abstract void ComputeTrainingStatistics(IChannel ch, FloatLabelCursor.Factory cursorFactory, float loss, int numParams);
860private protected float DifferentiableFunctionStream(FloatLabelCursor.Factory cursorFactory, in VBuffer<float> xDense, ref VBuffer<float> grad, IProgressChannel pch)
872using (var cursor = cursorFactory.Create())