Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solved issue #128
Data Loading and Basic Information: Loading the dataset and displaying basic information.
Missing Values Check: Checking for missing values in the dataset.
Class Distribution: Checking and visualizing the class distribution to identify any imbalance.
Summary Statistics: Displaying summary statistics of the dataset.
Label Encoding: Encoding categorical features using LabelEncoder.
Feature and Target Definition: Separating features and target variable.
Preprocessing: Defining preprocessing steps for numerical and categorical features.
Pipeline and Model Definition: Creating a pipeline that includes preprocessing and the Gradient Boosting model.
Train-Test Split: Splitting the data into training and testing sets.
Hyperparameter Tuning: Using GridSearchCV to find the best hyperparameters for the model.
Model Evaluation: Evaluating the model on the test set and displaying metrics.
ROC Curve: Plotting the ROC curve to evaluate the model's performance.
Feature Importance: Displaying and plotting the feature importances.
Model Saving: Saving the best model using joblib.
Attaching screenshots of the results