This project leverages machine learning to detect fake reviews, providing a reliable tool for identifying genuine and fraudulent reviews. The Fake Review Detector analyzes various features of reviews, such as text sentiment, review length, helpful votes ratio, and more, to classify reviews as either "FAKE" or "GENUINE."
The Fake Review Detector project aims to enhance the credibility of online reviews by distinguishing between genuine and fake reviews. By preprocessing the review text and using a trained classifier, the project provides an effective solution to identify fraudulent reviews.
- Data preprocessing and cleaning
- Feature extraction (review length, word count, sentiment analysis, etc.)
- Model training and evaluation
- Fake review detection
Clone the repository and install the necessary dependencies:
git clone https://github.com/the-developer-306/Fake-Review-Detector.git
cd Fake-Review-Detector
pip install -r requirements.txt
- Run the Application:
-
Use the following command to start the Flask app:
python app.py
The project employs several machine learning techniques to classify reviews. The models explored include:
- Logistic Regression: A statistical method to predict the probability of a binary outcome.
- Vectorization Pipeline: Transforming text data into numerical format using TF-IDF.
- Sentiment Analysis: Using VADER sentiment analysis to extract sentiment scores.
Performance is evaluated using metrics such as accuracy, precision, and recall.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License.
For any questions or suggestions, feel free to reach out:
- GitHub: the-developer-306
- Email: whilealivecode127.0.0.1@gmail.com