hanshupe

Results 21 comments of hanshupe

Where did you get the error? I tried it and it worked.

After fitting your tpot object you just call pipeline_dump = pickle.dumps(tpot.fitted_pipeline_) pipeline = pickle.loads(pipeline_dump) print(pipeline)

How do you call the pipeline when you do predictions and what is the shape and type of your input data. you can do predictions by executing pipeline.predict(data) where data...

you called .predict(y) but you have to call .predict(X).

Like said above, the shape of your input data must match exactly the shape during training. You pass a list, so it's just 1 column with two rows. You need...

np.column_stack([list-variable])

just print the type and shape of your input. There are many threads on stackoverflow how you can convert it into 2D.

Do you have multiple variables at output? If not then it must work. Just check the shapes of your input X and your target y.

Btw. I recommend that you secure your notebook again to not get security issues.