Type Error - Tree Regressor Learn_one function issue #1114
debanshu08
started this conversation in
General
Replies: 1 comment 1 reply
-
I'm guessing we can call this resolved too? :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to have a regression model using HoeffdingAdaptiveTreeRegressor(). My target column is an integer prediction
and my input features are a mixture of string and int values
x = {'A': 'AZ', 'INV': '24000834793', 'Days': 21, 'Type': 'DRY', 'Size': 20, 'Utility': 'Plastic', 'SPOT': 'N'}
y = 1
Getting TypeError: can't multiply sequence by non-int of type 'float'
on running
for x, y in stream.iter_pandas(pdDf, target):
print(x)
print(y)
y_pred = model.predict_one(x)
Basically predict_one is throwing this TypeError error, can someone help with this?
Beta Was this translation helpful? Give feedback.
All reactions