Response coding is a technique to vectorize categorical data. Let us say, we have a categorical feature named 'grade_category' which has the following unique labels - ['grades_3_5', 'grades_prek_2', 'grades_9_12', 'grades_6_8']. Assume that we are working on a classification problem with target class-labels as 0 and 1
In response-coding, you have to output probability values for each label in our feature that the label occurs with a particular class-label E.g, grades_prek_2 = [probability it occurs with class_0, probability it occurs with class 1]
