Giter Site home page Giter Site logo

capstone_4_coppermodeling's Introduction

CapstoneProject_IndustrialCopperModeling

Project Overview

This project involves understanding and preprocessing data,EDA and developing machine learning models to address challenges in the copper industry related to sales, pricing, and lead capturing. Specifically, the project focuses on building a regression model to predict the selling price and a classification model to predict the status (WON/LOST) of leads. Additionally, an interactive Streamlit web application will be created to facilitate real-time predictions using these models.

Domain: 🏭Manufacturing

🛠 Technologies Used

  • Python
  • Numpy
  • Pandas
  • Scikit-learn
  • Matplotlib
  • Seaborn
  • Pickle
  • Streamlit

📘 Approach

Data Understanding:

Load and understand the copper data through CSV files. Check the data for consistency and completeness.

Data Preprocessing:

Loaded the copper CSV into a DataFrame. Cleaned and filled missing values, addressed outliers,and adjusted data types. Analyzed data distribution and treated skewness.

Exploratory Data Analysis(EDA):

Understanding and visualizing the data using EDA techniques such as boxplots, histograms, and scatter plots.

Feature Engineering:

Drop highly correlated columns using a heatmap from Seaborn.

Model Evaluation through Regression and Classification Model:

Split the dataset into training and testing sets. Train and evaluate regression models for 'Selling_Price'. Train and evaluate classification models for 'Status'(WON/LOST). Pickled the trained models for deployment.

Streamlit:

The user interface and visualization are created using the Streamlit framework.

💻 Import Packages and Libraries

import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from streamlit_option_menu import option_menu
import pickle
import streamlit as st

pip install scikit-learn 
pip install xgboost 
pip install streamlit 
pip install pickle
pip install scipy
pip install imblearn

capstone_4_coppermodeling's People

Contributors

swethac01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.