Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def procesar_csv(archivo):
|
|
| 22 |
blind_poly_features = PolynomialFeatures(degree = 3, include_bias=False).set_output(transform="pandas")
|
| 23 |
X_blind_poly = blind_poly_features.fit_transform(X_blind)
|
| 24 |
|
| 25 |
-
y_pred = modelo_cargado.predict( sm.add_constant(X_blind_poly) ).to_frame()
|
| 26 |
|
| 27 |
|
| 28 |
# Procesamiento (ejemplo: primeras 5 filas)
|
|
|
|
| 22 |
blind_poly_features = PolynomialFeatures(degree = 3, include_bias=False).set_output(transform="pandas")
|
| 23 |
X_blind_poly = blind_poly_features.fit_transform(X_blind)
|
| 24 |
|
| 25 |
+
y_pred = modelo_cargado.predict( sm.add_constant(X_blind_poly) ).to_frame(name="target")
|
| 26 |
|
| 27 |
|
| 28 |
# Procesamiento (ejemplo: primeras 5 filas)
|