Bank Churn Modeling

Code language Libraries for operations Libraries for plotting Libraries for modeling Python Pandas, NumPy, datetime Matplotlib (Pyplot) scikit-learn Code language Python Libraries for operations Pandas, NumPy, datetime Libraries for plotting Matplotlib (Pyplot) Libraries for modeling scikit-learn In this project I explore customer churn for an European bank with the goal to build a model able […]

USA Lightning Strikes

Code language Libraries for operations Libraries for plotting Python Pandas, NumPy, datetime Matplotlib (Pyplot), seaborn, Plotly Code language Python Libraries for operations Pandas, NumPy, datetime Libraries for plotting Matplotlib (Pyplot), seaborn, Plotly In this project I dive into the occurrence of lightning strikes in the United States. The analysis is divided into 4 parts based […]

F1 Score by Precision and Recall

F1 score, Precision and Recall Importing relevant libraries and packages import warnings warnings.filterwarnings(‘ignore’) import numpy as np import matplotlib.pyplot as plt Defining a function to calculate F1 score based on precision and recall values def f1_score(precision, recall): score = 2*precision*recall / (precision + recall) score = np.nan_to_num(score) return score Plotting F1 score for different values […]