
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
This repository hosts an easy-to-use, ready-made Sentiment Analysis pipeline designed to get you started quickly with classifying text data. Everything you need, from data preprocessing to model training and prediction, is set up and configured.
Follow these steps to get your sentiment analysis pipeline up and running:
git clone https://github.com/AlabhyaMe/Sentimental-Analysis-.git
cd Sentimental-Analysis-
conda create -n sentiment_env python=3.9
conda activate sentiment_env
pip install -r requirements.txt
This project is setup in the follwing pipeline
├── Training Data/
│ └── train.csv # Your training file
├── New Data/
│ └── new_texts.csv # Your new prediction file
├── MLAlgo/
│ ├── logistic_regression_model.py
│ ├── random_forest_model.py
│ └── xgboost_model.py
├── Vect/
│ ├── bag_of_words_vectorizer.py
│ ├── tfidf_vectorizer.py
│ └── word_embedding_vectorizer.py
├── preprocessing.py # Text cleaning functions
├── sentiment_analysis_main.ipynb # Full training + prediction notebook
├── sentiment_prediction.ipynb # Quick prediction-only notebook
├── requirements.txt
└── README.md
Place your training CSV file in the Training Data/
folder.
Response
– for the raw input text.Sentiment
– for sentiment labels (e.g., "Positive"
, "Negative"
, "Neutral"
).Place your new prediction CSV file in the New Data/
folder.
RawTextColumn
(or another name you configure in the notebook).This project uses publicly available training data from:
Madhav Kumar Choudhary. Sentiment Prediction on Movie Reviews. Kaggle.
https://www.kaggle.com/datasets/madhavkumarchoudhary/sentiment-prediction-on-movie-reviews
Accessed on: 2025- 07-15
If you use this dataset in your own work, please cite the original creator as per Kaggle's Terms of Use.
FAQs
Sentiment Analysis pipeline
We found that quick-sentiments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.