Skip to main content

Table 2 Example of conversion from categorical to binary for a given passenger

From: Airline new customer tier level forecasting for real-time resource allocation of a miles program

Feature label Example value
City_1 (Amsterdam) 0
City_2 (Barcelona) 1
City_323 (Zagreb) 1
Class_code_1 (“A”) 0
Class_code_2 (“B”) 1
Class_code_3 1
Class_code_45 (“Z”) 0