Giter VIP home page Giter VIP logo

Comments (8)

asharma567 avatar asharma567 commented on May 16, 2024

1 error generated.
error: command 'gcc' failed with exit status 1

from annoy.

erikbern avatar erikbern commented on May 16, 2024

Did you install Boost?

I'm planning to drop the dependency on Boost fairly soon. It's been causing a lot of issues for people.

http://www.pyimagesearch.com/2015/04/27/installing-boost-and-boost-python-on-osx-with-homebrew/

from annoy.

asharma567 avatar asharma567 commented on May 16, 2024

I remember liking boost a lot when I was a quant on a trading desk! I'll
install it.

I'm trying to use Annoy instead of a BallTree or KDtree which takes too
long to construct and query: 2.5 million documents TFIDF vectorized.

The goal would be to query 100,000 against 2.5 in a reasonable amount of
time.

Would you have any insight?

  • Ajay

On Tue, Apr 28, 2015 at 3:59 PM, Erik Bernhardsson <[email protected]

wrote:

Did you install Boost?

I'm planning to drop the dependency on Boost fairly soon. It's been
causing a lot of issues for people.

http://www.pyimagesearch.com/2015/04/27/installing-boost-and-boost-python-on-osx-with-homebrew/


Reply to this email directly or view it on GitHub
#49 (comment).

Github https://github.com/asharma567/ | LinkedIn
http://www.linkedin.com/in/mrasharma/

from annoy.

erikbern avatar erikbern commented on May 16, 2024

If you come back in a few days the Boost dependency should be dropped.

Yes you can do that. Note however for TF-IDF if the number of terms is high the nearest neighbor quality might not be perfect. You should probably do a dimensionality reduction (using matrix factorization etc) to a representation with 10-100 dimensions at most.

from annoy.

asharma567 avatar asharma567 commented on May 16, 2024

Interesting, I'll try that approach -- Thanks!

On Wed, Apr 29, 2015 at 11:14 AM, Erik Bernhardsson <
[email protected]> wrote:

If you come back in a few days the Boost dependency should be dropped.

Yes you can do that. Note however for TF-IDF if the number of terms is
high the nearest neighbor quality might not be perfect. You should probably
do a dimensionality reduction (using matrix factorization etc) to a
representation with 10-100 dimensions at most.


Reply to this email directly or view it on GitHub
#49 (comment).

Github https://github.com/asharma567/ | LinkedIn
http://www.linkedin.com/in/mrasharma/

from annoy.

erikbern avatar erikbern commented on May 16, 2024

Can you try to install from PyPI now? The newest version (1.1.0) should not depend on Boost (thanks to @dvenum)

from annoy.

dvenum avatar dvenum commented on May 16, 2024

It's work for me. Debian 8.

from annoy.

asharma567 avatar asharma567 commented on May 16, 2024

works pypi works : OSX

On Wed, Apr 29, 2015 at 6:03 PM, Erik Bernhardsson <[email protected]

wrote:

Closed #49 #49.


Reply to this email directly or view it on GitHub
#49 (comment).

Github https://github.com/asharma567/ | LinkedIn
http://www.linkedin.com/in/mrasharma/

from annoy.

Related Issues (20)

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.