summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-11-27 17:12:37 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-11-27 17:12:37 +0530
commit02875a1d560cf483e9362db32aae81b50665e5ec (patch)
treed288a4c6918b64bd0ad3721d8756872131ce715b
parent9f56376d64bf3307b18cd67d0fe8aaf5a6860f11 (diff)
downloadautopredict-02875a1d560cf483e9362db32aae81b50665e5ec.tar.gz
autopredict-02875a1d560cf483e9362db32aae81b50665e5ec.tar.bz2
autopredict-02875a1d560cf483e9362db32aae81b50665e5ec.zip
Some minor changes
-rw-r--r--main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.py b/main.py
index d01d421..6fbb0c2 100644
--- a/main.py
+++ b/main.py
@@ -88,7 +88,7 @@ def train_model(df):
# Save the model
joblib.dump(best_model, 'model.pkl')
- print("Model saved as 'best_mileage_predictor.pkl'")
+ print("Model saved as 'model.pkl'")
# Main Function
def main():
@@ -98,8 +98,10 @@ def main():
df = preprocess_data(df)
print("Data preprocessing complete.")
+ print("Model is training...")
train_model(df)
+ print("Model is trained.")
if __name__ == "__main__":
main()