mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
many changes ;-)
Former-commit-id: cb4aea844e960e4af4dc673ebc8eec49a7d12b13
This commit is contained in:
1 parent
03bef6461d
commit
0f8066d367
39 files changed
+951797
-198
No files matched your search
@@ -124,6 +124,9 @@ func CLISelectLandmarkSequences(iterator obiiter.IBioSequence) obiiter.IBioSeque
|
||||
}
|
||||
|
||||
// classes, centers := obistats.Kmeans(&seqworld, n_landmark, &initialCenters)
|
||||
classifier := obistats.MakeKmeansClustering(&seqworld, n_landmark, obistats.DefaultRG())
|
||||
_, centers, inertia, converged := classifier.Run(1000, 0.001)
|
||||
intertia := classifier.Inertia()
|
||||
_, centers, inertia, converged := obistats.Kmeans(&seqworld, n_landmark, 0.001, &initialCenters)
|
||||
|
||||
dist_centers := 0.0
|
||||
|
||||
Reference in new issue
Block a user