A centroid is created using a cluster/id and the new instance (input_data) for which you wish to create a centroid. The complete and updated reference with all available parameters is in our documentation website.
Наследование: Response
Пример #1
0
 /// <summary>
 /// Create a cluster.
 /// </summary>
 /// <param name="dataset">A DataSet instance</param>
 /// <param name="name">The name you want to give to the new centroid. </param>
 /// <param name="arguments">Specifies the id of the field and values that you want to measure.</param>
 public Task<Centroid> CreateCentroid(DataSet dataset, string name = null, Centroid.Arguments arguments = null)
 {
     arguments = arguments ?? new Centroid.Arguments();
     if (!string.IsNullOrWhiteSpace(name)) arguments.Name = name;
     arguments.DataSet = dataset.Resource;
     return Create<Centroid>(arguments);
 }
Пример #2
0
 /// <summary>
 /// Create a centroid using supplied arguments.
 /// </summary>
 public Task<Centroid> CreateCentroid(Centroid.Arguments arguments)
 {
     return Create<Centroid>(arguments);
 }