4 writes to Features
Microsoft.ML.Data (1)
Microsoft.ML.KMeansClustering (2)
Microsoft.ML.StandardTrainers (1)
71 references to Features
Microsoft.ML.Data (1)
Microsoft.ML.Ensemble (3)
Microsoft.ML.FastTree (3)
Microsoft.ML.KMeansClustering (10)
KMeansPlusPlusTrainer.cs (10)
383if (dimensionality != cursor.Features.Length)
388cursor.Features.Length);
394l2 = VectorUtils.NormSquared(cursor.Features);
399var distance = -2 * VectorUtils.DotProduct(in cursor.Features, in centroids[j])
1425VectorUtils.Add(in cursor.Features, ref cachedSumCopy[state.GetBestCluster(id)]);
1503state.AssertValidYinYangBounds(n, in cursor.Features, centroids);
1513KMeansUtils.FindBestCluster(in cursor.Features, centroids, centroidL2s, k, false, out minDistance, out cluster, out secMinDistance, out secCluster);
1516chunkState.UpdateClusterAssignment(in cursor.Features, cluster, minDistance);
1519int prevCluster = state.SetYinYangCluster(n, in cursor.Features, minDistance, cluster, secMinDistance);
1520chunkState.UpdateClusterAssignment(firstIteration, in cursor.Features, cluster, prevCluster, minDistance);
Microsoft.ML.LightGbm (11)
Microsoft.ML.Mkl.Components (11)
Microsoft.ML.OneDal (3)
Microsoft.ML.PCA (3)
Microsoft.ML.StandardTrainers (26)
Standard\LogisticRegression\LbfgsPredictorBase.cs (6)
392AccumulateOneGradient(in cursor.Features, cursor.Label, cursor.Weight, in x, ref grad, ref scratch);
506var values = cursor.Features.GetValues();
507if (cursor.Features.IsDense)
518var indices = cursor.Features.GetIndices();
616PreTrainingProcessInstance(cursor.Label, in cursor.Features, cursor.Weight);
876loss += AccumulateOneGradient(in cursor.Features, cursor.Label, cursor.Weight,