2 instantiations of ClusteringPerInstanceEvaluator
Microsoft.ML.Data (2)
Evaluators\ClusteringEvaluator.cs (2)
149
return new
ClusteringPerInstanceEvaluator
(Host, schema.Schema, scoreInfo.Name, numClusters);
627
return new
ClusteringPerInstanceEvaluator
(env, ctx, schema);
11 references to ClusteringPerInstanceEvaluator
Microsoft.ML.Data (11)
Evaluators\ClusteringEvaluator.cs (11)
24
[assembly: LoadableClass(typeof(
ClusteringPerInstanceEvaluator
), null, typeof(SignatureLoadRowMapper),
25
"",
ClusteringPerInstanceEvaluator
.LoaderSignature)]
575
loaderAssemblyName: typeof(
ClusteringPerInstanceEvaluator
).Assembly.FullName);
621
public static
ClusteringPerInstanceEvaluator
Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema schema)
830
yield return
ClusteringPerInstanceEvaluator
.ClusterId;
831
yield return
ClusteringPerInstanceEvaluator
.SortedClusters;
832
yield return
ClusteringPerInstanceEvaluator
.SortedClusterScores;
838
if (perInst.Schema.TryGetColumnIndex(
ClusteringPerInstanceEvaluator
.SortedClusters, out int index))
842
perInst = new SlotsDroppingTransformer(Host,
ClusteringPerInstanceEvaluator
.SortedClusters, min: _numTopClusters).Transform(perInst);
845
if (perInst.Schema.TryGetColumnIndex(
ClusteringPerInstanceEvaluator
.SortedClusterScores, out index))
849
perInst = new SlotsDroppingTransformer(Host,
ClusteringPerInstanceEvaluator
.SortedClusterScores, min: _numTopClusters).Transform(perInst);