API_Fraud_Detection / mappings.json
DavidJyes's picture
upload files
d5b0b0e verified
Raw
History Blame
1.34 kB
{
"categories": {
"entertainment": 0,
"food_dining": 1,
"gas_transport": 2,
"grocery_net": 3,
"grocery_pos": 4,
"health_fitness": 5,
"home": 6,
"kids_pets": 7,
"misc_net": 8,
"misc_pos": 9,
"personal_care": 10,
"shopping_net": 11,
"shopping_pos": 12,
"travel": 13
},
"genders": {
"F": 0,
"M": 1
},
"states": {
"AK": 0,
"AL": 1,
"AR": 2,
"AZ": 3,
"CA": 4,
"CO": 5,
"CT": 6,
"DC": 7,
"FL": 8,
"GA": 9,
"HI": 10,
"IA": 11,
"ID": 12,
"IL": 13,
"IN": 14,
"KS": 15,
"KY": 16,
"LA": 17,
"MA": 18,
"MD": 19,
"ME": 20,
"MI": 21,
"MN": 22,
"MO": 23,
"MS": 24,
"MT": 25,
"NC": 26,
"ND": 27,
"NE": 28,
"NH": 29,
"NJ": 30,
"NM": 31,
"NV": 32,
"NY": 33,
"OH": 34,
"OK": 35,
"OR": 36,
"PA": 37,
"RI": 38,
"SC": 39,
"SD": 40,
"TN": 41,
"TX": 42,
"UT": 43,
"VA": 44,
"VT": 45,
"WA": 46,
"WI": 47,
"WV": 48,
"WY": 49
},
"features": [
"amt",
"hour",
"day_of_week",
"day",
"month",
"age",
"category_encoded",
"gender_encoded",
"state_encoded",
"lat",
"long",
"city_pop",
"distance",
"avg_amt",
"std_amt",
"nb_trans"
]
}