AttributeError: ‘numpy.ndarray’ object has no attribute ‘predict’
Untitled4.ipynb
(117.2 KB)
how to solve this?
AttributeError: ‘numpy.ndarray’ object has no attribute ‘predict’
Untitled4.ipynb
@Fazal_Noor house_model function should return the model after training after that you will predict using “model.predict” and another thing house_model() function doesn’t require any parameter, so I will suggest you read the assignment and notebook carefully and try.
And feel free to ask any questions
Best Regard,
Rakib Hossain Rifat
Hello,
Did your query get solved?
Thank you