Linear Regression
Project description
Intelligent Prediction
A simple linear regression model that lets you select a Google Sheet
from the drive and calculates all the optimised parameters of the model using Gradient_Descent_Algorithm
and lets you save all the parameters and evaluation metrics of the model to your Google Drive.
-
It not just calculates the optimised parameters of your model but lets you graphically visualise the relationship between various other parameters.
-
It lets you save files to your drive after your proper authentication.
You Come up with a Dataset and walk out with the most optimised parameters of the model...Everything else(Data Preprocessing and Data Modelling) is taken care of.
It's kind of a drag and drop model.
How to install?
pip install dataVisualisation
How to use:
-
import the module
-
call the main function using the module
import dataVisualisation
dataVisualisation.main()
Prerequisties required for the module to run successfully:
Before you call the module make sure you have installed all the following modules
pip install pydrive
pip install gspread
pip install pandas
pip install sklearn
pip install matplotlib
Set-Up:
Before you go ahead with running the module...there are a few steps that needs to be followed:
- Create a new project on google cloud console
- Activate the Google Drive API
- Create Credentials for the google drive API
- Save the downloaded file as
credentials.json
- Share the desired google sheet with the client email in credentials.json file
- Activate the google sheets API
- Create oAuth2 Client credentials and save the file as
client_secrets.json
Usage and functionality:
- This module can be used with any of the non categorical dataset but make sure to have the target variable at the last column of the spreadsheet.
- Make sure
client_secrets.json
andcredentials.json
is inside the same directory as the Python program. - The directory(path) should not contain any subdirectories inside it.
- Make sure to share the google sheet to client_email from the drive.
References:
- Creating a python library
- Hosting the library on PyPI
- working with google sheets
- working with markdown Language
License:
This Package is distributed under the MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for dataVisualisation-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc0cb837356962d978b3824a822da1a64bd187e457a5e246e284bd7e5b6130d |
|
MD5 | 248ab7f62477a26a7c302e158a852237 |
|
BLAKE2b-256 | c5868ad7da78f6c16091d5f4a7fdbfc2949ed71bf56e9294a003fa3ac14edaa9 |