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

too many indices for array error when calling predict method #635

Open
ghost opened this issue Jul 11, 2023 · 1 comment
Open

too many indices for array error when calling predict method #635

ghost opened this issue Jul 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jul 11, 2023

Hi Team,

when running predict method on CausalTreeRegressor object, I am getting 'too many indices for array' error

e.g. tree.predict(features) where features is a 2 dimensional array with shape (494767, 11)

expected this line of code to return predicted score on features. this snippet was running with no error yesterday.

Screenshot 2023-07-11 at 2 23 56 pm

Many thanks!

@ghost ghost added the bug Something isn't working label Jul 11, 2023
@vincewu51 vincewu51 self-assigned this Aug 19, 2023
@vincewu51
Copy link
Collaborator

Hi @annabisset, thanks for reporting the bug. Please provide more details in reproducing your issue. For example, how did call CausalTreeRegressor? You can also try to follow the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant