saifhmb
commited on
comment out X = X.astype( )
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ y = dataset.iloc[:, -1].values
|
|
28 |
# Encoding the Independent Variables
|
29 |
ct = ColumnTransformer(transformers = [('encoder', OneHotEncoder(sparse_output=False), [2, 3, 6, 7])], remainder = 'passthrough')
|
30 |
X = np.array(ct.fit_transform(X))
|
31 |
-
X= X.astype('int')
|
32 |
|
33 |
# Encoding the Dependent Variable
|
34 |
le = LabelEncoder()
|
|
|
28 |
# Encoding the Independent Variables
|
29 |
ct = ColumnTransformer(transformers = [('encoder', OneHotEncoder(sparse_output=False), [2, 3, 6, 7])], remainder = 'passthrough')
|
30 |
X = np.array(ct.fit_transform(X))
|
31 |
+
#X= X.astype('int')
|
32 |
|
33 |
# Encoding the Dependent Variable
|
34 |
le = LabelEncoder()
|