Coder Social home page Coder Social logo

felsiq / dbcv Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 747 KB

Efficient implementation of Density-Based Clustering Validation (DBCV) metric, fully compatible with the original MATLAB implementation.

Python 100.00%
clustering density-clustering metrics unsupervised-learning validation dbcv dbcv-score assessment clusterization metric

dbcv's People

Contributors

felsiq avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

dbcv's Issues

Duplicated samples have been found in X

Hey and thanks for this package... since the other one available doesn't seem to follow the reference implementation and is inactive it is nice to see something being maintained.

I'm getting the duplicate error when running my code (even though the data has previously being de-duplicated using pandas)
"Duplicated samples have been found in X."

I saw that the init function allows me to disable duplicate checks, however since its not documented I'm wondering what the implications of this are.

When running with duplication checks off, I am getting a result, however I am also getting the warning: "overflow encountered in power core_dists = np.power(dists, -d).sum(axis=-1, keepdims=True) / (n - 1 + 1e-12)"
Is this related or something to worry about?

Thanks again and all the best!

Error in execution

Hello!

I am encountering the following error while executing. Will be grateful if you may please check:-

Traceback (most recent call last):

File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3553, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)

File "", line 6, in <cell line: 6>
import dbcv

File "/usr/local/lib/python3.10/dist-packages/dbcv/init.py", line 1, in
from .core import dbcv

File "/usr/local/lib/python3.10/dist-packages/dbcv/core.py", line 35
return arr[*np.meshgrid(inds_a, inds_b)]
^
SyntaxError: invalid syntax

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.