Skip to content

Commit

Permalink
Update train_temperature.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gaiborjosue authored Feb 24, 2022
1 parent 22f2fec commit 8eea383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Predicciones_Finales/train_temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import joblib

df = pd.read_csv(
"Predicciones_Finales\\Data\\th_station_3rd_data.csv", delimiter=",")
"Predicciones_Finales\\Data\\th_station_4th_data.csv", delimiter=",")

x = df[["field2"]]
y = df[["field1"]]
Expand All @@ -16,7 +16,7 @@
reg_2 = linear_model.LinearRegression()
reg_2.fit(X_train, y_train)

joblib.dump(reg_2, 'Predicciones_Finales\\Models\\3rd_release\\temp_predictor.joblib')
joblib.dump(reg_2, 'Predicciones_Finales\\Models\\4th_release\\temp_predictor.joblib')

# predict_hum = reg.predict(X_test)
# print(predict_hum)
Expand Down

0 comments on commit 8eea383

Please sign in to comment.