fslaborg / FSharp.Stats

statistical testing, linear algebra, machine learning, fitting and signal processing in F#
https://fslab.org/FSharp.Stats/
Other
205 stars 54 forks source link

[BUG] HierarchicalClustering cannot digest data of generic type anymore #321

Closed kMutagene closed 2 months ago

kMutagene commented 2 months ago

See

https://github.com/fslaborg/FSharp.Stats/blob/3533493bda96ee8277f0bad793e11187617e3bf9/src/FSharp.Stats/ML/Unsupervised/HierarchicalClustering.fs#L483-L490

while generate<'T> uses a generic, the data argument is hard coded to array<float[]>, which was not the case in older versions.