/Code

Whenever i found some snippet useful, i save it here.

Primary LanguageJupyter Notebook

Code

This repository contains some of the modules that i created that are useful in using for real world data

My encoder is a module that can be used to one hot encode given vairiables of the dataset. It covers both the disadvanteges that are occured while usign OneHotEncoder and pd.get_dummies method. The notebook attached shows in detail what disadvanates are observed. And also that using my_encoder, we can get the job done is very less lines of code.

This contains the implementaion of natural and cubic spline in python. Estimating the confidence intervals for natural and cubic spline and comparing both the graphs.

This contains the notebook to find and visualize the confidence intervals in linear models.

Using bootstraping to calculate confidence intervals.

This notebook explains the curve_fit, from scipy.optimize, and provides exmaples on how it can be used to fit different functions of the data. In this notebook i have used a stimmulated data to show how we can plot and potimize different functions easitly using scipy. scipy.optimize.curve_fit()