Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    S

    Sujit Pal

    sujitpal.blogspot.com · Personal blog · on HN since 2009

    Sujit Pal writes about search, text mining and machine learning, with Elasticsearch, NLTK, Python and Hadoop examples.

    Visit blogHN submissions
    AI & Machine LearningData & VisualizationProgramming
    What HN says

    HN links it for the Elasticsearch image search post, and the author joined comments to discuss it and a follow-up comparison.

    Stats for nerds
    15HN people shared it
    11linked in comments
    149story points
    Jun 2016last shared
    2010people per year2016

    Top posts on HN

    1. 1
      Elasticsearch Based Image Search Using RGB Signatures
      1 person · 126 points · first shared 2016 · 19 comments on HN
    2. 2
      Hierarchical Agglomerative Clustering with Hadoop
      1 person · 5 points · first shared 2009 · 1 comments on HN
    3. 3
      Salmon Run: More Java Actor Frameworks Compared
      2 people · 3 points · first shared 2009 · Discussion on HN
    4. 4
      Assembling a Python Machine Learning Toolkit
      1 person · 3 points · first shared 2013 · Discussion on HN
    5. 5
      The Benefits of Attention for Document Classification
      1 person · 2 points · first shared 2017 · Discussion on HN
    6. 6
      Finding Significant Phrases in Tweets with NLTK
      1 person · 2 points · first shared 2013 · Discussion on HN
    7. 7
      Keyword deduplication using the Python dedupe library
      1 person · 2 points · first shared 2018 · Discussion on HN
    8. 8
      Categorizing Medical Transcripts Using DMOZ and Word2Vec
      1 person · 2 points · first shared 2015 · Discussion on HN
    9. 9
      Document Similarity Using Various Text Vectorizing Strategies
      1 person · 2 points · first shared 2016 · Discussion on HN
    10. 10
      Scalding For The Impatient
      1 person · 1 points · first shared 2013 · Discussion on HN

    What HN people wrote when they linked it

    • sujitpalJun 2016

      Hello, author of the post here. Thanks for all your valuable comments. I noticed that there was some talk about neural network driven models. In my follow up post to this one:

      http://sujitpal.blogspot.com/2016/06/comparison-of-image-search-performance.html

      I describe how I use transfer learning to generate image vectors for my butterfly images from the Caffe reference model trained on ImageNet. There are some other approaches too, but probably not as interesting to this audience.

      @GrantS - thanks for the intro and the links, and for pointing out that I was using BoVW incorrectly. Not an image person, trying to get into it from a search/NLP background.

      @infinitone and @deckar01 - I measured the goodness of search by checking how many times the query butterfly was the #1 result. I agree its pretty hard to distinguish butterflies from one another, but I needed something to work with, and that was as good as any. I did not want one that crosses subject areas, such as flowers and cars, so a search for a red flower might bring back a red car.

      @chrischen - if you got rid of the bucketing portion in my pipeline, I think you might achieve what you are after. But if you are only looking for exact match on color, then hashing might be cheaper.

      @rcarmo - thanks for the reference to pHash, I think it might work better in near-duplicate detection kind of cases. Will check it out.

    • luciferFeb 2010

      "Asynchronious message passing is old and great idea. Instead of synchronizing objects and dealing with deadlocks we try to isolate objects and let them exchange messages. Erlang proved it to be extremly powerful tool applicable to wide range of highly scalable mission critical applications.

      In JVM landscape big interest to this approach started after introducing Scala actors. "

      That statement is so very poorly informed! JMS ("surprise"?) has been a sign of "interest" in "Asynchronious message passing" in the "JVM landscape".

      I am not up on my Scala, but the author fails to convey (based on what I do know ;) the competence level that would lend weight to his attempt to address (much less support) the topic.

      For those interested in other JVM alternatives, Kilim seems quite promising and seems to hold its own quite well in benchmarks against Erlang.

      http://www.malhar.net/sriram/kilim/

      http://www.youtube.com/watch?v=37NaHRE0Sqw

      http://sujitpal.blogspot.com/2009/01/more-java-actor-frameworks-compared.html [scroll to end to see the impressive results for Kilim.]

      http://osl.cs.uiuc.edu/docs/pppj09/paper.pdf

      [edit: added pdf link]

    • softwaredougJun 2016

      (Author here) Case in point where Elasticsearch shines is one of yesterday's hacker news articles

      http://sujitpal.blogspot.com/2016/05/elasticsearch-based-image-search-using.html?m=1

      Here Elasticsearch is used as a framework where "search" really means some kind of distributed feature similarity. But even text search where your incorporating a lot of data science, external signals, or semantic awareness can fall more into the category of distributed feature similarity.

      Algolias strength is in a simpler path to straightforward and easily understood search. I'm not sure it's the path to amazing and deeply customized search (or search-driven features). Algolia gets far more right out of the box at a configuration level many need when they can't put a team around building an amazing Solr/ES experience.

      My hope is Solr/ES can learn a thing or two in the ease of use dept with relevance!

    • nlApr 2012

      Sure:

      My algorithm is something I made up, and from memory it works like this:

      1) Remove HTML, stem, remove stopwords etc

      2) Sort unique words by popularity in the text

      3) Split the original text on sentence boundaries.

      4) Include each sentence that first mentions the next most popular word, until the summary is the maximum length requested.

      http://news.ycombinator.com/item?id=1803020

      Googling turns up http://sujitpal.blogspot.com.au/2009/02/summarization-with-lucene.html which compares a few approaches.

      Edit: Also http://stackoverflow.com/questions/2829303/given-a-document-select-a-relevant-snippet, which I think is by Dn_Ab who wrote the OP.

    Related

    Matthijs Hollemansmachinethink.net15 people

    The lost art of 3D rendering without shaders

    Matthijs Hollemans
    Personal · last shared 2021
    SVDS Blogsvds.com27 people

    Ethereum: Rise of the World Computer

    SVDS Blog
    Company · last shared 2021
    Google AI Blogai.googleblog.com596 people

    Google Duplex: An AI System for Accomplishing Real World Tasks Over the Phone

    Google AI Blog
    Company · last shared 2026
    Smeritysmerity.com34 people

    Simple questions to help reduce AI hype

    Smerity
    Personal · last shared 2021
    OpenSource Connections Blogopensourceconnections.com36 people

    Falsehoods Programmers Believe About Search

    OpenSource Connections Blog
    Company · last shared 2024
    Kaggle Blogblog.kaggle.com72 people

    Approaching Almost Any Machine Learning Problem

    Kaggle Blog
    Company · last shared 2018
    Turbopuffer Blogturbopuffer.com37 people

    Turbopuffer: Fast search on object storage

    Turbopuffer Blog
    Company · last shared 2026
    Baidu Research Blogresearch.baidu.com37 people

    Deep Voice: Real-Time Neural Text-To-Speech

    Baidu Research Blog
    Company · last shared 2025