Skip to content
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

Spam email detection #379

Merged
merged 13 commits into from
Dec 10, 2023
Merged

Conversation

aindree-2005
Copy link
Contributor

Pull Request for DL-Simplified 💡

Issue Title :

Issue #340 Email Spam Detection using DL

  • Info about the related issue (Aim of the project) :
  • Name: Aindree Chatterjee
  • GitHub ID: aindree-2005
  • Email ID: [email protected]
  • Idenitfy yourself: Codepeak Participant)

Closes: #340

Describe the add-ons or changes you've made 📃

Approach for this Project :
LSTM
Long Short-Term Memory (LSTM) is a type of recurrent neural network (RNN) designed for processing and predicting sequences. To detect spam, LSTM can analyze patterns in email or text sequences, identifying suspicious content based on contextual relationships and learning from sequential data to make accurate predictions about the likelihood of spam.
BERT
BERT (Bidirectional Encoder Representations from Transformers) is a pre-trained natural language processing model. To detect spam, fine-tune BERT on labeled spam/ham data. Use the trained model to predict whether new messages are spam based on their language context, achieving more accurate spam detection compared to traditional methods

Type of change ☑️

What sort of change have you made:

Example how to mark a checkbox:-

  • My code follows the code style of this project.
    -->
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested? ⚙️

Describe how it has been tested
Describe how have you verified the changes made
Used Kaggle to run the model.There were no errors

Checklist: ☑️

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Copy link

Our team will soon review your PR. Thanks @aindree-2005 :)

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the project structure maintained by other contributors. You can go through the projects to have an idea on this.
@aindree-2005

@aindree-2005
Copy link
Contributor Author

@abhisheks008 I have made the folders as needed now

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks really good to me. I'd suggest a small change to make the project complete. Please create a folder named as Images and put the EDA generated images into it. Also add the visualization results in the README.md file under the Visualization section.

@aindree-2005

@aindree-2005
Copy link
Contributor Author

Everything looks really good to me. I'd suggest a small change to make the project complete. Please create a folder named as Images and put the EDA generated images into it. Also add the visualization results in the README.md file under the Visualization section.

@aindree-2005

@abhisheks008 Added the EDA images into Images. Added the results to readme

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great one. You PR is approved and upgraded to Hard category.
@aindree-2005

@abhisheks008 abhisheks008 added Status: Approved Approved PR by the PA. Level: HARD Codepeak23 This issue is assigned under CodePeak 2023 event/ and removed Status: Requested Changes Changes requested. labels Dec 10, 2023
@abhisheks008 abhisheks008 merged commit f790386 into abhisheks008:main Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codepeak23 This issue is assigned under CodePeak 2023 event/ Level: HARD Points Updated Status: Approved Approved PR by the PA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Email Spam Detection using ML
2 participants