mstz commited on
Commit
3f9cee9
1 Parent(s): e114ad7

Upload bank.py

Browse files
Files changed (1) hide show
  1. bank.py +2 -2
bank.py CHANGED
@@ -41,7 +41,7 @@ _BASE_FEATURE_NAMES = [
41
  "number_of_calls_in_ad_campaign",
42
  "days_since_last_contact_of_previous_campaign",
43
  "number_of_calls_before_this_campaign",
44
- "successfull_subscription"
45
  ]
46
  _ENCODING_DICS = {
47
  "education_level": {
@@ -98,7 +98,7 @@ features_types_per_config = {
98
  "number_of_calls_in_ad_campaign": datasets.Value("string"),
99
  "days_since_last_contact_of_previous_campaign": datasets.Value("int16"),
100
  "number_of_calls_before_this_campaign": datasets.Value("int16"),
101
- "successfull_subscription": datasets.ClassLabel(num_classes=2, names=("no", "yes")),
102
  }
103
 
104
  }
 
41
  "number_of_calls_in_ad_campaign",
42
  "days_since_last_contact_of_previous_campaign",
43
  "number_of_calls_before_this_campaign",
44
+ "successful_subscription"
45
  ]
46
  _ENCODING_DICS = {
47
  "education_level": {
 
98
  "number_of_calls_in_ad_campaign": datasets.Value("string"),
99
  "days_since_last_contact_of_previous_campaign": datasets.Value("int16"),
100
  "number_of_calls_before_this_campaign": datasets.Value("int16"),
101
+ "successful_subscription": datasets.ClassLabel(num_classes=2, names=("no", "yes")),
102
  }
103
 
104
  }