Git Product home page Git Product logo

vshero's Introduction

VsHero: Vector Search From Zero to Hero

中文 | English

title

Welcome to VsHero, a comprehensive vector search tutorial repository that covers various algorithms and techniques used for similarity search. Our primary goal is to provide clear explanations of popular algorithms, such as LSH (Locality Sensitive Hashing), HNSW (Hierarchical Navigable Small World), KNN (K-Nearest Neighbors), and PQIVF (Product Quantization with Inverted File Index). The tutorials are available in both Chinese and English languages to cater to a diverse audience. Each tutorial comes with detailed illustrations to help users understand the concepts and implementations better. The tutorials are provided as Jupyter Notebook (ipynb) files, which allow users to interactively execute code and visualize results.

Repository Contents

  • ann/lsh.ipynb: Locality Sensitive Hashing tutorial and illustrations.
  • ann/hnsw.ipynb: Hierarchical Navigable Small World tutorial and illustrations.
  • ann/pqivf.ipynb: Product Quantization with Inverted File Index tutorial and illustrations.
  • knn/knn.ipynb: K-Nearest Neighbors tutorial and illustrations.
  • README.md: This README file.

How to Use

  1. Clone the VsHero repository to your local machine.
  2. Open the desired tutorial using Jupyter Notebook, VS Code, or any IDE you prefer.
  3. Follow the instructions in the tutorial to understand the algorithm, implement it, and pass the tests (we suggest starting with KNN).
  4. Feel free to modify the code to test different datasets, parameters, or experiment with your own ideas.

Prerequisites

To run the tutorials, you need to have the following installed on your machine:

  • Python 3.x
  • Jupyter Notebook or Jupyter Lab
  • NumPy
  • SciPy
  • scikit-learn

Contributing

We welcome contributions to VsHero! If you have any suggestions, improvements, or bug fixes, feel free to submit a pull request or create an issue.

If you encounter any problems while reading the tutorial, please feel free to start a discussion in the GitHub Discussions section.

vshero's People

Contributors

tang-hi avatar

Stargazers

R!CH_DATA avatar Jin Lianyuan avatar Xwg avatar Tae Hong Xi avatar  avatar luobuda avatar 张炎泼 avatar Sen Na avatar

Watchers

 avatar

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.