| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains machine learning projects in the Python programming language.

--> Visit the official website of pycharm:
--> Download according to the platform that will be used like Linux, Macos or Windows.
--> Follow the setup wizard and sign up for the free version (trial version) or else continue with the premium or paid version.
--> First, in pycharm we have the concept of virtual environment. In virtual environment we can install all the required libraries or frameworks.
--> Each project has its own virtual environment, so thath we can install requirements like Libraries or Framworks for that project only.
--> After this we can create a new file, various file types are available in pycharm like script files, text files and also Jupyter Notebooks.
--> After selecting the required file type, we can continue the execution of that file by saving it and using this shortcut shift+F10 (In Windows).
--> Output is given in Console while installation happens in terminal in Pycharm.
--> Flask is a micro web framework written in Python.
--> It is classified as a microframework because it does not require particular tools or libraries.
--> Flask supports extensions that can add application features as if they were implemented in Flask itself.
--> To install flask in your system, just run this command-
pip install flask
Make Sure all depencies are already satisfied before running the app.
python machine_learning_model.py
This would create a serialized version of our model into a file model.pkl
python app.py
By default, flask will run on port 5000.
You should be able to view the homepage as below :
If everything goes well, Predicted Value will be shown on the HTML page!
🌟 Project and Models will change but this process will remain the same for all flask projects.
Complete Description about the project and resources used.
Each project has four major parts :
--> First ML model is constructed using linear regression for the dataset.
--> Then this model is saved using pickle in disk with the extention .pkl(Pickle File).
--> The Homepage is designed for flask app.
--> After this the flask app code is written.
--> Finally we can run this app in the flask Server.
--> Dataset is taken from:
--> Contains Salary data for Regression.
--> The dataset has 2 columns-Years of Experience and Salary and 30 entries.
--> Column Years of Experience is used to find regression for Salary.
--> Dataset is already cleaned,no preprocessing required.
--> First ML model is constructed using Naive Bayes Classifier for the dataset.
--> Then this model is saved using pickle in disk with the extention .pkl(Pickle File).
--> The Homepage is designed for flask app.
--> After this the flask app code is written.
--> Finally we can run this app in the flask Server.
--> Dataset is taken from:
--> Contains diabetes data for classification.
--> The dataset has 3 columns-glucose, blood pressure and diabetes and 995 entries.
--> Column glucose and blood pressure data is to classify whether the patient has diabetes or not.
--> Dataset is already cleaned,no preprocessing required.
--> First ML model is constructed using Naive Bayes Classifier for the dataset.
--> Then this model is saved using joblib in disk with the extention .pkl(Pickle File).
--> The Homepage is designed for flask app.
--> After this the flask app code is written.
--> Finally we can run this app in the flask Server.
--> Dataset is taken from:
--> Contains information about cars with respect to features like Attribute Values:
| 1. buying v-high, high, med, low | 2.maint v-high, high, med, low | 3.doors 2, 3, 4, 5-more | 4. persons 2, 4, more | 5. lug_boot small, med, big | 6.safety low, med, high |
| 1. unacc 1210 (70.023 %) | 2. acc 384 (22.222 %) | 3. good 69 ( 3.993 %) | 4. v-good 65 ( 3.762 %) |
Short Description about all libraries used in Project.
To install python library this command is used-pip install library_name
To see more of my machine learning models, visit my repository: https://github.com/madhurimarawat/Machine-Learning-Using-Python
| Back | FazBrowse Home | New Git URL |