10 instantiations of Factory
Microsoft.ML.FastTree (2)
RandomForestClassification.cs (1)
235var cursorFactory = new FloatLabelCursor.Factory(trainData, cursorOpt);
RandomForestRegression.cs (1)
374var cursorFactory = new FloatLabelCursor.Factory(trainData, cursorOpt);
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
560var factory = new FloatLabelCursor.Factory(data, loadFlags);
Microsoft.ML.Mkl.Components (2)
OlsLinearRegression.cs (1)
176var cursorFactory = new FloatLabelCursor.Factory(examples, cursorOpt);
SymSgdClassificationTrainer.cs (1)
704var cursorFactory = new FloatLabelCursor.Factory(data, CursOpt.Label | CursOpt.Features);
Microsoft.ML.StandardTrainers (5)
Standard\LogisticRegression\LbfgsPredictorBase.cs (2)
490var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt); 595var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
Standard\Online\OnlineLinear.cs (1)
327var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
Standard\SdcaBinary.cs (2)
334var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt); 2032var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
42 references to Factory
Microsoft.ML.FastTree (4)
RandomForestClassification.cs (2)
235var cursorFactory = new FloatLabelCursor.Factory(trainData, cursorOpt); 266private void TrainCoreOneDal(IChannel ch, FloatLabelCursor.Factory cursorFactory, int featureCount)
RandomForestRegression.cs (2)
374var cursorFactory = new FloatLabelCursor.Factory(trainData, cursorOpt); 399private void TrainCoreOneDal(IChannel ch, FloatLabelCursor.Factory cursorFactory, int featureCount)
Microsoft.ML.LightGbm (8)
LightGbmTrainerBase.cs (8)
551private FloatLabelCursor.Factory CreateCursorFactory(RoleMappedData data) 560var factory = new FloatLabelCursor.Factory(data, loadFlags); 675var factory = CreateCursorFactory(trainData); 707var factory = CreateCursorFactory(validData); 747private static double DetectDensity(FloatLabelCursor.Factory factory, int numRows = 1000) 766private void GetMetainfo(IChannel ch, FloatLabelCursor.Factory factory, 934private void CreateDatasetFromSamplingData(IChannel ch, FloatLabelCursor.Factory factory, 1025private void LoadDataset(IChannel ch, FloatLabelCursor.Factory factory, Dataset dataset, int numRow, int batchSize, CategoricalMetaData catMetaData)
Microsoft.ML.Mkl.Components (7)
OlsLinearRegression.cs (4)
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) 304private void ComputeMklRegression(IChannel ch, FloatLabelCursor.Factory cursorFactory, int m, ref Double[] beta, Double[] xtx, ref long n, ref Double yMean) 413private OlsModelParameters TrainCore(IChannel ch, FloatLabelCursor.Factory cursorFactory, int featureCount)
SymSgdClassificationTrainer.cs (3)
536private readonly FloatLabelCursor.Factory _cursorFactory; 554public InputDataManager(SymbolicSgdLogisticRegressionBinaryTrainer trainer, FloatLabelCursor.Factory cursorFactory, IChannel ch) 704var cursorFactory = new FloatLabelCursor.Factory(data, CursOpt.Label | CursOpt.Features);
Microsoft.ML.OneDal (1)
OneDalUtils.cs (1)
44internal static long GetTrainData(IChannel channel, FloatLabelCursor.Factory cursorFactory, ref List<float> featuresList, ref List<float> labelsList, int numberOfFeatures)
Microsoft.ML.StandardTrainers (22)
Standard\LogisticRegression\LbfgsPredictorBase.cs (7)
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) 490var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt); 595var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt); 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)
Standard\LogisticRegression\LogisticRegression.cs (2)
220private protected override void ComputeTrainingStatistics(IChannel ch, FloatLabelCursor.Factory cursorFactory, float loss, int numParams) 424private protected override Optimizer InitializeOptimizer(IChannel ch, FloatLabelCursor.Factory cursorFactory,
Standard\LogisticRegression\MulticlassLogisticRegression.cs (2)
232private protected override Optimizer InitializeOptimizer(IChannel ch, FloatLabelCursor.Factory cursorFactory, 308private protected override void ComputeTrainingStatistics(IChannel ch, FloatLabelCursor.Factory cursorFactory, float loss, int numParams)
Standard\Online\OnlineLinear.cs (1)
327var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
Standard\PoissonRegression\PoissonRegression.cs (1)
198private protected override void ComputeTrainingStatistics(IChannel ch, FloatLabelCursor.Factory factory, float loss, int numParams)
Standard\SdcaBinary.cs (5)
140private protected virtual int ComputeNumThreads(FloatLabelCursor.Factory cursorFactory) 334var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt); 790private protected virtual void TrainWithoutLock(IProgressChannelProvider progress, FloatLabelCursor.Factory cursorFactory, Random rand, 948FloatLabelCursor.Factory cursorFactory, 2032var cursorFactory = new FloatLabelCursor.Factory(data, cursorOpt);
Standard\SdcaMulticlass.cs (2)
174private protected override void TrainWithoutLock(IProgressChannelProvider progress, FloatLabelCursor.Factory cursorFactory, Random rand, 343FloatLabelCursor.Factory cursorFactory,
Standard\SdcaRegression.cs (1)
170private protected override int ComputeNumThreads(FloatLabelCursor.Factory cursorFactory)
Standard\StochasticTrainerBase.cs (1)
47private protected virtual int ComputeNumThreads(FloatLabelCursor.Factory cursorFactory)