Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: lshensemble.BootstrapLshEnsemblePlus #1

Open
jaouharach opened this issue Mar 7, 2021 · 0 comments
Open

undefined: lshensemble.BootstrapLshEnsemblePlus #1

jaouharach opened this issue Mar 7, 2021 · 0 comments

Comments

@jaouharach
Copy link

jaouharach commented Mar 7, 2021

Hello!
I'm currently try to run the experiment to reproduce josie results, I followed the steps mentioned in README.md file and downloaded all related github projects.

when I try to run:
make sample_cost_canada_us_uk
I get the following error:

go install ./...
# github.com/ekzhu/josie
./lshensemble.go:72:14: undefined: lshensemble.BootstrapLshEnsemblePlus
make: *** [build] Error 2

Apparently there has been an update to the lshensemble project, I tried to look for this function but only found 2 other functions holding a similar name BootstrapLshEnsemblePlusOptimal and BootstrapLshEnsemblePlusEquiDepth I'm not sure which one to use ?

Edit:
I tried to use lshensemble v1.0.0 instead and it gives the following errors:

go install ./...
# github.com/ekzhu/josie
./lshensemble.go:57:22: undefined: lshensemble.BytesToSig
./lshensemble.go:61:41: cannot use id (type int64) as type string in field value
./lshensemble.go:94:24: invalid operation: ID == query.ID (mismatched types string and int64)
./lshensemble.go:97:17: invalid type assertion: ID.(int64) (non-interface type string on left)
./lshensemble.go:167:12: invalid type assertion: id.(int64) (non-interface type string on left)
./tokentable.go:154:30: cannot use MinhashSeed (type int64) as type int in argument to lshensemble.NewMinhash
./tokentable.go:222:30: cannot use MinhashSeed (type int64) as type int in argument to lshensemble.NewMinhash
make: *** [build] Error 2
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

No branches or pull requests

1 participant