{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Guide to Data Fitting in Python\n", "\n", "
Overview
\n", "\n", "Questions:\n", "\n", "* How can I use Python to fit a linear model?\n", "\n", "* How can I use Python to fit arbitrary functional forms to data?\n", "\n", "* What libraries can be used for data fitting, and what are the differences between them?\n", "\n", "Objectives:\n", "\n", "* Introduce different libraries that can be used for data fitting and the differences between them.\n", "\n", "* Fit a model using NumPy polyfit.\n", "\n", "* Fit a model using SciPy linregress.\n", "\n", "* Fit a model using statsmodels.\n", "\n", "* Fit a model using scikit-learn.\n", "\n", "* Fit an arbitrary functional form to data using SciPy curve_fit.\n", "\n", "