-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
53 lines (50 loc) · 1.3 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
"""config.py: Holds constants for dd_water_dumps program."""
import numpy as np
import pandas as pd
TEST_SET_VALUES = "./data/test_set_values.csv"
TRAINING_SET_LABELS = "./data/training_set_labels.csv"
TRAINING_SET_VALUES = "./data/training_set_values.csv"
OUTPUT_PREDICTIONS = "./data/output.csv"
LABEL_DTYPE={ 'id' : np.float64, 'status_group' : str }
VALUE_DTYPE={
"id" : np.int32,
"amount_tsh" : np.float64,
"date_recorded" : np.uint32,
"funder" : str,
"gps_height" : np.uint32,
"installer" : str,
"longitude" : np.float64,
"latitude" : np.float64,
"wpt_name" : str,
"num_private" : np.uint32,
"basin" : str,
"subvillage" : str,
"region" : str,
"region_code" : np.uint16,
"district_code" : np.uint16,
"lga" : str,
"ward" : str,
"population" : np.uint32,
"public_meeting" : np.bool,
"recorded_by" : str,
"scheme_management" : str,
"scheme_name" : str,
"permit" : np.bool,
"construction_year" : np.uint16,
"extraction_type" : str,
"extraction_type_group" : str,
"extraction_type_class" : str,
"management" : str,
"management_group" : str,
"payment" : str,
"payment_type" : str,
"water_quality" : str,
"quality_group" : str,
"quantity" : str,
"quantity_group" : str,
"source" : str,
"source_type" : str,
"source_class" : str,
"waterpoint_type" : str,
"waterpoint_type_group" : str
}