Skip to main content

A simple machine-learning framework for detecting fake news using preprocessing, feature extraction, and multiple ML models.

Project description

Fake News Framework

A simple, modular, and reusable machine-learning framework for detecting fake news using preprocessing, feature extraction, and multiple ML models.
Developed by BaByLabs.


Features

  • Clean and modular data preprocessing pipeline
  • TF-IDF feature extraction for text classification
  • Multiple ML models (Logistic Regression, Random Forest, etc.)
  • Easy-to-use predict.py script for running predictions on new text
  • Well-structured and extendable package layout
  • Ready for publishing as a Python library (PyPI-compatible)

Installation (once published to PyPI)

pip install fakenews-framework

Credit to these for our OOP-Final Project:

Fake News Detection By: Sameer Patel Source: https://www.kaggle.com/code/therealsampat/fake-news-detection

Fake News Classification By: Ahmed Hafez Source: https://www.kaggle.com/code/ahmedtronic/fake-news-classification


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fakenews_framework-0.1.2.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fakenews_framework-0.1.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file fakenews_framework-0.1.2.tar.gz.

File metadata

  • Download URL: fakenews_framework-0.1.2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for fakenews_framework-0.1.2.tar.gz
Algorithm Hash digest
SHA256 be268bda12226ed1fe277e421bc2d2a813ac3fd2fe443c8e7f64d69ae3b8497a
MD5 986dd44169c534c8f2bb4badfea3c34d
BLAKE2b-256 9529dc7a1cb45ee3cdc16df4fe5cf1203ea784c55c4db9a2644634904ad26ab6

See more details on using hashes here.

File details

Details for the file fakenews_framework-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fakenews_framework-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 608a4a78e7aa3baa1b1dcba5e142695d9b7461951b790667294124d3280d1064
MD5 a1db3e22f5faf2dd4e4ac14838ca3bca
BLAKE2b-256 d1040ecbd83a052425fef9cc1641ee57e0e2cb33e471dac8acc8b3ee847b390d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page