Open KentonParton opened 2 years ago
@lowecg @madelonhulsebos would you mind providing some guidance, please?
Hi Kenton,
Sorry for the delay - I missed your original post. I'll have a look at this in the morning.
To get a lay of the land:
It sounds like you've initialised the project and just run 02-1-train-and-test-sherlock.ipynb
? Was that all you ran?
Could you confirm what version of Python you're running?
Cheers,
Chris.
Hi @KentonParton,
Apologies for my late response but I plan to take a look at this tomorrow.
@lowecg, I believe I’ve encountered this issue before, but will let you know if the issue is unknown to me..
Best, Madelon
Hi @KentonParton,
I ran your code and it works for me once I use the test data file that was created by running the notebook 01-data-processing.ipynb
(this file is named test.parquet
). Did you generate X_test.parquet
with that as well? What does it contain? Its head should be as follows:
If you just want to test the model with some custom input, I recommend using the notebook: 00-use-sherlock-out-of-the-box.ipynb
.
Hi @KentonParton, did you solve the issue?
Hello!
I am trying to use the pre-built 'sherlock' model to make predictions. As suggested in the readme, I have run some of the cells in the 02-1-train-and-test-sherlock.ipynb file but get a KeyError when
model.predict(X_test)
is run.Code to Reproduce:
When
model.predict(X_test)
is run the following KeyError occurs:Is there something that I am missing or need to do prior to running the above code?
Appreciate the help!