Skip to content

Instantly share code, notes, and snippets.

@sakapon
Last active April 14, 2016 12:49
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 sakapon/45ddbe7f3b74cc1f028f504850b177e9 to your computer and use it in GitHub Desktop.
Save sakapon/45ddbe7f3b74cc1f028f504850b177e9 to your computer and use it in GitHub Desktop.
Usage of Clustering of Bellona.Analysis 2
// 最大クラスター数および最大偏差値を指定して学習させます。
// 1.5σ は偏差値 65 を意味します。
var model = ClusteringModel.CreateAuto<Color>(c => new double[] { c.R, c.G, c.B })
.Train(colors, 20, 1.5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment