End-to-End ML Project - California Housing

1 / 17

Solution







Please login to comment

2 Comments

if you already knows about python and jupyter you can start this video from the 20th minute. hope it helps!!

 1  Upvote    Share

housing["income_cat"] = pd.cut(housing["median_income"],
                               bins=[0., 1.5, 3.0, 4.5, 6., np.inf],
                               labels=[1, 2, 3, 4, 5])

 

Hi, 

bins means we are dividing the data in that perticular pack but in this question multiple value of bins I am not getting please explain it somebody.

 

Thanks

  Upvote    Share