FelSiq / DBCV

Efficient implementation in Python of Density-Based Clustering Validation (DBCV) metric, fully compatible with the original MATLAB implementation.
MIT License
11 stars 5 forks source link

remove np.asfarray as it was deprecated in Numpy 2.0 #6

Closed panizolledotangel closed 1 month ago

panizolledotangel commented 1 month ago

Hi i have remove the call to np.asfarray as it was deprecated in version 2.0 of Numpy. I have change it to np.asarray with a dtype np.float64 which does the same and is compatible with the new version.

FelSiq commented 1 month ago

Thanks, @panizolledotangel !