Closed jyayoub closed 4 years ago
Thanks for the github issue. Can you post the full error and what line it occurred in? Also what command did you run, could have been a particular parameter that was set incorrectly. This seems like it should be a relatively easy fix.
Thank you so much for replying that quickly!! I was confused on what to change in the interactiontransformer function, if is possible to provide some hints on the general form of the function. This is the code: from xgboost import XGBRegressor transformer=InteractionTransformer(untrained_model=XGBRegressor(random_state=42)) transformer.fit(X_train,y_train)
This is the error:
ValueError Traceback (most recent call last)
Ah okay. So I would add a keyword argument, and change cv_scoring to “r2” or “mae”, right now it’s trying to use the auc score to evaluate your model
Regression targets have been a new addition, we’ll have to update our documentation to reflect this. Definitely let me know if you run into any issues!
ValueError Traceback (most recent call last)
Ok, try it now @jyayoub , you can install the updated version from source, let me know if it fails anywhere and I will debug:
pip install git+https://github.com/jlevy44/InteractionTransformer.git
ValueError Traceback (most recent call last)
Ok, I will work out the bug. Thanks for bringing this up, much appreciated!
If you can, can you show me a few more lines of the error? Thanks!
ValueError Traceback (most recent call last)
Ok, @jyayoub , try now!
Thanks! It is working now.
Great, glad to hear that it is working. We will push an update soon to add it as a standard part of our software distribution.
Hello, I am trying to use your transformer for XGBoostRegressor but I keep on receiving the following error : Supported target types are: ('binary', 'multiclass'). Got 'continuous' instead.
Do you have any suggestions on how to solve this problem?