Skip to content

hitthecodelabs/PharmaSalesPredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PharmaSalesPredictor

Overview

The PharmaSalesPredictor is a comprehensive Jupyter notebook designed for analyzing and predicting pharmaceutical sales. Built with PySpark, this notebook employs data processing, feature engineering, and machine learning techniques to forecast sales trends based on historical data.

Features

  • Data Cleaning and Preprocessing
  • Exploratory Data Analysis (EDA) on pharmaceutical sales data
  • Feature Engineering for predictive modeling
  • Implementation of Linear Regression for sales prediction
  • Prediction on both aggregate and individual product levels
  • Exporting prediction results for further analysis

Installation and Usage

To use this notebook, you must have PySpark installed in your environment. The notebook is primarily intended for Google Colab, but it can be adapted for other environments that support PySpark.

Steps for Installation:

  1. Clone the repository:
git clone https://github.com/[YourUsername]/PharmaSalesPredictor.git
  1. Navigate to the cloned directory:
cd PharmaSalesPredictor
  1. Open the PharmaSalesPredictor.ipynb notebook in Jupyter or Google Colab.

Dependencies

  • PySpark
  • Pandas
  • Matplotlib (optional, for extended data visualization)

Data

The dataset used in the notebook should be in CSV format and contain historical sales data of pharmaceutical products. The data preprocessing steps are tailored to handle specific data formats as detailed in the notebook.

Structure

  • Data loading and preprocessing
  • Exploratory analysis
  • Data transformation and feature extraction
  • Model training and evaluation
  • Sales prediction and output generation

Authors

  • Jean Paul, from Hit the Code Labs

Contributing

Contributions to the PharmaSalesPredictor are welcome. Please ensure to update tests as appropriate.

License

MIT

About

Comprehensive Jupyter notebook designed for analyzing and predicting pharmaceutical sales with PySpark

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors