dformoso /
sklearn-classification
Data Science Notebook on a Classification Task, using sklearn and Tensorflow.
Loading repository data…
OtoYuki / repository
A machine learning project for fake news detection using the LIAR dataset. This repository includes Jupyter notebooks for data preprocessing, exploratory data analysis, training, and evaluation of classification models like Logistic Regression, SVM, and Random Forest.
This project focuses on detecting fake news using the LIAR dataset. It includes data preprocessing, exploratory data analysis (EDA), feature extraction, and the implementation and evaluation of several machine learning models.
fake_news_final.ipynb: The main Jupyter Notebook containing the complete workflow from data loading to model evaluation and visualization.fake_news.ipynb: An earlier version or alternative approach to the fake news detection task.combine_dataset.ipynb: A utility notebook to combine the different parts of the LIAR dataset (train, test, valid) into a single CSV file.liar_dataset/: This directory contains the LIAR dataset files.
liars_dataset.csv: The combined dataset created by combine_dataset.ipynb.README: The original README for the LIAR dataset.test.tsv, train.tsv, valid.tsv: The original dataset files.*.joblib: Saved machine learning models and the label encoder.model_metrics.json: Stores the performance metrics of the trained models.visualization_data.json: Data used for generating visualizations of model performance and analysis.requirements.txt: A list of Python dependencies required to run the project..gitignore: Specifies intentionally untracked files that Git should ignore.The primary objective of this project is to develop a robust system for classifying news statements into six categories of truthfulness based on the LIAR dataset. This involves:
The project utilizes the LIAR dataset, which contains over 12,000 manually labeled short statements. The labels are:
For more details on the dataset, refer to liar_dataset/README.
Clone the repository:
git clone https://github.com/OtoYuki/fake-news-detection-liar.git
cd fake-news-detection-liar
Set up a Python virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Install the required dependencies:
pip install -r requirements.txt
Run the Jupyter Notebooks:
Start Jupyter Lab or Jupyter Notebook:
jupyter lab
# or
jupyter notebook
Open and run the cells in combine_dataset.ipynb first to generate liars_dataset.csv.
Then, open and run the cells in fake_news_final.ipynb to see the main analysis and model training.
The following models were implemented and evaluated:
Performance metrics (accuracy, precision, recall, F1-score, training time) for each model are stored in model_metrics.json and visualized in the fake_news_final.ipynb notebook. The Random Forest model generally performed the best.
Selected from shared topics, language and repository description—not editorial ratings.
dformoso /
Data Science Notebook on a Classification Task, using sklearn and Tensorflow.
AlexIoannides /
Python Machine Learning (ML) project that demonstrates the archetypal ML workflow within a Jupyter notebook, with automated model deployment as a RESTful service on Kubernetes.
dr-mushtaq /
A complete A-Z guide to Machine Learning and Data Science using Python. Includes implementation of ML algorithms, statistical methods, and feature selection techniques in Jupyter Notebooks. Follow Coursesteach for tutorials and updates.
Apaulgithub /
This project showcases iris flower classification using machine learning. It's a beginner-friendly example of data science and classification techniques. Explore the code, Jupyter Notebook, and enhance your data science skills.
yrtnsari /
The project is a simple sentiment analysis using NLP. The project in written in python with Jupyter notebook. It shows how to do text preprocessing (removing of bad words, stop words, lemmatization, tokenization). It further shows how to save a trained model, and use the model in a real life suitation. The machine learning model used here is k-Nearest Neighbor which is used to build the model. Various performance evaluation techniques are used, and they include confusion matrix, and Scikit-learn libraries classification report which give the accuracy, precision, recall and f1- score preformance of the model. The target values been classified are positive and negative review.
SiddheshBangar /
The "Learn-Machine-Learning" repository on GitHub is a collection of resources and code examples aimed at helping beginners learn the basics of machine learning. The repository includes various Jupyter notebooks and Python scripts that cover topics such as data preprocessing, regression, classification and clustering.