Chi square test in machine learning 
*

*

*

*



*Doubt
How can I set chi-square test on city and brand as the column city and brand doesn't have number but string like city name and brand_name
I'm new to statistics so any hint will be helpful...

Chi-Square test works well with categorical data types. The target variable should be categorical, and the feature can be either categorical or numeric. In case of both categorial, you need to form a table with the counts/frequencies of each pair of configuration. This is referred as contingency table as well.
