Argument of scatter

what should be the ‘x’ argument of scatter for data with n features

Hello @ayushi1719,

Unfortunately, if your x has features more than 3, we cannot visualize it in a scatterplot.
Each parameter in a scatterplot takes an array for a dimension. i.e

plt.scatter(x[:,0]), x[:,1]) #when we have an x with 2 features.

Hence, there is no way we can visualize x when n > 3

Happy Learning :slight_smile:
Thanks

But in Air pollution challenge, there are 5 features… then how will it be solved??

You just can’t visualize. But you sure can train your model. :wink: :sweat_smile:
The loss is your guide to whether your model fit your data or not.