Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
# ML_Election_Analysis
Comprehensive Machine Learning Analysis: Predicting party affiliations of voters in elections using logistic regression, KNN, Naïve Bayes, and ensemble methods. Additionally, an exploration of presidential inaugural speeches to derive insights on word usage, stopwords, and frequent terms

# Comprehensive Machine Learning Analysis and Text Exploration

## Project Overview
This project encompasses two distinct problem-solving scenarios. The first involves predicting voter party affiliations in elections using various machine learning techniques. The second delves into exploring and deriving insights from presidential inaugural speeches using Python. The results are encapsulated in both Python scripts and a business report presented in PDF format.

## Repository Contents
- `ML_Election_Analysis/`: Folder containing the Python scripts for the election analysis.
- `Inaugural_Speech_Exploration/`: Folder containing the Python scripts for the text exploration.
- `business_report.pdf`: PDF presentation consolidating findings from both analyses.

## Problem 1: Election Analysis
### Data Ingestion, Descriptive Stats, and EDA
- Python script: `ML_Election_Analysis/data_ingestion_eda.py`

### Data Preparation and Modeling
- Python script: `ML_Election_Analysis/data_preparation_modeling.py`

### Problem 2: Inaugural Speech Exploration
### Text Analysis
- Python script: `Inaugural_Speech_Exploration/text_analysis.py`

### Word Cloud Plotting
- Python script: `Inaugural_Speech_Exploration/word_cloud_plotting.py`

## How to Use
- Clone this repository to your local environment.
- Explore the `ML_Election_Analysis/` directory for the election analysis scripts.
- Examine the `Inaugural_Speech_Exploration/` directory for the text exploration scripts.
- Refer to the `business_report.pdf` for a concise presentation of findings and insights.

## Acknowledgments
- The project integrates machine learning techniques to predict voter party affiliations.
- Text exploration is conducted on inaugural speeches of U.S. presidents.
- The business report offers a comprehensive overview of both analyses.

## Contact Information
For inquiries or feedback, feel free to reach out to me at [email protected]