This project is part of an internship task series involving:
- Exploratory Data Analysis (EDA) on the Titanic dataset.
- Model creation to predict survival using logistic regression.
- A basic rule-based chatbot to answer predefined financial queries.
Performed exploratory analysis using pandas, matplotlib, and seaborn to uncover survival patterns.
Built and evaluated a logistic regression model to predict passenger survival based on selected features.
Saved the trained model (titanic_logistic_model.pkl) using joblib for later use.
Created a simple Python chatbot that can answer predefined financial questions like:
- "What is the total revenue?"
- "How has net income changed over the last year?"
- "What is the profit margin?"
This was implemented as a basic script to simulate interaction and demonstrate logic handling with conditional statements.
titanic_task2.ipynb: Notebook containing all tasks including the chatbot implementation.titanic.csv: Titanic dataset.titanic_logistic_model.pkl: Saved model from Task 2.README.md: This file.
- Exploratory data analysis using pandas and matplotlib.
- Model creation and evaluation using scikit-learn.
- Basics of saving models and creating simple chatbots with Python.
-
Objective: Implement classification models using Decision Trees and Random Forests.
-
Dataset: Heart Disease Dataset (or Titanic dataset)
-
Steps:
- Loaded and preprocessed the dataset.
- Trained a Decision Tree and visualized it.
- Controlled overfitting using max depth and pruning.
- Trained a Random Forest classifier.
- Compared performance using confusion matrix.
- Evaluated with cross-validation.
- Displayed feature importances.
-
Results:
- Accuracy: XX% (based on your model)
- Confusion Matrix used for visual evaluation
A simple game developed using Python and Pygame, showcasing fundamental game development concepts.
- Basic game loop implementation
- Player controls and interactions
- Collision detection
- Score tracking
-
Clone the repository:
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-name