This project is a data science application that predicts pharmaceutical prices using machine learning. It utilizes a Random Forest model to provide accurate price predictions based on various features of pharmaceutical products.
app.py: The main application file containing the Flask web applicationIndian_Pharmaceuticals.ipynb: Jupyter notebook containing the data analysis and model development processmodel_features.pkl: Pickle file containing the preprocessed features for the modelrf_model.pkl: Pickle file containing the trained Random Forest modelrequirements.txt: List of Python dependencies required for the project
- Clone the repository:
git clone https://github.com/maitrisavaliya/MediPrice-AI.git- Create a virtual environment (recommended):
python -m venv venv
.\venv\Scripts\activate- Install the required dependencies:
pip install -r requirements.txt- Run the Flask application:
python app.py-
Open your web browser and navigate to the local server address shown in the terminal (typically
http://localhost:5000) -
Enter the required pharmaceutical product details in the form to get price predictions
The project uses a Random Forest model trained on Indian pharmaceutical data. The model takes into account various features of pharmaceutical products to predict their prices accurately.
This project contains large pickle files that are handled using Git Large File Storage (Git LFS). To work with these files:
- Install Git LFS on your system
- Pull the repository with LFS support
For more information about handling large files, see the Git LFS section below.
If you'd like to contribute to this project, please fork the repository and create a pull request with your proposed changes.