You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to perform NN on a dataset of genomes. For this task, the distance between 2 datapoints is calculated by a custom script? Is there I can incorporate this without having to create the entire NN search algorithm myself and only modify some parts of your code?
The text was updated successfully, but these errors were encountered:
Hello,
There is no function to use the metric that users defined on NGT. However, you can incorporate your metric into NGT like jaccard and poincare and lorentz.
@masajiro Does the library accept strings as datapoints? Because my datapoints are essentially file names that are input to a script to calculate distance.
NGT can handle uint8 objects, but cannot handle variable length objects. However, if the length of your strings is less than around 1000 characters, you might be able to store the strings into NGT as fixed length objects with zero padding. This is similar to your case.
Hello,
I wanted to perform NN on a dataset of genomes. For this task, the distance between 2 datapoints is calculated by a custom script? Is there I can incorporate this without having to create the entire NN search algorithm myself and only modify some parts of your code?
The text was updated successfully, but these errors were encountered: