Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def cleaning_features(data):
|
|
49 |
# Binarize native country
|
50 |
data['native-country'] = data['native-country'].apply(lambda x: x == 'United-States')
|
51 |
data['native-country'] = data['native-country'].astype(int)
|
52 |
-
data = pca(data)
|
53 |
return data
|
54 |
|
55 |
# def pca(data):
|
|
|
49 |
# Binarize native country
|
50 |
data['native-country'] = data['native-country'].apply(lambda x: x == 'United-States')
|
51 |
data['native-country'] = data['native-country'].astype(int)
|
52 |
+
#data = pca(data)
|
53 |
return data
|
54 |
|
55 |
# def pca(data):
|