Skip to content

mgautam07/phishing-website-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phishing Website Classifier

Overview

An machine learning model that classifies a website as phising website or not by using various classification algorithm and comparing their results.

Dataset

Libraries Used

Following libraries are used in this whole project

  • numpy
  • pandas
  • seaborn
  • sciket-learn
  • matplotlib
  • Pickle

Workflow

  • Pandas is used to load the dataset.
  • Separation of features from target variable.
  • Seborn is used to display the heatmap of features.
  • Division of the dataset into 80-20 for training and testing.
  • Then KNN algorithm is applied by using hyperparameter tuning for best results.
  • For hyperparameter tuning GridSearchCV is used.
  • Then accuracy and confusion matrix is calculated.
  • Similarly Naive Bayes, Support vector machine(SVM), decsion tree and Random forest is applied.
  • Then pickle dump is used to store the accuracy to the file.

Result

Following are the result of hyperparameter tuning and algoritms applied.

  • K Nearest Neighbour

  • Naive bayes

  • Support Vector Machine

  • Decision Tree

  • Random Forest

Command

jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace notebooks/*.ipynb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published