Skip to content

Instantly share code, notes, and snippets.

@AbhiOnGithub
Created July 15, 2018 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhiOnGithub/11088e658cb2d6cfb49808cb32ac1d17 to your computer and use it in GitHub Desktop.
Save AbhiOnGithub/11088e658cb2d6cfb49808cb32ac1d17 to your computer and use it in GitHub Desktop.
IrisData Class and ClusterPrediction Class
public class IrisData
{
[Column("0")]
public float SepalLength;
[Column("1")]
public float SepalWidth;
[Column("2")]
public float PetalLength;
[Column("3")]
public float PetalWidth;
}
public class ClusterPrediction
{
[ColumnName("PredictedLabel")]
public uint PredictedClusterId;
[ColumnName("Score")]
public float[] Distances;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment