Giter VIP home page Giter VIP logo

hcluster's People

Contributors

aarchiba avatar alexbrc avatar cairijun avatar cbrueffer avatar charris avatar cournape avatar dependabot[bot] avatar emanuele avatar endolith avatar ewmoore avatar fgregg avatar jakevdp avatar jamestwebber avatar jarrodmillman avatar jnothman avatar jpaalasm avatar jseabold avatar larsmans avatar lemonlaug avatar matthew-brett avatar matthieudartiailh avatar pv avatar rgommers avatar rkern avatar stefanv avatar tacaswell avatar timleslie avatar tirkarthi avatar warrenweckesser avatar yarikoptic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hcluster's Issues

Deprecation warning due to invalid escape sequences

Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/

find . -iname '*.py' | grep -Ev 'test.py' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./hcluster/distance.py:1648: DeprecationWarning: invalid escape sequence \c
  '(k \choose 2)=n)!') % name)
./hcluster/distance.py:1652: DeprecationWarning: invalid escape sequence \c
  'be a k such that (k \choose 2)=n)!')

update readme

The Readme should be expanded to include:

  • installation
  • testing
  • team / credits
  • errors / bugs
  • copyright / license

Add support to release Linux AArch64 wheels

Problem

On aarch64, ‘pip install dedupe-hcluster’ build the wheels from source code and then installs it. It requires the user to have a development environment installed on his system. Also, it takes more time to build the wheels than downloading and extracting the wheels from PyPI.

Resolution

On aarch64, ‘pip install dedupe-hcluster’ should download the wheels from PyPI.

@derekeder, Please let me know your interest in releasing aarch64 wheels. I can help with this.

ImportError: cannot import name '_distance_wrap' on v0.3.3

Started getting this error after the latest version bump:

/usr/local/lib/python3.6/site-packages/dedupe/__init__.py:6: in <module>
--
  | from dedupe._init import *  # noqa
  | /usr/local/lib/python3.6/site-packages/dedupe/_init.py:1: in <module>
  | from dedupe.api import StaticDedupe, Dedupe  # noqa: F401
  | /usr/local/lib/python3.6/site-packages/dedupe/api.py:27: in <module>
  | import dedupe.clustering as clustering
  | /usr/local/lib/python3.6/site-packages/dedupe/clustering.py:12: in <module>
  | import hcluster
  | /usr/local/lib/python3.6/site-packages/hcluster/__init__.py:1: in <module>
  | from .hierarchy import *
  | /usr/local/lib/python3.6/site-packages/hcluster/hierarchy.py:175: in <module>
  | from . import distance
  | /usr/local/lib/python3.6/site-packages/hcluster/distance.py:73: in <module>
  | from . import _distance_wrap
  | E   ImportError: cannot import name '_distance_wrap'

This is running on Python 3.6.5.

syntax error

` SyntaxError: Missing parentheses in call to 'print'. Did you mean print("No paths in the python path contain numpy/arrayobject.h")?

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pxq8nc0h/hcluster/
`

Got this when installing hcluster..

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.