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

Mismatch between number of input features and number of found features #76

Open
brenmous opened this issue Nov 1, 2019 · 1 comment
Labels

Comments

@brenmous
Copy link
Collaborator

brenmous commented Nov 1, 2019

When running the Sirsam Na randomforest test data (under tests/test_data/siram - currently part of bren-testing-and-restructure branch) there is an error when running a prediction.

There are 9 covariate datasets in total. All have one band except for regolith_ternary.tif which has 3 (RGB). When the prediction is run on the model, scikit-learn complains that the model contains 11 features but only 9 have been provided. learn runs fine.

This error goes away if the model is retrained without regolith_ternary.tif, so it appears to be some sort of issue where multiband data is not being read correctly for prediction.

@brenmous brenmous added the bug label Nov 1, 2019
@bluetyson
Copy link
Contributor

I had been wondering about that.,.so generally multiband is supposed to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants