# Income catogery propertion in test set genereted with stratified

I did not understand.

Income catogery propertion in test set genereted with stratified

strat_test_set[“income_cat”].value_counts()/len(strat_test_set)

What does it mean?

I did not understand the program.
Please tell me the steps.

Please reply.

Hi, please go through the below lecture video where stratified splitting of data has been explained in detail. Also, please comment below the respective topic.