diff --git a/credit_card_application.db b/credit_card_application.db index 2b0fa4e..82df857 100644 Binary files a/credit_card_application.db and b/credit_card_application.db differ diff --git a/retrain.py b/retrain.py index b3fd8b2..6c648cc 100644 --- a/retrain.py +++ b/retrain.py @@ -88,7 +88,7 @@ def train_and_evaluate_model(model): avg_cv_scores = cross_val_score(model,X_test,y_test,scoring='accuracy',cv=5,verbose=2) mean_score = round(np.mean(avg_cv_scores),4) * 100 -logger.info("Mean Cross Validation Performance of Extra Trees Classifier: %.2f%",mean_score) +logger.info(f"Mean Cross Validation Performance of Extra Trees Classifier: {round(mean_score,2)}%") pipeline = Pipeline(steps=[ ('transformer',transformer), diff --git a/templates/index.html b/templates/index.html index 6717b7c..0e354fa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -109,7 +109,7 @@
Is applicant's gender male?
-
Is job a source of your employment?
+
Is the applicant's source of income related to a job or work?
@@ -134,7 +134,7 @@
Is your job title laborers?
-
Is your family status married?
+
Is the applicant's family status married?