Code Monkey home page Code Monkey logo

copac's People

Stargazers

kevin20012 avatar  avatar Felipe Baltazar avatar Fernando Cicconeto avatar

Watchers

James Cloos avatar Roman Feldbauer avatar

copac's Issues

PERF vectorization

The inner loop of the correlation distance computation should be vectorized for increased performance.

ENH Code quality

Code needs to be clean up for

  • unused imports
  • unused variables
  • unused parameters

Also, check PEP8 compliance.

Error in import DBSCAN

Description

Error in: from sklearn.cluster import DBSCAN when running: from copac import COPAC

Files

copac.py

To Reproduce

from copac import COPAC

Tasks

  • line 19: ".dbscan_" should be removed from: sklearn.cluster.dbscan_ import dbscan.

GDBSCAN

Generalized DBSCAN is very similar to standard DBSCAN. It seems, sklearn's DBSCAN routines can be used. If so, the (incomplete) GDBSCAN functions in the copac module can be removed.
Otherwise, we need to implement them fully.

Deprecated aliases in numpy

Description

AttributeError: module 'numpy' has no attribute 'float' 'int'

Screenshots

image
image

Files

copac.py

Tasks

  • lines 143, 144: use 'float' and 'int' without 'np.'

Name and Type errors with DBSCAN

Description

Name and Type errors related to dbscan when running copac.fit_predict

Screenshots

image
image
image

Files

copac.py

Tasks

The following modifications to lines 168-170 solved the errors.

image

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.