paint-brush
7 Machine Learning Repos That The Top 1% Use and Don't Want You to Know About by@bap
1,008 reads
1,008 reads

7 Machine Learning Repos That The Top 1% Use and Don't Want You to Know About

by Baptiste FernandezNovember 30th, 2023
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

These repositories are the hidden gems used by the top 1% of developers and are yet to be discovered by the wider developer community.

People Mentioned

Mention Thumbnail
featured image - 7 Machine Learning Repos That The Top 1% Use and Don't Want You to Know About
Baptiste Fernandez HackerNoon profile picture

Hi there 👋


Today, let's dive into 7 ML repos that the top 1% of developers use (and those you have likely never heard of)!


Boston Robotics


What defines the top 1%?

Ranking developers is a difficult problem, and every methodology has its issues.


For example, if you rank developers by the number of lines of code they have written in Python you’ll probably get some pretty good Python developers at the top.


However, you may get people who have just copy-pasted lots of Python code to their repos and they aren’t that good. 🙁


At Quine, we have developed a methodology that we think is robust in most cases, but again not 100% perfect!


It’s called DevRank (you can read more about how we calculate this here).


The notion of the Top 1% that I use in this article is based on DevRank.


And yes, we continue working on this to make it better every day!

How do we know which repos the top 1% use?

We look at the repos that the 99th percentile has starred.


We then compare the propensity of the top 1% of devs vs the bottom 50% of devs to star a repo, and automatically generate the list.


In other words, these repositories are the hidden gems used by the top 1% of developers and are yet to be discovered by the wider developer community.


CleverCSV

I handle your messy CSVs

CleverCSV

A package developed by some friends of ours to handle common pain points of loading CSV files. A small but common problem at the start of many ML pipelines, solved well. 🔮


  • CleverCSV is able to detect and load various different CSV dialects, without needing to be told anything in its arguments. CSV files do not provide the necessary information to perform this natively, so some clever inference is required by the library.

  • CleverCSV can even handle messy CSV files, which have mistakes in their formatting.

  • In addition to the Python library, CleverCSV also includes a command line interface for code generation, exploration and standardization.


https://github.com/alan-turing-institute/CleverCSV


skll

Streamline ML workflows with scikit-learn through CLI

Skll

Are you writing endless boilerplate in sklearn to obtain cross-validated results with multiple algorithms? Try skll’s interface instead for a much cleaner coding experience. ⚡️


  • Skll is designed to enable running machine learning experiments with scikit-learn more efficiently, reducing the need for extensive coding.

  • The leading utility provided is called run_experiment, and it runs a series of learners on datasets specified in a configuration file.

  • It also offers a Python API for straightforward integration with existing code, including tools for format conversion and feature file operations.


https://github.com/EducationalTestingService/skll


BanditPAM

k-Medoids Clustering in Almost Linear-Time

BanditPAM

Back to fundamental algos here — BanditPAM is a new k-medoids (think a robust “k-means”) algorithm that can run in almost linear time. 🎉


  • Runs in O(nlogn) time rather than O(n^2) time, as per previous algorithms.

  • Cluster centers are data points, and hence correspond to meaningful observations. The center of a k-means cluster may correspond to invalid data; this is not possible with k-medoids.

  • Arbitrary distance metrics can be used (think L1, or Hamming distance for example), efficient k-means algos are typically limited to L2 distance.

  • Implemented from this paper, BanditPAM is ideal for data scientists looking for a powerful, scalable solution for group work, especially those dealing with large or complex data.


https://github.com/motiwari/BanditPAM


recordlinkage

The record matcher and duplicate detector everyone needs

RecordLinkage

Have you ever struggled to match users within different datasets who have spelt their name wrong, or who have slightly different attributes? Use this great library inspired by the Freely Extensible Biomedical Record Linkage (FEBRL), rebuilt for modern Python tooling. 🛠️


  • Provides a Python native implementation of the powerful FEBRL library, making use of numpy and pandas.

  • Includes both supervised and unsupervised approaches.

  • Includes tools for generating matching pairs to enable supervised ML approaches.

  • RecordLinkage is ideal for data scientists looking for a flexible, Python-based solution to perform record linkage and data deduplication tasks.


https://github.com/J535D165/recordlinkage


dragnet

A sole focus on web page content extraction

Dragnet

Content extraction from webpages. Dragnet focuses on the content and user comments on a page, and ignores the rest. It's handy for our scraper-friends out there. 🕷️


  • Dragnet aims to extract keywords and phrases from web pages by removing unwanted content such as advertising or navigation equipment.

  • Provides simple Python functions (extract_content and extract_content_and_comments) with the option to include or exclude comments for extracting content from HTML strings.

  • A sklearn-style extractor class is there for more advanced use, allowing customisation and training of extractors.


https://github.com/dragnet-org/dragnet


spacy-stanza

The latest StanfordNLP research models directly in spaCy

Spacy-Stanzaa

Interested in standard NLP tasks such as part-of-speech tagging, dependency parsing and named entity recognition? 🤔


SpaCy-Stanza wraps the Stanza (formerly StanfordNLP) library to be used in spaCy pipelines.


  • The package includes named entity recognition capabilities for selected languages, extending its utility in natural language processing tasks.
  • It supports 68 languages, making it versatile for various linguistic applications.
  • The package allows your pipeline to be customised with additional spaCy components.


https://github.com/explosion/spacy-stanza



Littleballoffur

"Swiss Army knife for graph sampling tasks"

Littleballoffur

Have you ever worked with a dataset so large that you need to take a sample of it? For simple data, random sampling maintains distribution in a smaller sample. However, in complex networks, snowball sampling - where you select initial users and include their connections - better captures network structure.


This helps avoid bias in analysis. 🔦


Now, do you have graph-structured data and need to work on samples of it (either for algorithmic or computational reasons)? 👩‍💻


  • Littleballoffur offers a range of methods for sampling from graphs and networks, including node-, edge-, and exploration-sampling.

  • Designed with a unified application public interface, making it easy for users to apply complex sampling algorithms without deep technical know-how.


https://github.com/benedekrozemberczki/littleballoffur




I hope these discoveries are valuable to you and will help build a more robust ML toolkit! ⚒️


If you are interested in leveraging these tools to create impactful projects in open source, you should first find out what your current DevRank is on Quine and see how it evolves in the coming months!


Lastly, please consider supporting these projects by starring them. ⭐️


PS: We are not affiliated with them. We just think that great projects deserve great recognition.


Boom

See you next week,

Your Hackernoon buddy 💚

Bap



If you want to join the self-proclaimed "coolest" server in open source 😝, you should join our discord server. We are here to help you on your journey in open source. 🫶