-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial ML Model for TANNER #437
Open
hinnazeejah
wants to merge
39
commits into
mushorg:main
Choose a base branch
from
hinnazeejah:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The test_data.csv file contains the dataset used to evaluate the performance of the machine learning model. It includes a variety of URLs and payloads, pre-processed using TF-IDF (Term Frequency-Inverse Document Frequency) to extract relevant features. The model uses this data to predict the type of web attacks, such as SQL Injection, Cross-Site Scripting (XSS), and Local/Remote File Inclusion (LFI/RFI), and compare its predictions against the actual labels to assess accuracy and other performance metrics.
The train_data.csv file contains the dataset used to train the machine learning model. It includes a variety of URLs and payloads, pre-processed using TF-IDF (Term Frequency-Inverse Document Frequency) to extract relevant features. This data teaches the model to recognize and categorize different types of web attacks, such as SQL Injection, Cross-Site Scripting (XSS), and Local/Remote File Inclusion (LFI/RFI). By learning from this data, the model becomes capable of making accurate predictions on new, unseen data.
This Jupyter Notebook outlines the complete machine learning pipeline for detecting web attacks using a Random Forest Classifier. It includes data loading, cleaning (removal of duplicates, handling missing values, and outlier removal), feature engineering (Label Encoding and TF-IDF transformation), model training, and evaluation. The pipeline also provides insights into class distribution, summary statistics, and feature correlations, all aimed at improving the accuracy and effectiveness of web attack detection in TANNER.
Update README.md
Modified notebook to import libraries, unzip dataset
Hello, It seems this project is about creating a ML based classifier for TANNER, I am interested in contributing to this project. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.