Skip to content

Fix the mismatch bug of SallyBasedEmbedder.py and use pairwise_distance ... - #10

Open
yangke wants to merge 1 commit into
octopus-platform:masterfrom
yangke:master
Open

Fix the mismatch bug of SallyBasedEmbedder.py and use pairwise_distance ...#10
yangke wants to merge 1 commit into
octopus-platform:masterfrom
yangke:master

Conversation

@yangke

@yangke yangke commented Apr 14, 2015

Copy link
Copy Markdown
Contributor

...to fix the bug caused by negative small distance like '-1.000123e-16' caused by system error in matrix computation that may kick out the query function whose distance is 0.0 in KNN result.
and add a class property KNN.emb to accelerate frequent ’load embedding‘ process. For example, when serving for chucky-ng.

…ce to fix the bug caused by negative small distance like '-1.000123e-16' caused by system error in matrix computation that may kick out the query function whose distance is 0.0 in KNN result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant