Comments (5)
🎉 This issue has been resolved in version 0.14.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from usearch.
Consider done. I will add it in the next couple of days ;)
from usearch.
@leoplusx I managed to implement those today and they are already available in the latest release. You can use index.labels
property to get all labels, use index[x]
to get one vector under the x
label, and check if it's present with the simple in
operator. More enhancements coming soon!
from usearch.
Actually, it doesn't seem to work. At least in Python:
Label values all seem to be 0.
Even though, when I run a search, it's clear that there actually are non-zero labels in the index.
Code example:
matches, distances, count = iu.search(emb_np, k=10)
matches
> array([36517119, 38332614, 38332473, 38332625, 35783650, 38332484,
36786081, 36927136, 38642553, 37563334])
iu[36517119]
> IndexError: Couldn't find key.
len(iu.labels)
> 3361000
len(set(iu.labels))
> 1
iu.labels[:10]
> array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
from usearch.
Oh, wow. The new tests cover it, so it must have been solved, but not yet released. Will push the new release sooner.
from usearch.
Related Issues (20)
- Bug: UnsatisfiedLinkError Loading Native Library for Java HOT 3
- Feature: Dimensionality Reduction
- Bug: Inconsistencies in Cosine Distance Calculation for Near-Zero Length Vectors HOT 16
- Bug: macos release builds do not contain the library HOT 9
- Feature: Update API for automatic reindexing HOT 3
- Feature: Windows build is not compiled with SimSIMD, f16 support for cosine distance HOT 3
- Bug: Quantization enum not public in Golang SDK HOT 3
- Bug: wasm packages < 400 bytes
- Bug: Not using npm correctly HOT 2
- Bug: Test failure HOT 1
- Bug: Build optimization warning HOT 3
- Bug: Every new bug is marked as invalid! HOT 2
- Feature: allow larger keys HOT 1
- Bug: segfault HOT 1
- Feature: optional ucall for python HOT 3
- Feature: Add TSV
- Bug: C# Loading usearch file exception HOT 6
- Bug: Clustering is really really slow HOT 7
- Feature: Filtering support? HOT 8
- Bug: Index.vectors returns an error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usearch.