{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "executionInfo": { "elapsed": 1661, "status": "ok", "timestamp": 1709602382539, "user": { "displayName": "Srivatsa Kundurthy", "userId": "03839108747452750167" }, "user_tz": 300 }, "id": "K15X0B8sJuou" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.\n", "Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.\n" ] } ], "source": [ "# Imports!\n", "import numpy as np\n", "import pandas as pd\n", "import matplotlib.pyplot as plt\n", "%matplotlib inline\n", "\n", "# Import scikit-learn tools!\n", "from sklearn.model_selection import train_test_split\n", "from sklearn.linear_model import LinearRegression" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 206 }, "executionInfo": { "elapsed": 185, "status": "ok", "timestamp": 1709602456724, "user": { "displayName": "Srivatsa Kundurthy", "userId": "03839108747452750167" }, "user_tz": 300 }, "id": "6_STFD8GJuov", "outputId": "95d6caa4-d977-4d2e-f979-c8ad1bee8eb6" }, "outputs": [ { "data": { "text/html": [ "
\n", " | X | \n", "Y | \n", "
---|---|---|
0 | \n", "0.559446 | \n", "0.712223 | \n", "
1 | \n", "0.761492 | \n", "0.193319 | \n", "
2 | \n", "0.244532 | \n", "1.534062 | \n", "
3 | \n", "0.771689 | \n", "0.495752 | \n", "
4 | \n", "0.354472 | \n", "1.937421 | \n", "