"
+ ]
+ },
+ "execution_count": 39,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "model.fit(x_train, y_train, batch_size=1, epochs = 2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Making predictions on the training and testing data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 40,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\u001b[1m124/124\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m5s\u001b[0m 36ms/step\n",
+ "\u001b[1m31/31\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 30ms/step\n"
+ ]
+ }
+ ],
+ "source": [
+ "y_train_pred = model.predict(x_train)\n",
+ "y_test_pred = model.predict(x_test)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Calculating the performance metrics (MSE, MAE, R^2) for the training data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 41,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "mse_train = mean_squared_error(y_train, y_train_pred)\n",
+ "mae_train = mean_absolute_error(y_train, y_train_pred)\n",
+ "r2_train = r2_score(y_train, y_train_pred)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Calculating the performance metrics (MSE, MAE, R^2) for the testing data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 42,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "mse_test = mean_squared_error(y_test, y_test_pred)\n",
+ "mae_test = mean_absolute_error(y_test, y_test_pred)\n",
+ "r2_test = r2_score(y_test, y_test_pred)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Printing the performance metrics for both training and testing data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 43,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Train MSE: 4.497497619348312e-05, Train MAE: 0.004725631741521278, Train R^2: 0.9940975452471996\n",
+ "Test MSE: 0.00133245446907416, Test MAE: 0.033651480057092904, Test R^2: 0.8951556125916854\n"
+ ]
+ }
+ ],
+ "source": [
+ "print(f\"Train MSE: {mse_train}, Train MAE: {mae_train}, Train R^2: {r2_train}\")\n",
+ "print(f\"Test MSE: {mse_test}, Test MAE: {mae_test}, Test R^2: {r2_test}\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Displaying the summary of the LSTM model"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 44,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Model: \"sequential\"\n",
+ "
\n"
+ ],
+ "text/plain": [
+ "\u001b[1mModel: \"sequential\"\u001b[0m\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓\n",
+ "┃ Layer (type) ┃ Output Shape ┃ Param # ┃\n",
+ "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩\n",
+ "│ lstm (LSTM) │ (None, 100, 128) │ 66,560 │\n",
+ "├─────────────────────────────────┼────────────────────────┼───────────────┤\n",
+ "│ lstm_1 (LSTM) │ (None, 64) │ 49,408 │\n",
+ "├─────────────────────────────────┼────────────────────────┼───────────────┤\n",
+ "│ dense (Dense) │ (None, 25) │ 1,625 │\n",
+ "├─────────────────────────────────┼────────────────────────┼───────────────┤\n",
+ "│ dense_1 (Dense) │ (None, 1) │ 26 │\n",
+ "└─────────────────────────────────┴────────────────────────┴───────────────┘\n",
+ "
\n"
+ ],
+ "text/plain": [
+ "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓\n",
+ "┃\u001b[1m \u001b[0m\u001b[1mLayer (type) \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mOutput Shape \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1m Param #\u001b[0m\u001b[1m \u001b[0m┃\n",
+ "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩\n",
+ "│ lstm (\u001b[38;5;33mLSTM\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m100\u001b[0m, \u001b[38;5;34m128\u001b[0m) │ \u001b[38;5;34m66,560\u001b[0m │\n",
+ "├─────────────────────────────────┼────────────────────────┼───────────────┤\n",
+ "│ lstm_1 (\u001b[38;5;33mLSTM\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m64\u001b[0m) │ \u001b[38;5;34m49,408\u001b[0m │\n",
+ "├─────────────────────────────────┼────────────────────────┼───────────────┤\n",
+ "│ dense (\u001b[38;5;33mDense\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m25\u001b[0m) │ \u001b[38;5;34m1,625\u001b[0m │\n",
+ "├─────────────────────────────────┼────────────────────────┼───────────────┤\n",
+ "│ dense_1 (\u001b[38;5;33mDense\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m1\u001b[0m) │ \u001b[38;5;34m26\u001b[0m │\n",
+ "└─────────────────────────────────┴────────────────────────┴───────────────┘\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ " Total params: 352,859 (1.35 MB)\n",
+ "
\n"
+ ],
+ "text/plain": [
+ "\u001b[1m Total params: \u001b[0m\u001b[38;5;34m352,859\u001b[0m (1.35 MB)\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ " Trainable params: 117,619 (459.45 KB)\n",
+ "
\n"
+ ],
+ "text/plain": [
+ "\u001b[1m Trainable params: \u001b[0m\u001b[38;5;34m117,619\u001b[0m (459.45 KB)\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ " Non-trainable params: 0 (0.00 B)\n",
+ "
\n"
+ ],
+ "text/plain": [
+ "\u001b[1m Non-trainable params: \u001b[0m\u001b[38;5;34m0\u001b[0m (0.00 B)\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ " Optimizer params: 235,240 (918.91 KB)\n",
+ "
\n"
+ ],
+ "text/plain": [
+ "\u001b[1m Optimizer params: \u001b[0m\u001b[38;5;34m235,240\u001b[0m (918.91 KB)\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "model.summary()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Making predictions on the testing data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 45,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\u001b[1m31/31\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 32ms/step\n"
+ ]
+ }
+ ],
+ "source": [
+ "predictions = model.predict(x_test)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Displaying the predictions"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 46,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "array([[0.4586366 ],\n",
+ " [0.4547133 ],\n",
+ " [0.45012322],\n",
+ " [0.45434734],\n",
+ " [0.4586102 ],\n",
+ " [0.45372775],\n",
+ " [0.4453485 ],\n",
+ " [0.43326014],\n",
+ " [0.43272135],\n",
+ " [0.43852323],\n",
+ " [0.43369904],\n",
+ " [0.43092266],\n",
+ " [0.43774027],\n",
+ " [0.44844002],\n",
+ " [0.45271757],\n",
+ " [0.4564408 ],\n",
+ " [0.45976102],\n",
+ " [0.45373365],\n",
+ " [0.45547512],\n",
+ " [0.4516021 ],\n",
+ " [0.45242798],\n",
+ " [0.45382655],\n",
+ " [0.4587335 ],\n",
+ " [0.47663307],\n",
+ " [0.481755 ],\n",
+ " [0.48135802],\n",
+ " [0.4786664 ],\n",
+ " [0.47345558],\n",
+ " [0.46451962],\n",
+ " [0.46260446],\n",
+ " [0.46232018],\n",
+ " [0.46065184],\n",
+ " [0.45824933],\n",
+ " [0.4569424 ],\n",
+ " [0.45958525],\n",
+ " [0.4511244 ],\n",
+ " [0.45249873],\n",
+ " [0.44264013],\n",
+ " [0.43514693],\n",
+ " [0.43526304],\n",
+ " [0.44601208],\n",
+ " [0.46176562],\n",
+ " [0.47014132],\n",
+ " [0.46743968],\n",
+ " [0.4624768 ],\n",
+ " [0.46629205],\n",
+ " [0.46970448],\n",
+ " [0.4715782 ],\n",
+ " [0.47428083],\n",
+ " [0.47404003],\n",
+ " [0.47063294],\n",
+ " [0.46952692],\n",
+ " [0.4670609 ],\n",
+ " [0.45883065],\n",
+ " [0.4562341 ],\n",
+ " [0.45806727],\n",
+ " [0.46123132],\n",
+ " [0.46794865],\n",
+ " [0.47916543],\n",
+ " [0.48615813],\n",
+ " [0.48805112],\n",
+ " [0.48617062],\n",
+ " [0.48725277],\n",
+ " [0.4897549 ],\n",
+ " [0.48631105],\n",
+ " [0.486341 ],\n",
+ " [0.4856225 ],\n",
+ " [0.48404026],\n",
+ " [0.49528465],\n",
+ " [0.50357634],\n",
+ " [0.5086936 ],\n",
+ " [0.5061834 ],\n",
+ " [0.50621283],\n",
+ " [0.51402676],\n",
+ " [0.5178535 ],\n",
+ " [0.5209235 ],\n",
+ " [0.5316362 ],\n",
+ " [0.53488725],\n",
+ " [0.53250533],\n",
+ " [0.5279903 ],\n",
+ " [0.5189001 ],\n",
+ " [0.5169311 ],\n",
+ " [0.50910515],\n",
+ " [0.5129405 ],\n",
+ " [0.5198251 ],\n",
+ " [0.5178303 ],\n",
+ " [0.5143897 ],\n",
+ " [0.5163548 ],\n",
+ " [0.51451284],\n",
+ " [0.50925267],\n",
+ " [0.5072726 ],\n",
+ " [0.5154304 ],\n",
+ " [0.53137535],\n",
+ " [0.5451662 ],\n",
+ " [0.5587516 ],\n",
+ " [0.56527615],\n",
+ " [0.5642822 ],\n",
+ " [0.551995 ],\n",
+ " [0.5334672 ],\n",
+ " [0.52791595],\n",
+ " [0.5304552 ],\n",
+ " [0.5320409 ],\n",
+ " [0.53976965],\n",
+ " [0.5439606 ],\n",
+ " [0.545312 ],\n",
+ " [0.5432352 ],\n",
+ " [0.5400311 ],\n",
+ " [0.5376459 ],\n",
+ " [0.53721184],\n",
+ " [0.5331786 ],\n",
+ " [0.52583206],\n",
+ " [0.5193561 ],\n",
+ " [0.5168475 ],\n",
+ " [0.5089503 ],\n",
+ " [0.5037436 ],\n",
+ " [0.5008103 ],\n",
+ " [0.49127036],\n",
+ " [0.4856699 ],\n",
+ " [0.49672323],\n",
+ " [0.5005109 ],\n",
+ " [0.4944734 ],\n",
+ " [0.48511112],\n",
+ " [0.48212415],\n",
+ " [0.47209325],\n",
+ " [0.47509754],\n",
+ " [0.4773559 ],\n",
+ " [0.48227012],\n",
+ " [0.48324654],\n",
+ " [0.4884849 ],\n",
+ " [0.49489546],\n",
+ " [0.49650103],\n",
+ " [0.4876324 ],\n",
+ " [0.47979885],\n",
+ " [0.4830237 ],\n",
+ " [0.4856699 ],\n",
+ " [0.48218894],\n",
+ " [0.48011062],\n",
+ " [0.48060867],\n",
+ " [0.4818248 ],\n",
+ " [0.47963622],\n",
+ " [0.4822207 ],\n",
+ " [0.48618597],\n",
+ " [0.49415877],\n",
+ " [0.49944854],\n",
+ " [0.5046268 ],\n",
+ " [0.51183045],\n",
+ " [0.52092826],\n",
+ " [0.52216476],\n",
+ " [0.52732 ],\n",
+ " [0.5258648 ],\n",
+ " [0.5287578 ],\n",
+ " [0.530579 ],\n",
+ " [0.5328011 ],\n",
+ " [0.5306543 ],\n",
+ " [0.5295643 ],\n",
+ " [0.5262796 ],\n",
+ " [0.52913433],\n",
+ " [0.53281987],\n",
+ " [0.5342346 ],\n",
+ " [0.5327678 ],\n",
+ " [0.53115785],\n",
+ " [0.52629876],\n",
+ " [0.5254472 ],\n",
+ " [0.5166541 ],\n",
+ " [0.51126695],\n",
+ " [0.5127657 ],\n",
+ " [0.5165594 ],\n",
+ " [0.512239 ],\n",
+ " [0.5063422 ],\n",
+ " [0.4967217 ],\n",
+ " [0.49559268],\n",
+ " [0.5019524 ],\n",
+ " [0.50444865],\n",
+ " [0.50185436],\n",
+ " [0.49888617],\n",
+ " [0.5024064 ],\n",
+ " [0.5017734 ],\n",
+ " [0.5038446 ],\n",
+ " [0.504965 ],\n",
+ " [0.5051556 ],\n",
+ " [0.501856 ],\n",
+ " [0.49812153],\n",
+ " [0.49558577],\n",
+ " [0.4962767 ],\n",
+ " [0.49441284],\n",
+ " [0.4976626 ],\n",
+ " [0.5003813 ],\n",
+ " [0.50321746],\n",
+ " [0.50527555],\n",
+ " [0.50394785],\n",
+ " [0.5049298 ],\n",
+ " [0.51213616],\n",
+ " [0.51537454],\n",
+ " [0.51706016],\n",
+ " [0.52071047],\n",
+ " [0.5202249 ],\n",
+ " [0.52277136],\n",
+ " [0.5280715 ],\n",
+ " [0.5307703 ],\n",
+ " [0.5309474 ],\n",
+ " [0.5298638 ],\n",
+ " [0.53244954],\n",
+ " [0.53772146],\n",
+ " [0.5422305 ],\n",
+ " [0.54487586],\n",
+ " [0.551096 ],\n",
+ " [0.5589873 ],\n",
+ " [0.5682729 ],\n",
+ " [0.5702853 ],\n",
+ " [0.57333577],\n",
+ " [0.5737446 ],\n",
+ " [0.57576996],\n",
+ " [0.5843334 ],\n",
+ " [0.5886909 ],\n",
+ " [0.5857407 ],\n",
+ " [0.5747857 ],\n",
+ " [0.57535297],\n",
+ " [0.57689697],\n",
+ " [0.5810352 ],\n",
+ " [0.58725643],\n",
+ " [0.59154004],\n",
+ " [0.5885525 ],\n",
+ " [0.5817727 ],\n",
+ " [0.5789788 ],\n",
+ " [0.5790852 ],\n",
+ " [0.5792983 ],\n",
+ " [0.58326256],\n",
+ " [0.5851664 ],\n",
+ " [0.58580077],\n",
+ " [0.58429104],\n",
+ " [0.5829229 ],\n",
+ " [0.581291 ],\n",
+ " [0.58102435],\n",
+ " [0.587384 ],\n",
+ " [0.59234214],\n",
+ " [0.5984703 ],\n",
+ " [0.59960383],\n",
+ " [0.59115064],\n",
+ " [0.58562875],\n",
+ " [0.5867238 ],\n",
+ " [0.5920476 ],\n",
+ " [0.5955364 ],\n",
+ " [0.5942594 ],\n",
+ " [0.590837 ],\n",
+ " [0.59080124],\n",
+ " [0.60071784],\n",
+ " [0.6050736 ],\n",
+ " [0.6072865 ],\n",
+ " [0.60998994],\n",
+ " [0.612598 ],\n",
+ " [0.6186587 ],\n",
+ " [0.6190821 ],\n",
+ " [0.6159673 ],\n",
+ " [0.6033694 ],\n",
+ " [0.5966384 ],\n",
+ " [0.5920667 ],\n",
+ " [0.59259915],\n",
+ " [0.5937258 ],\n",
+ " [0.5889469 ],\n",
+ " [0.5789835 ],\n",
+ " [0.57396144],\n",
+ " [0.577526 ],\n",
+ " [0.5831811 ],\n",
+ " [0.5864798 ],\n",
+ " [0.5841573 ],\n",
+ " [0.5745356 ],\n",
+ " [0.57001257],\n",
+ " [0.5662895 ],\n",
+ " [0.5671776 ],\n",
+ " [0.56163913],\n",
+ " [0.561572 ],\n",
+ " [0.56447214],\n",
+ " [0.569106 ],\n",
+ " [0.5708014 ],\n",
+ " [0.57059354],\n",
+ " [0.56725425],\n",
+ " [0.5636571 ],\n",
+ " [0.56762534],\n",
+ " [0.5734597 ],\n",
+ " [0.5801867 ],\n",
+ " [0.5879799 ],\n",
+ " [0.5927837 ],\n",
+ " [0.5946899 ],\n",
+ " [0.5932226 ],\n",
+ " [0.5916643 ],\n",
+ " [0.5923819 ],\n",
+ " [0.5924668 ],\n",
+ " [0.6001075 ],\n",
+ " [0.59990007],\n",
+ " [0.59645 ],\n",
+ " [0.5961874 ],\n",
+ " [0.5998031 ],\n",
+ " [0.60142606],\n",
+ " [0.6029199 ],\n",
+ " [0.6018651 ],\n",
+ " [0.6015456 ],\n",
+ " [0.59569186],\n",
+ " [0.59166205],\n",
+ " [0.5945219 ],\n",
+ " [0.597569 ],\n",
+ " [0.601178 ],\n",
+ " [0.60800016],\n",
+ " [0.6207328 ],\n",
+ " [0.6333698 ],\n",
+ " [0.6400579 ],\n",
+ " [0.64242166],\n",
+ " [0.6434639 ],\n",
+ " [0.6331839 ],\n",
+ " [0.6330721 ],\n",
+ " [0.6458605 ],\n",
+ " [0.6540651 ],\n",
+ " [0.6550593 ],\n",
+ " [0.64991075],\n",
+ " [0.65319544],\n",
+ " [0.66866505],\n",
+ " [0.68679345],\n",
+ " [0.6947847 ],\n",
+ " [0.7061428 ],\n",
+ " [0.70417607],\n",
+ " [0.69744325],\n",
+ " [0.7035588 ],\n",
+ " [0.69499695],\n",
+ " [0.6860603 ],\n",
+ " [0.67920023],\n",
+ " [0.6835229 ],\n",
+ " [0.69378495],\n",
+ " [0.7013876 ],\n",
+ " [0.7125903 ],\n",
+ " [0.716087 ],\n",
+ " [0.71594876],\n",
+ " [0.7123923 ],\n",
+ " [0.7086709 ],\n",
+ " [0.71620643],\n",
+ " [0.7175856 ],\n",
+ " [0.7072829 ],\n",
+ " [0.6939978 ],\n",
+ " [0.6876047 ],\n",
+ " [0.6864527 ],\n",
+ " [0.6933496 ],\n",
+ " [0.6993714 ],\n",
+ " [0.6950259 ],\n",
+ " [0.69228697],\n",
+ " [0.6843353 ],\n",
+ " [0.6721433 ],\n",
+ " [0.66204095],\n",
+ " [0.65362054],\n",
+ " [0.6486594 ],\n",
+ " [0.6434788 ],\n",
+ " [0.64086026],\n",
+ " [0.63913244],\n",
+ " [0.6611006 ],\n",
+ " [0.68550074],\n",
+ " [0.6967451 ],\n",
+ " [0.700911 ],\n",
+ " [0.69451916],\n",
+ " [0.6883732 ],\n",
+ " [0.68413657],\n",
+ " [0.68953276],\n",
+ " [0.69759434],\n",
+ " [0.6937083 ],\n",
+ " [0.6822597 ],\n",
+ " [0.6757559 ],\n",
+ " [0.68199027],\n",
+ " [0.68747765],\n",
+ " [0.68250394],\n",
+ " [0.67455417],\n",
+ " [0.663907 ],\n",
+ " [0.6496806 ],\n",
+ " [0.64786196],\n",
+ " [0.6542346 ],\n",
+ " [0.6597743 ],\n",
+ " [0.6581467 ],\n",
+ " [0.6623715 ],\n",
+ " [0.6645838 ],\n",
+ " [0.6587243 ],\n",
+ " [0.64611685],\n",
+ " [0.6348541 ],\n",
+ " [0.6412462 ],\n",
+ " [0.63932675],\n",
+ " [0.6290978 ],\n",
+ " [0.6139432 ],\n",
+ " [0.61473954],\n",
+ " [0.6278809 ],\n",
+ " [0.6390511 ],\n",
+ " [0.6505549 ],\n",
+ " [0.6583852 ],\n",
+ " [0.66782683],\n",
+ " [0.6750587 ],\n",
+ " [0.6856999 ],\n",
+ " [0.6926319 ],\n",
+ " [0.6968859 ],\n",
+ " [0.7052485 ],\n",
+ " [0.70768905],\n",
+ " [0.70124316],\n",
+ " [0.6958988 ],\n",
+ " [0.7024498 ],\n",
+ " [0.7015158 ],\n",
+ " [0.6932007 ],\n",
+ " [0.688476 ],\n",
+ " [0.6829614 ],\n",
+ " [0.6715555 ],\n",
+ " [0.66905653],\n",
+ " [0.6755654 ],\n",
+ " [0.67021346],\n",
+ " [0.6646437 ],\n",
+ " [0.6664878 ],\n",
+ " [0.6685124 ],\n",
+ " [0.66778755],\n",
+ " [0.6571864 ],\n",
+ " [0.65215665],\n",
+ " [0.63848937],\n",
+ " [0.6298823 ],\n",
+ " [0.6414719 ],\n",
+ " [0.6392667 ],\n",
+ " [0.63589203],\n",
+ " [0.6367645 ],\n",
+ " [0.6512875 ],\n",
+ " [0.64200616],\n",
+ " [0.63381916],\n",
+ " [0.6191798 ],\n",
+ " [0.61598426],\n",
+ " [0.6008611 ],\n",
+ " [0.5834207 ],\n",
+ " [0.58396035],\n",
+ " [0.5851933 ],\n",
+ " [0.5936141 ],\n",
+ " [0.58182853],\n",
+ " [0.5643863 ],\n",
+ " [0.5548666 ],\n",
+ " [0.563208 ],\n",
+ " [0.5657498 ],\n",
+ " [0.56598306],\n",
+ " [0.57181185],\n",
+ " [0.58740497],\n",
+ " [0.59509915],\n",
+ " [0.596419 ],\n",
+ " [0.60032254],\n",
+ " [0.5906902 ],\n",
+ " [0.584751 ],\n",
+ " [0.5881028 ],\n",
+ " [0.5906094 ],\n",
+ " [0.5811121 ],\n",
+ " [0.5628799 ],\n",
+ " [0.54172236],\n",
+ " [0.53297895],\n",
+ " [0.53733164],\n",
+ " [0.53189075],\n",
+ " [0.5301187 ],\n",
+ " [0.5384242 ],\n",
+ " [0.54333407],\n",
+ " [0.5504823 ],\n",
+ " [0.560789 ],\n",
+ " [0.5660341 ],\n",
+ " [0.55853736],\n",
+ " [0.5554949 ],\n",
+ " [0.5499148 ],\n",
+ " [0.5514127 ],\n",
+ " [0.5592797 ],\n",
+ " [0.56744736],\n",
+ " [0.5784068 ],\n",
+ " [0.58549696],\n",
+ " [0.58340305],\n",
+ " [0.5821931 ],\n",
+ " [0.58101255],\n",
+ " [0.58669996],\n",
+ " [0.59460557],\n",
+ " [0.59272516],\n",
+ " [0.59770495],\n",
+ " [0.6057019 ],\n",
+ " [0.61497736],\n",
+ " [0.6170724 ],\n",
+ " [0.6140915 ],\n",
+ " [0.6087548 ],\n",
+ " [0.61641777],\n",
+ " [0.62428886],\n",
+ " [0.638882 ],\n",
+ " [0.6451584 ],\n",
+ " [0.6431053 ],\n",
+ " [0.6526727 ],\n",
+ " [0.659017 ],\n",
+ " [0.6610013 ],\n",
+ " [0.6600289 ],\n",
+ " [0.65911555],\n",
+ " [0.6677791 ],\n",
+ " [0.67261 ],\n",
+ " [0.681697 ],\n",
+ " [0.689102 ],\n",
+ " [0.69185543],\n",
+ " [0.6952068 ],\n",
+ " [0.69604546],\n",
+ " [0.6905638 ],\n",
+ " [0.6786478 ],\n",
+ " [0.6712245 ],\n",
+ " [0.66967994],\n",
+ " [0.675811 ],\n",
+ " [0.6673917 ],\n",
+ " [0.65575594],\n",
+ " [0.6443662 ],\n",
+ " [0.63566977],\n",
+ " [0.6338404 ],\n",
+ " [0.6302024 ],\n",
+ " [0.625491 ],\n",
+ " [0.62578756],\n",
+ " [0.6237557 ],\n",
+ " [0.62806535],\n",
+ " [0.6436622 ],\n",
+ " [0.63356525],\n",
+ " [0.62593365],\n",
+ " [0.6164375 ],\n",
+ " [0.6082432 ],\n",
+ " [0.61257493],\n",
+ " [0.6225546 ],\n",
+ " [0.62212443],\n",
+ " [0.61746025],\n",
+ " [0.6092871 ],\n",
+ " [0.60523343],\n",
+ " [0.6062862 ],\n",
+ " [0.6041319 ],\n",
+ " [0.5874787 ],\n",
+ " [0.5676701 ],\n",
+ " [0.5661634 ],\n",
+ " [0.5771728 ],\n",
+ " [0.5860812 ],\n",
+ " [0.58771116],\n",
+ " [0.57551897],\n",
+ " [0.56687826],\n",
+ " [0.560407 ],\n",
+ " [0.5566416 ],\n",
+ " [0.5650238 ],\n",
+ " [0.5624537 ],\n",
+ " [0.56691897],\n",
+ " [0.5730504 ],\n",
+ " [0.57642114],\n",
+ " [0.5762457 ],\n",
+ " [0.58306086],\n",
+ " [0.592187 ],\n",
+ " [0.60292256],\n",
+ " [0.6021665 ],\n",
+ " [0.58988744],\n",
+ " [0.60375136],\n",
+ " [0.6113804 ],\n",
+ " [0.6085066 ],\n",
+ " [0.593336 ],\n",
+ " [0.5709619 ],\n",
+ " [0.55842644],\n",
+ " [0.5562073 ],\n",
+ " [0.5591946 ],\n",
+ " [0.55265856],\n",
+ " [0.5716883 ],\n",
+ " [0.5919337 ],\n",
+ " [0.5986376 ],\n",
+ " [0.60172915],\n",
+ " [0.5991877 ],\n",
+ " [0.600431 ],\n",
+ " [0.6030389 ],\n",
+ " [0.5981039 ],\n",
+ " [0.5987589 ],\n",
+ " [0.6023039 ],\n",
+ " [0.5988402 ],\n",
+ " [0.5878685 ],\n",
+ " [0.5748627 ],\n",
+ " [0.5823504 ],\n",
+ " [0.5913035 ],\n",
+ " [0.5950933 ],\n",
+ " [0.59313595],\n",
+ " [0.5830378 ],\n",
+ " [0.57224816],\n",
+ " [0.5704378 ],\n",
+ " [0.5707757 ],\n",
+ " [0.57637566],\n",
+ " [0.5822129 ],\n",
+ " [0.58030957],\n",
+ " [0.56380653],\n",
+ " [0.54848033],\n",
+ " [0.5370941 ],\n",
+ " [0.53269905],\n",
+ " [0.53883964],\n",
+ " [0.5377766 ],\n",
+ " [0.53480035],\n",
+ " [0.52889043],\n",
+ " [0.51709294],\n",
+ " [0.51713604],\n",
+ " [0.52041584],\n",
+ " [0.5129793 ],\n",
+ " [0.5094505 ],\n",
+ " [0.50572366],\n",
+ " [0.5131013 ],\n",
+ " [0.5201657 ],\n",
+ " [0.52456087],\n",
+ " [0.5313596 ],\n",
+ " [0.53472114],\n",
+ " [0.5381052 ],\n",
+ " [0.54198015],\n",
+ " [0.5424449 ],\n",
+ " [0.54206324],\n",
+ " [0.5470281 ],\n",
+ " [0.5573151 ],\n",
+ " [0.5664487 ],\n",
+ " [0.5692007 ],\n",
+ " [0.5732664 ],\n",
+ " [0.5794396 ],\n",
+ " [0.5769523 ],\n",
+ " [0.57658255],\n",
+ " [0.57929844],\n",
+ " [0.5925127 ],\n",
+ " [0.6088428 ],\n",
+ " [0.6116556 ],\n",
+ " [0.6158241 ],\n",
+ " [0.61228555],\n",
+ " [0.6068518 ],\n",
+ " [0.6047927 ],\n",
+ " [0.6107166 ],\n",
+ " [0.61430424],\n",
+ " [0.62008846],\n",
+ " [0.61998016],\n",
+ " [0.61623263],\n",
+ " [0.60527295],\n",
+ " [0.59946764],\n",
+ " [0.59903455],\n",
+ " [0.59481436],\n",
+ " [0.5946298 ],\n",
+ " [0.59438956],\n",
+ " [0.5899628 ],\n",
+ " [0.5880653 ],\n",
+ " [0.5980758 ],\n",
+ " [0.6111491 ],\n",
+ " [0.6133272 ],\n",
+ " [0.61423916],\n",
+ " [0.6093641 ],\n",
+ " [0.60143137],\n",
+ " [0.60110724],\n",
+ " [0.6072018 ],\n",
+ " [0.612603 ],\n",
+ " [0.62096566],\n",
+ " [0.62371415],\n",
+ " [0.62856835],\n",
+ " [0.6350128 ],\n",
+ " [0.63536805],\n",
+ " [0.636448 ],\n",
+ " [0.6398249 ],\n",
+ " [0.63798505],\n",
+ " [0.63483036],\n",
+ " [0.63958514],\n",
+ " [0.6470025 ],\n",
+ " [0.6564816 ],\n",
+ " [0.6639841 ],\n",
+ " [0.665829 ],\n",
+ " [0.6614442 ],\n",
+ " [0.65982765],\n",
+ " [0.6543446 ],\n",
+ " [0.6486744 ],\n",
+ " [0.64477473],\n",
+ " [0.65485305],\n",
+ " [0.66211617],\n",
+ " [0.6650289 ],\n",
+ " [0.6677684 ],\n",
+ " [0.67117095],\n",
+ " [0.6707615 ],\n",
+ " [0.66633385],\n",
+ " [0.664036 ],\n",
+ " [0.66030824],\n",
+ " [0.6584374 ],\n",
+ " [0.6677278 ],\n",
+ " [0.6772605 ],\n",
+ " [0.6816104 ],\n",
+ " [0.6801213 ],\n",
+ " [0.675663 ],\n",
+ " [0.6694159 ],\n",
+ " [0.68230635],\n",
+ " [0.6925269 ],\n",
+ " [0.69332165],\n",
+ " [0.69518286],\n",
+ " [0.696472 ],\n",
+ " [0.69501185],\n",
+ " [0.69277656],\n",
+ " [0.691682 ],\n",
+ " [0.6928747 ],\n",
+ " [0.698998 ],\n",
+ " [0.703249 ],\n",
+ " [0.7028452 ],\n",
+ " [0.6960703 ],\n",
+ " [0.692067 ],\n",
+ " [0.69324154],\n",
+ " [0.70017725],\n",
+ " [0.7086795 ],\n",
+ " [0.7128461 ],\n",
+ " [0.71958524],\n",
+ " [0.7248257 ],\n",
+ " [0.72395885],\n",
+ " [0.7213923 ],\n",
+ " [0.71694124],\n",
+ " [0.7203725 ],\n",
+ " [0.7246918 ],\n",
+ " [0.73302996],\n",
+ " [0.7367807 ],\n",
+ " [0.73882216],\n",
+ " [0.7435618 ],\n",
+ " [0.74399513],\n",
+ " [0.7434998 ],\n",
+ " [0.7408978 ],\n",
+ " [0.74571764],\n",
+ " [0.74899495],\n",
+ " [0.74739975],\n",
+ " [0.75147134],\n",
+ " [0.7570304 ],\n",
+ " [0.76069146],\n",
+ " [0.7711235 ],\n",
+ " [0.7740944 ],\n",
+ " [0.7714666 ],\n",
+ " [0.76994914],\n",
+ " [0.7671544 ],\n",
+ " [0.76147795],\n",
+ " [0.7573764 ],\n",
+ " [0.7595843 ],\n",
+ " [0.7637826 ],\n",
+ " [0.76659286],\n",
+ " [0.7744579 ],\n",
+ " [0.7784315 ],\n",
+ " [0.7821622 ],\n",
+ " [0.77946836],\n",
+ " [0.7742883 ],\n",
+ " [0.7730691 ],\n",
+ " [0.7753241 ],\n",
+ " [0.77917063],\n",
+ " [0.77871513],\n",
+ " [0.7830868 ],\n",
+ " [0.7873378 ],\n",
+ " [0.78749263],\n",
+ " [0.78026664],\n",
+ " [0.7723943 ],\n",
+ " [0.74950427],\n",
+ " [0.729545 ],\n",
+ " [0.72322345],\n",
+ " [0.7203915 ],\n",
+ " [0.71978647],\n",
+ " [0.72009134],\n",
+ " [0.7236491 ],\n",
+ " [0.7214113 ],\n",
+ " [0.7169023 ],\n",
+ " [0.70856994],\n",
+ " [0.7046965 ],\n",
+ " [0.70659125],\n",
+ " [0.7116561 ],\n",
+ " [0.7227754 ],\n",
+ " [0.7191513 ],\n",
+ " [0.7187154 ],\n",
+ " [0.72214943],\n",
+ " [0.73276466],\n",
+ " [0.7466129 ],\n",
+ " [0.7540915 ],\n",
+ " [0.7593047 ],\n",
+ " [0.7614677 ],\n",
+ " [0.747519 ],\n",
+ " [0.72662055],\n",
+ " [0.7170363 ],\n",
+ " [0.7180548 ],\n",
+ " [0.71512556],\n",
+ " [0.7089453 ],\n",
+ " [0.70854264],\n",
+ " [0.7079718 ],\n",
+ " [0.71375644],\n",
+ " [0.7198899 ],\n",
+ " [0.71511084],\n",
+ " [0.7069971 ],\n",
+ " [0.7040334 ],\n",
+ " [0.7064544 ],\n",
+ " [0.700308 ],\n",
+ " [0.6925093 ],\n",
+ " [0.6890076 ],\n",
+ " [0.6894543 ],\n",
+ " [0.69590247],\n",
+ " [0.6973811 ],\n",
+ " [0.6994853 ],\n",
+ " [0.7029257 ],\n",
+ " [0.71000963],\n",
+ " [0.71707207],\n",
+ " [0.7189627 ],\n",
+ " [0.7215163 ],\n",
+ " [0.72462344],\n",
+ " [0.7223292 ],\n",
+ " [0.71992344],\n",
+ " [0.7156065 ],\n",
+ " [0.7106752 ],\n",
+ " [0.70768046],\n",
+ " [0.7015548 ],\n",
+ " [0.69847983],\n",
+ " [0.69872004],\n",
+ " [0.6947748 ],\n",
+ " [0.6833009 ],\n",
+ " [0.6790061 ],\n",
+ " [0.68281174],\n",
+ " [0.6874417 ],\n",
+ " [0.69639057],\n",
+ " [0.70873004],\n",
+ " [0.71295494],\n",
+ " [0.71818084],\n",
+ " [0.72585636],\n",
+ " [0.73204094],\n",
+ " [0.73354185],\n",
+ " [0.7420823 ],\n",
+ " [0.7442206 ],\n",
+ " [0.74955016],\n",
+ " [0.7539388 ],\n",
+ " [0.7594882 ],\n",
+ " [0.7623517 ],\n",
+ " [0.7669045 ],\n",
+ " [0.76772785],\n",
+ " [0.7688505 ],\n",
+ " [0.7667101 ],\n",
+ " [0.7648258 ],\n",
+ " [0.7654574 ],\n",
+ " [0.7643195 ],\n",
+ " [0.76481724],\n",
+ " [0.76818514],\n",
+ " [0.76660365],\n",
+ " [0.7732319 ],\n",
+ " [0.7756221 ],\n",
+ " [0.7799365 ],\n",
+ " [0.7852124 ],\n",
+ " [0.782437 ],\n",
+ " [0.7826327 ],\n",
+ " [0.79013854],\n",
+ " [0.79555285],\n",
+ " [0.79654175],\n",
+ " [0.792457 ],\n",
+ " [0.7916993 ],\n",
+ " [0.7876819 ],\n",
+ " [0.78505963],\n",
+ " [0.7820363 ],\n",
+ " [0.77959603],\n",
+ " [0.7789361 ],\n",
+ " [0.77999735],\n",
+ " [0.7786675 ],\n",
+ " [0.7630459 ],\n",
+ " [0.7498916 ],\n",
+ " [0.73944277],\n",
+ " [0.733961 ],\n",
+ " [0.7419078 ],\n",
+ " [0.74766725],\n",
+ " [0.7519579 ],\n",
+ " [0.75191385],\n",
+ " [0.7512241 ],\n",
+ " [0.74563366],\n",
+ " [0.73988795],\n",
+ " [0.74964184],\n",
+ " [0.76369584],\n",
+ " [0.7760779 ],\n",
+ " [0.78387594],\n",
+ " [0.78466195],\n",
+ " [0.78254485],\n",
+ " [0.7771821 ],\n",
+ " [0.77275336],\n",
+ " [0.7634715 ],\n",
+ " [0.75094396],\n",
+ " [0.7499909 ],\n",
+ " [0.7502388 ],\n",
+ " [0.75477827],\n",
+ " [0.7611754 ],\n",
+ " [0.7645828 ],\n",
+ " [0.7629351 ],\n",
+ " [0.76240975],\n",
+ " [0.7586286 ],\n",
+ " [0.75175387],\n",
+ " [0.7461059 ],\n",
+ " [0.74328214],\n",
+ " [0.73952246],\n",
+ " [0.7361651 ],\n",
+ " [0.7363332 ],\n",
+ " [0.74146026],\n",
+ " [0.7409567 ],\n",
+ " [0.7365402 ],\n",
+ " [0.73651206],\n",
+ " [0.73478204],\n",
+ " [0.73223406],\n",
+ " [0.7285695 ],\n",
+ " [0.717103 ],\n",
+ " [0.69978136],\n",
+ " [0.68848336],\n",
+ " [0.68448514],\n",
+ " [0.68810755],\n",
+ " [0.6957732 ],\n",
+ " [0.7010675 ],\n",
+ " [0.69824415],\n",
+ " [0.6985986 ],\n",
+ " [0.6982681 ],\n",
+ " [0.70013535],\n",
+ " [0.7063214 ],\n",
+ " [0.71550304],\n",
+ " [0.7050877 ],\n",
+ " [0.69784504],\n",
+ " [0.69203657],\n",
+ " [0.6875408 ],\n",
+ " [0.6935134 ],\n",
+ " [0.6949364 ],\n",
+ " [0.69169044],\n",
+ " [0.6865315 ],\n",
+ " [0.6852775 ],\n",
+ " [0.68379515],\n",
+ " [0.6846914 ],\n",
+ " [0.6832531 ],\n",
+ " [0.68458337],\n",
+ " [0.6817782 ],\n",
+ " [0.69465506],\n",
+ " [0.70710146],\n",
+ " [0.70468324],\n",
+ " [0.6931595 ],\n",
+ " [0.6827002 ],\n",
+ " [0.67615485],\n",
+ " [0.6700837 ],\n",
+ " [0.6694761 ],\n",
+ " [0.6728054 ],\n",
+ " [0.6797259 ],\n",
+ " [0.6854476 ],\n",
+ " [0.68638253],\n",
+ " [0.69421554],\n",
+ " [0.6924732 ],\n",
+ " [0.6873515 ],\n",
+ " [0.6918708 ],\n",
+ " [0.7177579 ],\n",
+ " [0.7310553 ],\n",
+ " [0.7358909 ],\n",
+ " [0.7365388 ],\n",
+ " [0.73953515],\n",
+ " [0.73881006],\n",
+ " [0.74473196],\n",
+ " [0.75155747],\n",
+ " [0.7600147 ],\n",
+ " [0.7646334 ],\n",
+ " [0.76605284],\n",
+ " [0.76848936],\n",
+ " [0.77265817],\n",
+ " [0.7720385 ],\n",
+ " [0.7624322 ],\n",
+ " [0.76277345],\n",
+ " [0.7652481 ],\n",
+ " [0.76782775],\n",
+ " [0.7712742 ],\n",
+ " [0.77505654],\n",
+ " [0.78055465],\n",
+ " [0.7840155 ],\n",
+ " [0.7882845 ],\n",
+ " [0.7873634 ],\n",
+ " [0.7909059 ],\n",
+ " [0.78548974],\n",
+ " [0.81091714],\n",
+ " [0.84162474],\n",
+ " [0.85928106],\n",
+ " [0.860287 ],\n",
+ " [0.8655174 ],\n",
+ " [0.8633866 ],\n",
+ " [0.851386 ],\n",
+ " [0.83967566],\n",
+ " [0.83638567],\n",
+ " [0.83936536],\n",
+ " [0.85155636],\n",
+ " [0.8610939 ],\n",
+ " [0.85741913],\n",
+ " [0.86574507],\n",
+ " [0.87915677],\n",
+ " [0.8889727 ],\n",
+ " [0.9027024 ],\n",
+ " [0.9125358 ],\n",
+ " [0.91779107],\n",
+ " [0.9282246 ],\n",
+ " [0.9223103 ],\n",
+ " [0.9228713 ],\n",
+ " [0.93280596],\n",
+ " [0.9404896 ],\n",
+ " [0.9310649 ],\n",
+ " [0.913449 ],\n",
+ " [0.9042807 ],\n",
+ " [0.901588 ],\n",
+ " [0.904596 ],\n",
+ " [0.8937009 ],\n",
+ " [0.8838637 ],\n",
+ " [0.8805176 ],\n",
+ " [0.8810241 ],\n",
+ " [0.88331735],\n",
+ " [0.89160806],\n",
+ " [0.8883771 ],\n",
+ " [0.88746846],\n",
+ " [0.86459714],\n",
+ " [0.84542906],\n",
+ " [0.8430209 ],\n",
+ " [0.85330886],\n",
+ " [0.8672716 ],\n",
+ " [0.87755775]], dtype=float32)"
+ ]
+ },
+ "execution_count": 46,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "predictions"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Inversing the scaling transformation to get the original predictions"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 47,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "array([[107.82325 ],\n",
+ " [106.90486 ],\n",
+ " [105.83039 ],\n",
+ " [106.8192 ],\n",
+ " [107.81707 ],\n",
+ " [106.67416 ],\n",
+ " [104.7127 ],\n",
+ " [101.88299 ],\n",
+ " [101.75687 ],\n",
+ " [103.115 ],\n",
+ " [101.985725],\n",
+ " [101.335815],\n",
+ " [102.93172 ],\n",
+ " [105.43638 ],\n",
+ " [106.43769 ],\n",
+ " [107.30924 ],\n",
+ " [108.08646 ],\n",
+ " [106.67554 ],\n",
+ " [107.08319 ],\n",
+ " [106.176575],\n",
+ " [106.3699 ],\n",
+ " [106.69728 ],\n",
+ " [107.84593 ],\n",
+ " [112.03596 ],\n",
+ " [113.234924],\n",
+ " [113.142 ],\n",
+ " [112.51193 ],\n",
+ " [111.29215 ],\n",
+ " [109.20038 ],\n",
+ " [108.75207 ],\n",
+ " [108.68552 ],\n",
+ " [108.29499 ],\n",
+ " [107.73259 ],\n",
+ " [107.42666 ],\n",
+ " [108.04531 ],\n",
+ " [106.06475 ],\n",
+ " [106.38646 ],\n",
+ " [104.078705],\n",
+ " [102.32466 ],\n",
+ " [102.35184 ],\n",
+ " [104.868034],\n",
+ " [108.5557 ],\n",
+ " [110.516335],\n",
+ " [109.88392 ],\n",
+ " [108.72218 ],\n",
+ " [109.61528 ],\n",
+ " [110.41408 ],\n",
+ " [110.85269 ],\n",
+ " [111.48534 ],\n",
+ " [111.42896 ],\n",
+ " [110.63142 ],\n",
+ " [110.37251 ],\n",
+ " [109.79525 ],\n",
+ " [107.868675],\n",
+ " [107.26086 ],\n",
+ " [107.68997 ],\n",
+ " [108.43063 ],\n",
+ " [110.00306 ],\n",
+ " [112.628746],\n",
+ " [114.26564 ],\n",
+ " [114.708755],\n",
+ " [114.26856 ],\n",
+ " [114.52187 ],\n",
+ " [115.10758 ],\n",
+ " [114.30143 ],\n",
+ " [114.30844 ],\n",
+ " [114.14025 ],\n",
+ " [113.769875],\n",
+ " [116.40202 ],\n",
+ " [118.34298 ],\n",
+ " [119.54085 ],\n",
+ " [118.95325 ],\n",
+ " [118.960144],\n",
+ " [120.78927 ],\n",
+ " [121.68505 ],\n",
+ " [122.403694],\n",
+ " [124.91138 ],\n",
+ " [125.67241 ],\n",
+ " [125.11484 ],\n",
+ " [124.05792 ],\n",
+ " [121.930046],\n",
+ " [121.46914 ],\n",
+ " [119.63719 ],\n",
+ " [120.534996],\n",
+ " [122.146576],\n",
+ " [121.67963 ],\n",
+ " [120.87423 ],\n",
+ " [121.33423 ],\n",
+ " [120.90305 ],\n",
+ " [119.67172 ],\n",
+ " [119.20822 ],\n",
+ " [121.117836],\n",
+ " [124.85032 ],\n",
+ " [128.07855 ],\n",
+ " [131.2587 ],\n",
+ " [132.78601 ],\n",
+ " [132.55333 ],\n",
+ " [129.67708 ],\n",
+ " [125.33999 ],\n",
+ " [124.04053 ],\n",
+ " [124.63492 ],\n",
+ " [125.00612 ],\n",
+ " [126.81531 ],\n",
+ " [127.79634 ],\n",
+ " [128.11269 ],\n",
+ " [127.62653 ],\n",
+ " [126.8765 ],\n",
+ " [126.31816 ],\n",
+ " [126.21656 ],\n",
+ " [125.272446],\n",
+ " [123.55272 ],\n",
+ " [122.03678 ],\n",
+ " [121.44956 ],\n",
+ " [119.600945],\n",
+ " [118.382126],\n",
+ " [117.695496],\n",
+ " [115.46233 ],\n",
+ " [114.15135 ],\n",
+ " [116.73878 ],\n",
+ " [117.6254 ],\n",
+ " [116.21212 ],\n",
+ " [114.020546],\n",
+ " [113.32134 ],\n",
+ " [110.97325 ],\n",
+ " [111.67651 ],\n",
+ " [112.20516 ],\n",
+ " [113.35551 ],\n",
+ " [113.584076],\n",
+ " [114.810295],\n",
+ " [116.31092 ],\n",
+ " [116.68676 ],\n",
+ " [114.61074 ],\n",
+ " [112.77702 ],\n",
+ " [113.53191 ],\n",
+ " [114.15135 ],\n",
+ " [113.33651 ],\n",
+ " [112.85 ],\n",
+ " [112.96659 ],\n",
+ " [113.25127 ],\n",
+ " [112.73895 ],\n",
+ " [113.34394 ],\n",
+ " [114.272156],\n",
+ " [116.13847 ],\n",
+ " [117.37672 ],\n",
+ " [118.588875],\n",
+ " [120.27515 ],\n",
+ " [122.40481 ],\n",
+ " [122.69426 ],\n",
+ " [123.90103 ],\n",
+ " [123.56038 ],\n",
+ " [124.237595],\n",
+ " [124.6639 ],\n",
+ " [125.18407 ],\n",
+ " [124.68153 ],\n",
+ " [124.426384],\n",
+ " [123.657486],\n",
+ " [124.32573 ],\n",
+ " [125.18846 ],\n",
+ " [125.51962 ],\n",
+ " [125.17627 ],\n",
+ " [124.79941 ],\n",
+ " [123.661964],\n",
+ " [123.46262 ],\n",
+ " [121.40428 ],\n",
+ " [120.143234],\n",
+ " [120.49407 ],\n",
+ " [121.382126],\n",
+ " [120.37077 ],\n",
+ " [118.99042 ],\n",
+ " [116.73842 ],\n",
+ " [116.47413 ],\n",
+ " [117.96284 ],\n",
+ " [118.54717 ],\n",
+ " [117.93989 ],\n",
+ " [117.24508 ],\n",
+ " [118.069115],\n",
+ " [117.920944],\n",
+ " [118.40578 ],\n",
+ " [118.668045],\n",
+ " [118.71266 ],\n",
+ " [117.94028 ],\n",
+ " [117.06609 ],\n",
+ " [116.47251 ],\n",
+ " [116.63425 ],\n",
+ " [116.197945],\n",
+ " [116.958664],\n",
+ " [117.59506 ],\n",
+ " [118.25897 ],\n",
+ " [118.74074 ],\n",
+ " [118.42995 ],\n",
+ " [118.6598 ],\n",
+ " [120.34671 ],\n",
+ " [121.10477 ],\n",
+ " [121.499344],\n",
+ " [122.35383 ],\n",
+ " [122.24017 ],\n",
+ " [122.83625 ],\n",
+ " [124.07694 ],\n",
+ " [124.70869 ],\n",
+ " [124.750145],\n",
+ " [124.49648 ],\n",
+ " [125.101776],\n",
+ " [126.33585 ],\n",
+ " [127.39135 ],\n",
+ " [128.01059 ],\n",
+ " [129.46664 ],\n",
+ " [131.31387 ],\n",
+ " [133.4875 ],\n",
+ " [133.95857 ],\n",
+ " [134.67264 ],\n",
+ " [134.76834 ],\n",
+ " [135.24245 ],\n",
+ " [137.24704 ],\n",
+ " [138.26704 ],\n",
+ " [137.57645 ],\n",
+ " [135.01205 ],\n",
+ " [135.14484 ],\n",
+ " [135.50627 ],\n",
+ " [136.47496 ],\n",
+ " [137.93127 ],\n",
+ " [138.93399 ],\n",
+ " [138.23465 ],\n",
+ " [136.6476 ],\n",
+ " [135.99359 ],\n",
+ " [136.0185 ],\n",
+ " [136.06839 ],\n",
+ " [136.99637 ],\n",
+ " [137.44202 ],\n",
+ " [137.59052 ],\n",
+ " [137.2371 ],\n",
+ " [136.91684 ],\n",
+ " [136.53485 ],\n",
+ " [136.47243 ],\n",
+ " [137.96112 ],\n",
+ " [139.12175 ],\n",
+ " [140.55626 ],\n",
+ " [140.82161 ],\n",
+ " [138.84285 ],\n",
+ " [137.55025 ],\n",
+ " [137.8066 ],\n",
+ " [139.05281 ],\n",
+ " [139.86949 ],\n",
+ " [139.57056 ],\n",
+ " [138.76942 ],\n",
+ " [138.76106 ],\n",
+ " [141.08238 ],\n",
+ " [142.102 ],\n",
+ " [142.62001 ],\n",
+ " [143.25285 ],\n",
+ " [143.86336 ],\n",
+ " [145.28209 ],\n",
+ " [145.3812 ],\n",
+ " [144.65205 ],\n",
+ " [141.70308 ],\n",
+ " [140.12744 ],\n",
+ " [139.05728 ],\n",
+ " [139.18192 ],\n",
+ " [139.44565 ],\n",
+ " [138.32698 ],\n",
+ " [135.99469 ],\n",
+ " [134.8191 ],\n",
+ " [135.6535 ],\n",
+ " [136.9773 ],\n",
+ " [137.74947 ],\n",
+ " [137.20581 ],\n",
+ " [134.9535 ],\n",
+ " [133.89473 ],\n",
+ " [133.02321 ],\n",
+ " [133.23111 ],\n",
+ " [131.93463 ],\n",
+ " [131.91891 ],\n",
+ " [132.5978 ],\n",
+ " [133.68251 ],\n",
+ " [134.07938 ],\n",
+ " [134.03073 ],\n",
+ " [133.24905 ],\n",
+ " [132.40701 ],\n",
+ " [133.33592 ],\n",
+ " [134.70164 ],\n",
+ " [136.27635 ],\n",
+ " [138.10062 ],\n",
+ " [139.22511 ],\n",
+ " [139.67134 ],\n",
+ " [139.32787 ],\n",
+ " [138.96309 ],\n",
+ " [139.13106 ],\n",
+ " [139.15092 ],\n",
+ " [140.93951 ],\n",
+ " [140.89096 ],\n",
+ " [140.08334 ],\n",
+ " [140.02188 ],\n",
+ " [140.86826 ],\n",
+ " [141.24817 ],\n",
+ " [141.59785 ],\n",
+ " [141.35095 ],\n",
+ " [141.27615 ],\n",
+ " [139.90588 ],\n",
+ " [138.96255 ],\n",
+ " [139.632 ],\n",
+ " [140.34529 ],\n",
+ " [141.1901 ],\n",
+ " [142.78708 ],\n",
+ " [145.7676 ],\n",
+ " [148.72574 ],\n",
+ " [150.29132 ],\n",
+ " [150.84465 ],\n",
+ " [151.08862 ],\n",
+ " [148.68222 ],\n",
+ " [148.65604 ],\n",
+ " [151.64963 ],\n",
+ " [153.57019 ],\n",
+ " [153.80293 ],\n",
+ " [152.59773 ],\n",
+ " [153.36662 ],\n",
+ " [156.98784 ],\n",
+ " [161.23143 ],\n",
+ " [163.10207 ],\n",
+ " [165.76083 ],\n",
+ " [165.30045 ],\n",
+ " [163.7244 ],\n",
+ " [165.15596 ],\n",
+ " [163.15175 ],\n",
+ " [161.05981 ],\n",
+ " [159.45396 ],\n",
+ " [160.46584 ],\n",
+ " [162.86804 ],\n",
+ " [164.6477 ],\n",
+ " [167.2701 ],\n",
+ " [168.08862 ],\n",
+ " [168.05626 ],\n",
+ " [167.22374 ],\n",
+ " [166.35263 ],\n",
+ " [168.11658 ],\n",
+ " [168.43944 ],\n",
+ " [166.02771 ],\n",
+ " [162.91786 ],\n",
+ " [161.42134 ],\n",
+ " [161.15166 ],\n",
+ " [162.76613 ],\n",
+ " [164.17575 ],\n",
+ " [163.15854 ],\n",
+ " [162.51738 ],\n",
+ " [160.656 ],\n",
+ " [157.80205 ],\n",
+ " [155.43723 ],\n",
+ " [153.46614 ],\n",
+ " [152.30481 ],\n",
+ " [151.0921 ],\n",
+ " [150.47914 ],\n",
+ " [150.07469 ],\n",
+ " [155.21712 ],\n",
+ " [160.92883 ],\n",
+ " [163.56097 ],\n",
+ " [164.53615 ],\n",
+ " [163.0399 ],\n",
+ " [161.60123 ],\n",
+ " [160.6095 ],\n",
+ " [161.87267 ],\n",
+ " [163.75977 ],\n",
+ " [162.8501 ],\n",
+ " [160.17014 ],\n",
+ " [158.6477 ],\n",
+ " [160.10707 ],\n",
+ " [161.39159 ],\n",
+ " [160.22733 ],\n",
+ " [158.3664 ],\n",
+ " [155.87404 ],\n",
+ " [152.54385 ],\n",
+ " [152.11813 ],\n",
+ " [153.60988 ],\n",
+ " [154.90665 ],\n",
+ " [154.52563 ],\n",
+ " [155.51462 ],\n",
+ " [156.03247 ],\n",
+ " [154.66086 ],\n",
+ " [151.70964 ],\n",
+ " [149.07318 ],\n",
+ " [150.56949 ],\n",
+ " [150.12016 ],\n",
+ " [147.72572 ],\n",
+ " [144.17825 ],\n",
+ " [144.36465 ],\n",
+ " [147.44086 ],\n",
+ " [150.05563 ],\n",
+ " [152.74852 ],\n",
+ " [154.58148 ],\n",
+ " [156.79163 ],\n",
+ " [158.4845 ],\n",
+ " [160.97545 ],\n",
+ " [162.59813 ],\n",
+ " [163.59392 ],\n",
+ " [165.55148 ],\n",
+ " [166.12279 ],\n",
+ " [164.61389 ],\n",
+ " [163.36285 ],\n",
+ " [164.89636 ],\n",
+ " [164.67772 ],\n",
+ " [162.73128 ],\n",
+ " [161.6253 ],\n",
+ " [160.33441 ],\n",
+ " [157.66446 ],\n",
+ " [157.07948 ],\n",
+ " [158.60312 ],\n",
+ " [157.3503 ],\n",
+ " [156.0465 ],\n",
+ " [156.47818 ],\n",
+ " [156.9521 ],\n",
+ " [156.78242 ],\n",
+ " [154.30086 ],\n",
+ " [153.12346 ],\n",
+ " [149.92415 ],\n",
+ " [147.90936 ],\n",
+ " [150.62233 ],\n",
+ " [150.10612 ],\n",
+ " [149.31615 ],\n",
+ " [149.52039 ],\n",
+ " [152.92001 ],\n",
+ " [150.74738 ],\n",
+ " [148.83092 ],\n",
+ " [145.40405 ],\n",
+ " [144.65604 ],\n",
+ " [141.11592 ],\n",
+ " [137.03337 ],\n",
+ " [137.1597 ],\n",
+ " [137.44832 ],\n",
+ " [139.41951 ],\n",
+ " [136.66068 ],\n",
+ " [132.5777 ],\n",
+ " [130.34929 ],\n",
+ " [132.30188 ],\n",
+ " [132.89688 ],\n",
+ " [132.95148 ],\n",
+ " [134.31592 ],\n",
+ " [137.96603 ],\n",
+ " [139.76714 ],\n",
+ " [140.07608 ],\n",
+ " [140.98985 ],\n",
+ " [138.73506 ],\n",
+ " [137.34479 ],\n",
+ " [138.1294 ],\n",
+ " [138.71614 ],\n",
+ " [136.49297 ],\n",
+ " [132.22508 ],\n",
+ " [127.27241 ],\n",
+ " [125.2257 ],\n",
+ " [126.2446 ],\n",
+ " [124.97097 ],\n",
+ " [124.55616 ],\n",
+ " [126.50035 ],\n",
+ " [127.64968 ],\n",
+ " [129.32297 ],\n",
+ " [131.73563 ],\n",
+ " [132.96342 ],\n",
+ " [131.20856 ],\n",
+ " [130.49635 ],\n",
+ " [129.19012 ],\n",
+ " [129.54077 ],\n",
+ " [131.38232 ],\n",
+ " [133.29425 ],\n",
+ " [135.8597 ],\n",
+ " [137.5194 ],\n",
+ " [137.02925 ],\n",
+ " [136.74602 ],\n",
+ " [136.46967 ],\n",
+ " [137.80101 ],\n",
+ " [139.6516 ],\n",
+ " [139.21141 ],\n",
+ " [140.3771 ],\n",
+ " [142.24908 ],\n",
+ " [144.42033 ],\n",
+ " [144.91075 ],\n",
+ " [144.21297 ],\n",
+ " [142.96373 ],\n",
+ " [144.7575 ],\n",
+ " [146.60002 ],\n",
+ " [150.01605 ],\n",
+ " [151.48528 ],\n",
+ " [151.00468 ],\n",
+ " [153.24426 ],\n",
+ " [154.72937 ],\n",
+ " [155.19388 ],\n",
+ " [154.96623 ],\n",
+ " [154.75244 ],\n",
+ " [156.78044 ],\n",
+ " [157.91129 ],\n",
+ " [160.03844 ],\n",
+ " [161.77184 ],\n",
+ " [162.41637 ],\n",
+ " [163.20088 ],\n",
+ " [163.39719 ],\n",
+ " [162.11401 ],\n",
+ " [159.32466 ],\n",
+ " [157.58696 ],\n",
+ " [157.2254 ],\n",
+ " [158.6606 ],\n",
+ " [156.68977 ],\n",
+ " [153.966 ],\n",
+ " [151.29984 ],\n",
+ " [149.26413 ],\n",
+ " [148.83589 ],\n",
+ " [147.9843 ],\n",
+ " [146.88142 ],\n",
+ " [146.95084 ],\n",
+ " [146.47522 ],\n",
+ " [147.48404 ],\n",
+ " [151.13504 ],\n",
+ " [148.77148 ],\n",
+ " [146.98505 ],\n",
+ " [144.76213 ],\n",
+ " [142.84396 ],\n",
+ " [143.85796 ],\n",
+ " [146.19406 ],\n",
+ " [146.09335 ],\n",
+ " [145.00154 ],\n",
+ " [143.08832 ],\n",
+ " [142.13942 ],\n",
+ " [142.38586 ],\n",
+ " [141.88156 ],\n",
+ " [137.98329 ],\n",
+ " [133.34639 ],\n",
+ " [132.9937 ],\n",
+ " [135.57085 ],\n",
+ " [137.65616 ],\n",
+ " [138.0377 ],\n",
+ " [135.1837 ],\n",
+ " [133.16104 ],\n",
+ " [131.64621 ],\n",
+ " [130.76477 ],\n",
+ " [132.72693 ],\n",
+ " [132.1253 ],\n",
+ " [133.17056 ],\n",
+ " [134.60583 ],\n",
+ " [135.39488 ],\n",
+ " [135.35382 ],\n",
+ " [136.94914 ],\n",
+ " [139.08543 ],\n",
+ " [141.59848 ],\n",
+ " [141.4215 ],\n",
+ " [138.54715 ],\n",
+ " [141.7925 ],\n",
+ " [143.57834 ],\n",
+ " [142.90562 ],\n",
+ " [139.3544 ],\n",
+ " [134.11696 ],\n",
+ " [131.18259 ],\n",
+ " [130.66312 ],\n",
+ " [131.36241 ],\n",
+ " [129.83241 ],\n",
+ " [134.28699 ],\n",
+ " [139.02615 ],\n",
+ " [140.59543 ],\n",
+ " [141.31912 ],\n",
+ " [140.7242 ],\n",
+ " [141.01524 ],\n",
+ " [141.62572 ],\n",
+ " [140.4705 ],\n",
+ " [140.62383 ],\n",
+ " [141.45366 ],\n",
+ " [140.64285 ],\n",
+ " [138.07454 ],\n",
+ " [135.03008 ],\n",
+ " [136.78284 ],\n",
+ " [138.87863 ],\n",
+ " [139.76576 ],\n",
+ " [139.30757 ],\n",
+ " [136.94374 ],\n",
+ " [134.41805 ],\n",
+ " [133.99426 ],\n",
+ " [134.07336 ],\n",
+ " [135.38423 ],\n",
+ " [136.75066 ],\n",
+ " [136.30511 ],\n",
+ " [132.44199 ],\n",
+ " [128.85435 ],\n",
+ " [126.189 ],\n",
+ " [125.16018 ],\n",
+ " [126.5976 ],\n",
+ " [126.348755],\n",
+ " [125.65206 ],\n",
+ " [124.26864 ],\n",
+ " [121.50702 ],\n",
+ " [121.517105],\n",
+ " [122.28486 ],\n",
+ " [120.54408 ],\n",
+ " [119.71803 ],\n",
+ " [118.845634],\n",
+ " [120.572624],\n",
+ " [122.2263 ],\n",
+ " [123.25515 ],\n",
+ " [124.846634],\n",
+ " [125.63352 ],\n",
+ " [126.42568 ],\n",
+ " [127.33275 ],\n",
+ " [127.441536],\n",
+ " [127.3522 ],\n",
+ " [128.5144 ],\n",
+ " [130.92244 ],\n",
+ " [133.06049 ],\n",
+ " [133.70468 ],\n",
+ " [134.6564 ],\n",
+ " [136.10146 ],\n",
+ " [135.51921 ],\n",
+ " [135.43266 ],\n",
+ " [136.06842 ],\n",
+ " [139.16168 ],\n",
+ " [142.98431 ],\n",
+ " [143.64276 ],\n",
+ " [144.61855 ],\n",
+ " [143.79022 ],\n",
+ " [142.51826 ],\n",
+ " [142.03625 ],\n",
+ " [143.42294 ],\n",
+ " [144.26277 ],\n",
+ " [145.61676 ],\n",
+ " [145.59142 ],\n",
+ " [144.71417 ],\n",
+ " [142.14867 ],\n",
+ " [140.78973 ],\n",
+ " [140.68835 ],\n",
+ " [139.70047 ],\n",
+ " [139.65727 ],\n",
+ " [139.60103 ],\n",
+ " [138.56479 ],\n",
+ " [138.12062 ],\n",
+ " [140.46393 ],\n",
+ " [143.52419 ],\n",
+ " [144.03406 ],\n",
+ " [144.24753 ],\n",
+ " [143.10635 ],\n",
+ " [141.24942 ],\n",
+ " [141.17354 ],\n",
+ " [142.60019 ],\n",
+ " [143.86453 ],\n",
+ " [145.82211 ],\n",
+ " [146.46548 ],\n",
+ " [147.60179 ],\n",
+ " [149.11034 ],\n",
+ " [149.1935 ],\n",
+ " [149.4463 ],\n",
+ " [150.23679 ],\n",
+ " [149.80609 ],\n",
+ " [149.06763 ],\n",
+ " [150.18065 ],\n",
+ " [151.91696 ],\n",
+ " [154.13588 ],\n",
+ " [155.8921 ],\n",
+ " [156.32396 ],\n",
+ " [155.29755 ],\n",
+ " [154.91913 ],\n",
+ " [153.63564 ],\n",
+ " [152.30832 ],\n",
+ " [151.39546 ],\n",
+ " [153.75465 ],\n",
+ " [155.45483 ],\n",
+ " [156.13667 ],\n",
+ " [156.77795 ],\n",
+ " [157.57443 ],\n",
+ " [157.47859 ],\n",
+ " [156.44214 ],\n",
+ " [155.90424 ],\n",
+ " [155.03163 ],\n",
+ " [154.59369 ],\n",
+ " [156.76845 ],\n",
+ " [158.99991 ],\n",
+ " [160.01816 ],\n",
+ " [159.66959 ],\n",
+ " [158.62596 ],\n",
+ " [157.1636 ],\n",
+ " [160.18106 ],\n",
+ " [162.57355 ],\n",
+ " [162.75958 ],\n",
+ " [163.19527 ],\n",
+ " [163.49704 ],\n",
+ " [163.15524 ],\n",
+ " [162.63199 ],\n",
+ " [162.37576 ],\n",
+ " [162.65497 ],\n",
+ " [164.08833 ],\n",
+ " [165.08344 ],\n",
+ " [164.98892 ],\n",
+ " [163.40302 ],\n",
+ " [162.4659 ],\n",
+ " [162.74083 ],\n",
+ " [164.36438 ],\n",
+ " [166.35463 ],\n",
+ " [167.32997 ],\n",
+ " [168.90752 ],\n",
+ " [170.13422 ],\n",
+ " [169.9313 ],\n",
+ " [169.3305 ],\n",
+ " [168.28859 ],\n",
+ " [169.0918 ],\n",
+ " [170.10289 ],\n",
+ " [172.05472 ],\n",
+ " [172.93272 ],\n",
+ " [173.4106 ],\n",
+ " [174.52008 ],\n",
+ " [174.6215 ],\n",
+ " [174.50557 ],\n",
+ " [173.89647 ],\n",
+ " [175.02473 ],\n",
+ " [175.7919 ],\n",
+ " [175.41849 ],\n",
+ " [176.37158 ],\n",
+ " [177.67288 ],\n",
+ " [178.52988 ],\n",
+ " [180.97188 ],\n",
+ " [181.66731 ],\n",
+ " [181.05219 ],\n",
+ " [180.69696 ],\n",
+ " [180.04276 ],\n",
+ " [178.71399 ],\n",
+ " [177.75386 ],\n",
+ " [178.2707 ],\n",
+ " [179.25348 ],\n",
+ " [179.91132 ],\n",
+ " [181.7524 ],\n",
+ " [182.68256 ],\n",
+ " [183.55586 ],\n",
+ " [182.92528 ],\n",
+ " [181.7127 ],\n",
+ " [181.4273 ],\n",
+ " [181.95517 ],\n",
+ " [182.85559 ],\n",
+ " [182.74896 ],\n",
+ " [183.7723 ],\n",
+ " [184.7674 ],\n",
+ " [184.80365 ],\n",
+ " [183.11214 ],\n",
+ " [181.26935 ],\n",
+ " [175.91112 ],\n",
+ " [171.23895 ],\n",
+ " [169.75917 ],\n",
+ " [169.09625 ],\n",
+ " [168.95462 ],\n",
+ " [169.02599 ],\n",
+ " [169.8588 ],\n",
+ " [169.33496 ],\n",
+ " [168.27948 ],\n",
+ " [166.329 ],\n",
+ " [165.42227 ],\n",
+ " [165.86581 ],\n",
+ " [167.05142 ],\n",
+ " [169.65428 ],\n",
+ " [168.80594 ],\n",
+ " [168.7039 ],\n",
+ " [169.50775 ],\n",
+ " [171.99263 ],\n",
+ " [175.2343 ],\n",
+ " [176.98492 ],\n",
+ " [178.20526 ],\n",
+ " [178.71158 ],\n",
+ " [175.4464 ],\n",
+ " [170.55438 ],\n",
+ " [168.31084 ],\n",
+ " [168.54926 ],\n",
+ " [167.86357 ],\n",
+ " [166.41685 ],\n",
+ " [166.3226 ],\n",
+ " [166.18898 ],\n",
+ " [167.54308 ],\n",
+ " [168.97882 ],\n",
+ " [167.86012 ],\n",
+ " [165.96082 ],\n",
+ " [165.26704 ],\n",
+ " [165.83377 ],\n",
+ " [164.395 ],\n",
+ " [162.56943 ],\n",
+ " [161.74973 ],\n",
+ " [161.85431 ],\n",
+ " [163.36372 ],\n",
+ " [163.70984 ],\n",
+ " [164.20241 ],\n",
+ " [165.00775 ],\n",
+ " [166.666 ],\n",
+ " [168.31921 ],\n",
+ " [168.7618 ],\n",
+ " [169.35954 ],\n",
+ " [170.08688 ],\n",
+ " [169.54984 ],\n",
+ " [168.98668 ],\n",
+ " [167.97615 ],\n",
+ " [166.8218 ],\n",
+ " [166.12077 ],\n",
+ " [164.68684 ],\n",
+ " [163.96704 ],\n",
+ " [164.02327 ],\n",
+ " [163.09975 ],\n",
+ " [160.41388 ],\n",
+ " [159.40852 ],\n",
+ " [160.29938 ],\n",
+ " [161.38318 ],\n",
+ " [163.47798 ],\n",
+ " [166.36647 ],\n",
+ " [167.35545 ],\n",
+ " [168.57877 ],\n",
+ " [170.37549 ],\n",
+ " [171.82321 ],\n",
+ " [172.17455 ],\n",
+ " [174.17375 ],\n",
+ " [174.6743 ],\n",
+ " [175.92186 ],\n",
+ " [176.94917 ],\n",
+ " [178.24821 ],\n",
+ " [178.91852 ],\n",
+ " [179.98425 ],\n",
+ " [180.177 ],\n",
+ " [180.43979 ],\n",
+ " [179.93875 ],\n",
+ " [179.49767 ],\n",
+ " [179.64551 ],\n",
+ " [179.37915 ],\n",
+ " [179.49567 ],\n",
+ " [180.28404 ],\n",
+ " [179.91383 ],\n",
+ " [181.46542 ],\n",
+ " [182.02493 ],\n",
+ " [183.03487 ],\n",
+ " [184.26987 ],\n",
+ " [183.6202 ],\n",
+ " [183.666 ],\n",
+ " [185.423 ],\n",
+ " [186.69041 ],\n",
+ " [186.9219 ],\n",
+ " [185.96573 ],\n",
+ " [185.78836 ],\n",
+ " [184.84795 ],\n",
+ " [184.23412 ],\n",
+ " [183.5264 ],\n",
+ " [182.95517 ],\n",
+ " [182.80067 ],\n",
+ " [183.0491 ],\n",
+ " [182.73781 ],\n",
+ " [179.08102 ],\n",
+ " [176.00179 ],\n",
+ " [173.55586 ],\n",
+ " [172.27266 ],\n",
+ " [174.13289 ],\n",
+ " [175.4811 ],\n",
+ " [176.48547 ],\n",
+ " [176.47517 ],\n",
+ " [176.3137 ],\n",
+ " [175.00507 ],\n",
+ " [173.66008 ],\n",
+ " [175.94333 ],\n",
+ " [179.23315 ],\n",
+ " [182.13162 ],\n",
+ " [183.95703 ],\n",
+ " [184.14102 ],\n",
+ " [183.64545 ],\n",
+ " [182.39009 ],\n",
+ " [181.3534 ],\n",
+ " [179.18065 ],\n",
+ " [176.24814 ],\n",
+ " [176.02502 ],\n",
+ " [176.08305 ],\n",
+ " [177.14569 ],\n",
+ " [178.64316 ],\n",
+ " [179.44078 ],\n",
+ " [179.05508 ],\n",
+ " [178.9321 ],\n",
+ " [178.047 ],\n",
+ " [176.43771 ],\n",
+ " [175.11562 ],\n",
+ " [174.4546 ],\n",
+ " [173.57452 ],\n",
+ " [172.78862 ],\n",
+ " [172.82796 ],\n",
+ " [174.02814 ],\n",
+ " [173.91026 ],\n",
+ " [172.87642 ],\n",
+ " [172.86984 ],\n",
+ " [172.46486 ],\n",
+ " [171.86842 ],\n",
+ " [171.0106 ],\n",
+ " [168.32646 ],\n",
+ " [164.27171 ],\n",
+ " [161.62701 ],\n",
+ " [160.69109 ],\n",
+ " [161.53905 ],\n",
+ " [163.33345 ],\n",
+ " [164.57278 ],\n",
+ " [163.91188 ],\n",
+ " [163.99486 ],\n",
+ " [163.91748 ],\n",
+ " [164.35458 ],\n",
+ " [165.80264 ],\n",
+ " [167.95193 ],\n",
+ " [165.51385 ],\n",
+ " [163.81845 ],\n",
+ " [162.45877 ],\n",
+ " [161.40639 ],\n",
+ " [162.80447 ],\n",
+ " [163.13757 ],\n",
+ " [162.37775 ],\n",
+ " [161.1701 ],\n",
+ " [160.87657 ],\n",
+ " [160.52957 ],\n",
+ " [160.73938 ],\n",
+ " [160.4027 ],\n",
+ " [160.71408 ],\n",
+ " [160.05743 ],\n",
+ " [163.07172 ],\n",
+ " [165.98524 ],\n",
+ " [165.41917 ],\n",
+ " [162.72163 ],\n",
+ " [160.27327 ],\n",
+ " [158.74109 ],\n",
+ " [157.31993 ],\n",
+ " [157.17769 ],\n",
+ " [157.95705 ],\n",
+ " [159.57701 ],\n",
+ " [160.91638 ],\n",
+ " [161.13524 ],\n",
+ " [162.96884 ],\n",
+ " [162.56097 ],\n",
+ " [161.36208 ],\n",
+ " [162.41997 ],\n",
+ " [168.47975 ],\n",
+ " [171.59248 ],\n",
+ " [172.72444 ],\n",
+ " [172.8761 ],\n",
+ " [173.5775 ],\n",
+ " [173.40776 ],\n",
+ " [174.79399 ],\n",
+ " [176.39174 ],\n",
+ " [178.37146 ],\n",
+ " [179.45264 ],\n",
+ " [179.7849 ],\n",
+ " [180.35526 ],\n",
+ " [181.33112 ],\n",
+ " [181.18607 ],\n",
+ " [178.93736 ],\n",
+ " [179.01724 ],\n",
+ " [179.59653 ],\n",
+ " [180.20038 ],\n",
+ " [181.00714 ],\n",
+ " [181.89253 ],\n",
+ " [183.17957 ],\n",
+ " [183.98969 ],\n",
+ " [184.989 ],\n",
+ " [184.77339 ],\n",
+ " [185.60263 ],\n",
+ " [184.3348 ],\n",
+ " [190.28697 ],\n",
+ " [197.47517 ],\n",
+ " [201.60826 ],\n",
+ " [201.84375 ],\n",
+ " [203.0681 ],\n",
+ " [202.5693 ],\n",
+ " [199.76015 ],\n",
+ " [197.01894 ],\n",
+ " [196.2488 ],\n",
+ " [196.94629 ],\n",
+ " [199.80003 ],\n",
+ " [202.03262 ],\n",
+ " [201.17242 ],\n",
+ " [203.1214 ],\n",
+ " [206.26088 ],\n",
+ " [208.55864 ],\n",
+ " [211.77257 ],\n",
+ " [214.07442 ],\n",
+ " [215.30461 ],\n",
+ " [217.74695 ],\n",
+ " [216.36249 ],\n",
+ " [216.49382 ],\n",
+ " [218.81937 ],\n",
+ " [220.618 ],\n",
+ " [218.41182 ],\n",
+ " [214.2882 ],\n",
+ " [212.14203 ],\n",
+ " [211.5117 ],\n",
+ " [212.21582 ],\n",
+ " [209.66545 ],\n",
+ " [207.3627 ],\n",
+ " [206.57944 ],\n",
+ " [206.698 ],\n",
+ " [207.23482 ],\n",
+ " [209.17555 ],\n",
+ " [208.41922 ],\n",
+ " [208.20653 ],\n",
+ " [202.85268 ],\n",
+ " [198.36572 ],\n",
+ " [197.802 ],\n",
+ " [200.21027 ],\n",
+ " [203.47873 ],\n",
+ " [205.88658 ]], dtype=float32)"
+ ]
+ },
+ "execution_count": 47,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "inv_predictions = scaler.inverse_transform(predictions)\n",
+ "inv_predictions"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Inversing the scaling transformation for the actual test data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 48,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "array([[110.90752411],\n",
+ " [109.45142365],\n",
+ " [112.73497009],\n",
+ " [112.91087341],\n",
+ " [109.57845306],\n",
+ " [107.82920074],\n",
+ " [104.40882874],\n",
+ " [107.57511902],\n",
+ " [109.2657547 ],\n",
+ " [104.68245697],\n",
+ " [105.75743103],\n",
+ " [109.72505951],\n",
+ " [112.34407043],\n",
+ " [111.4938736 ],\n",
+ " [113.17472839],\n",
+ " [114.13244629],\n",
+ " [110.4482193 ],\n",
+ " [113.84902191],\n",
+ " [110.58502197],\n",
+ " [112.46134186],\n",
+ " [112.35383606],\n",
+ " [114.30833435],\n",
+ " [121.56925201],\n",
+ " [118.34433746],\n",
+ " [118.43231201],\n",
+ " [117.96321869],\n",
+ " [116.31168365],\n",
+ " [113.34087372],\n",
+ " [114.83604431],\n",
+ " [114.21060181],\n",
+ " [113.11608887],\n",
+ " [112.42224121],\n",
+ " [112.43201447],\n",
+ " [113.94676208],\n",
+ " [108.66962433],\n",
+ " [112.6958847 ],\n",
+ " [106.38288116],\n",
+ " [106.29491425],\n",
+ " [107.92694092],\n",
+ " [112.33428192],\n",
+ " [116.32144928],\n",
+ " [116.18930054],\n",
+ " [113.86923218],\n",
+ " [113.52661896],\n",
+ " [116.97242737],\n",
+ " [116.69834137],\n",
+ " [116.74730682],\n",
+ " [117.76537323],\n",
+ " [116.87456512],\n",
+ " [115.54321289],\n",
+ " [116.14035034],\n",
+ " [114.86772919],\n",
+ " [111.45128632],\n",
+ " [112.74346161],\n",
+ " [113.58533478],\n",
+ " [114.13355255],\n",
+ " [116.54171753],\n",
+ " [120.13439178],\n",
+ " [120.48681641],\n",
+ " [120.34976959],\n",
+ " [119.67429352],\n",
+ " [121.1427002 ],\n",
+ " [121.75942993],\n",
+ " [119.21418762],\n",
+ " [120.64344025],\n",
+ " [119.83091736],\n",
+ " [119.21418762],\n",
+ " [125.1856842 ],\n",
+ " [125.11713409],\n",
+ " [125.98838806],\n",
+ " [123.99138641],\n",
+ " [125.52829742],\n",
+ " [129.10139465],\n",
+ " [128.20083618],\n",
+ " [129.18948364],\n",
+ " [133.81004333],\n",
+ " [132.02838135],\n",
+ " [130.90263367],\n",
+ " [129.89433289],\n",
+ " [126.68344879],\n",
+ " [128.24971008],\n",
+ " [123.93263245],\n",
+ " [128.16163635],\n",
+ " [129.26780701],\n",
+ " [126.26251221],\n",
+ " [126.08629608],\n",
+ " [128.13224792],\n",
+ " [126.19396973],\n",
+ " [124.46126556],\n",
+ " [125.13674164],\n",
+ " [129.24824524],\n",
+ " [133.98625183],\n",
+ " [136.13989258],\n",
+ " [139.90878296],\n",
+ " [140.14376831],\n",
+ " [139.06692505],\n",
+ " [134.20162964],\n",
+ " [129.17973328],\n",
+ " [131.313797 ],\n",
+ " [132.14590454],\n",
+ " [131.11799622],\n",
+ " [134.49531555],\n",
+ " [134.07862854],\n",
+ " [134.22570801],\n",
+ " [133.3433075 ],\n",
+ " [132.73550415],\n",
+ " [132.48059082],\n",
+ " [132.71586609],\n",
+ " [130.5786438 ],\n",
+ " [128.27470398],\n",
+ " [127.16686249],\n",
+ " [127.32371521],\n",
+ " [123.52960968],\n",
+ " [123.39235687],\n",
+ " [122.89234161],\n",
+ " [118.61782837],\n",
+ " [118.88254547],\n",
+ " [125.28450775],\n",
+ " [122.66685486],\n",
+ " [119.66684723],\n",
+ " [117.77468109],\n",
+ " [119.03939056],\n",
+ " [114.07859802],\n",
+ " [118.71586609],\n",
+ " [117.62762451],\n",
+ " [119.56880188],\n",
+ " [118.65705109],\n",
+ " [121.55901337],\n",
+ " [123.1080246 ],\n",
+ " [122.31391907],\n",
+ " [118.16684723],\n",
+ " [117.63743591],\n",
+ " [120.97077179],\n",
+ " [120.13743591],\n",
+ " [117.73547363],\n",
+ " [118.22566986],\n",
+ " [118.83351135],\n",
+ " [119.00997162],\n",
+ " [117.54920197],\n",
+ " [119.75509644],\n",
+ " [120.58843231],\n",
+ " [123.43156433],\n",
+ " [123.73548889],\n",
+ " [125.39234924],\n",
+ " [127.80412292],\n",
+ " [130.39234924],\n",
+ " [128.66685486],\n",
+ " [131.79434204],\n",
+ " [129.44137573],\n",
+ " [131.86296082],\n",
+ " [131.52961731],\n",
+ " [132.19628906],\n",
+ " [130.50019836],\n",
+ " [130.88253784],\n",
+ " [129.35316467],\n",
+ " [131.68647766],\n",
+ " [132.07862854],\n",
+ " [131.75509644],\n",
+ " [130.96098328],\n",
+ " [130.8629303 ],\n",
+ " [128.88253784],\n",
+ " [129.94136047],\n",
+ " [125.34333801],\n",
+ " [125.58843994],\n",
+ " [127.19629669],\n",
+ " [127.87387085],\n",
+ " [124.57417297],\n",
+ " [123.65103912],\n",
+ " [120.56736755],\n",
+ " [122.72790527],\n",
+ " [125.16339874],\n",
+ " [124.0045929 ],\n",
+ " [122.61006165],\n",
+ " [122.45293427],\n",
+ " [125.02590942],\n",
+ " [123.17964935],\n",
+ " [124.81969452],\n",
+ " [124.62327576],\n",
+ " [124.57417297],\n",
+ " [123.032341 ],\n",
+ " [122.3743515 ],\n",
+ " [122.05027008],\n",
+ " [122.81628418],\n",
+ " [121.32354736],\n",
+ " [123.63139343],\n",
+ " [123.64122009],\n",
+ " [124.46614838],\n",
+ " [124.84914398],\n",
+ " [123.84745789],\n",
+ " [125.06520081],\n",
+ " [128.13905334],\n",
+ " [127.31414795],\n",
+ " [127.81497192],\n",
+ " [129.42556763],\n",
+ " [128.11941528],\n",
+ " [129.92637634],\n",
+ " [131.57624817],\n",
+ " [131.30126953],\n",
+ " [131.01649475],\n",
+ " [130.72184753],\n",
+ " [132.36187744],\n",
+ " [133.88412476],\n",
+ " [134.50279236],\n",
+ " [134.80723572],\n",
+ " [137.44897461],\n",
+ " [139.47200012],\n",
+ " [141.97625732],\n",
+ " [140.6701355 ],\n",
+ " [142.50656128],\n",
+ " [141.90751648],\n",
+ " [143.02705383],\n",
+ " [146.47409058],\n",
+ " [145.81611633],\n",
+ " [143.76361084],\n",
+ " [139.89431763],\n",
+ " [143.52792358],\n",
+ " [142.7913208 ],\n",
+ " [144.16624451],\n",
+ " [145.8946991 ],\n",
+ " [146.31695557],\n",
+ " [144.13679504],\n",
+ " [142.37889099],\n",
+ " [143.02705383],\n",
+ " [143.24308777],\n",
+ " [142.90919495],\n",
+ " [144.71621704],\n",
+ " [144.31355286],\n",
+ " [144.42155457],\n",
+ " [143.7331543 ],\n",
+ " [143.68392944],\n",
+ " [143.20202637],\n",
+ " [143.45773315],\n",
+ " [146.43782043],\n",
+ " [146.6443634 ],\n",
+ " [148.63110352],\n",
+ " [147.71641541],\n",
+ " [143.94950867],\n",
+ " [144.28390503],\n",
+ " [145.74934387],\n",
+ " [147.24432373],\n",
+ " [147.15576172],\n",
+ " [145.91653442],\n",
+ " [145.11006165],\n",
+ " [146.15258789],\n",
+ " [150.59815979],\n",
+ " [149.32943726],\n",
+ " [149.9981842 ],\n",
+ " [151.11941528],\n",
+ " [151.75871277],\n",
+ " [154.109375 ],\n",
+ " [152.55540466],\n",
+ " [151.5324707 ],\n",
+ " [146.51651001],\n",
+ " [147.08695984],\n",
+ " [145.6804657 ],\n",
+ " [146.57554626],\n",
+ " [146.33944702],\n",
+ " [143.65447998],\n",
+ " [140.58583069],\n",
+ " [141.06774902],\n",
+ " [143.44789124],\n",
+ " [144.41175842],\n",
+ " [144.5002594 ],\n",
+ " [142.97581482],\n",
+ " [139.57278442],\n",
+ " [140.47763062],\n",
+ " [139.16952515],\n",
+ " [140.30058289],\n",
+ " [136.84843445],\n",
+ " [138.78596497],\n",
+ " [139.6612854 ],\n",
+ " [140.93003845],\n",
+ " [140.54646301],\n",
+ " [140.45794678],\n",
+ " [139.17935181],\n",
+ " [138.58926392],\n",
+ " [141.39228821],\n",
+ " [142.45452881],\n",
+ " [144.13639832],\n",
+ " [146.30996704],\n",
+ " [146.80172729],\n",
+ " [147.01809692],\n",
+ " [146.24111938],\n",
+ " [146.19195557],\n",
+ " [146.86073303],\n",
+ " [146.39846802],\n",
+ " [150.05723572],\n",
+ " [147.33282471],\n",
+ " [146.50666809],\n",
+ " [147.54919434],\n",
+ " [148.99499512],\n",
+ " [148.47372437],\n",
+ " [149.00561523],\n",
+ " [148.17825317],\n",
+ " [148.54267883],\n",
+ " [145.69613647],\n",
+ " [145.64686584],\n",
+ " [147.73503113],\n",
+ " [147.74485779],\n",
+ " [148.72984314],\n",
+ " [151.18241882],\n",
+ " [155.49653625],\n",
+ " [158.13627625],\n",
+ " [158.59916687],\n",
+ " [158.98330688],\n",
+ " [159.50532532],\n",
+ " [154.45248413],\n",
+ " [157.8309021 ],\n",
+ " [162.81484985],\n",
+ " [162.29281616],\n",
+ " [161.29800415],\n",
+ " [159.40684509],\n",
+ " [162.83453369],\n",
+ " [168.60639954],\n",
+ " [172.44778442],\n",
+ " [171.93560791],\n",
+ " [176.75209045],\n",
+ " [173.09786987],\n",
+ " [171.70907593],\n",
+ " [176.60437012],\n",
+ " [169.67019653],\n",
+ " [168.56703186],\n",
+ " [167.19796753],\n",
+ " [170.38920593],\n",
+ " [172.99940491],\n",
+ " [173.62979126],\n",
+ " [177.61888123],\n",
+ " [176.59449768],\n",
+ " [176.6831665 ],\n",
+ " [175.52090454],\n",
+ " [174.90037537],\n",
+ " [179.27360535],\n",
+ " [176.99833679],\n",
+ " [172.29020691],\n",
+ " [169.41410828],\n",
+ " [169.58154297],\n",
+ " [169.60125732],\n",
+ " [172.44778442],\n",
+ " [172.89103699],\n",
+ " [169.60125732],\n",
+ " [170.46801758],\n",
+ " [167.24716187],\n",
+ " [163.73085022],\n",
+ " [162.03671265],\n",
+ " [159.96827698],\n",
+ " [159.19015503],\n",
+ " [157.37782288],\n",
+ " [157.28919983],\n",
+ " [156.82626343],\n",
+ " [167.76922607],\n",
+ " [172.15231323],\n",
+ " [171.98486328],\n",
+ " [173.19638062],\n",
+ " [170.30056763],\n",
+ " [170.0145874 ],\n",
+ " [169.29464722],\n",
+ " [172.42094421],\n",
+ " [173.85099792],\n",
+ " [169.74830627],\n",
+ " [166.31625366],\n",
+ " [166.55293274],\n",
+ " [170.40908813],\n",
+ " [170.1723938 ],\n",
+ " [166.55293274],\n",
+ " [164.99472046],\n",
+ " [162.05578613],\n",
+ " [157.86433411],\n",
+ " [160.49752808],\n",
+ " [162.57847595],\n",
+ " [162.84475708],\n",
+ " [160.95120239],\n",
+ " [164.2649231 ],\n",
+ " [163.93943787],\n",
+ " [160.92163086],\n",
+ " [157.10498047],\n",
+ " [155.27056885],\n",
+ " [160.70466614],\n",
+ " [156.33569336],\n",
+ " [152.59790039],\n",
+ " [148.54455566],\n",
+ " [152.95295715],\n",
+ " [157.39094543],\n",
+ " [158.4067688 ],\n",
+ " [161.72045898],\n",
+ " [163.10118103],\n",
+ " [166.49378967],\n",
+ " [167.86459351],\n",
+ " [171.67140198],\n",
+ " [172.31245422],\n",
+ " [173.18035889],\n",
+ " [176.49404907],\n",
+ " [175.32044983],\n",
+ " [172.20397949],\n",
+ " [171.90811157],\n",
+ " [175.98121643],\n",
+ " [172.64779663],\n",
+ " [169.46228027],\n",
+ " [169.76803589],\n",
+ " [167.7462616 ],\n",
+ " [163.46604919],\n",
+ " [165.3497467 ],\n",
+ " [168.05197144],\n",
+ " [163.0124054 ],\n",
+ " [162.79545593],\n",
+ " [165.09335327],\n",
+ " [164.92570496],\n",
+ " [164.12684631],\n",
+ " [159.56060791],\n",
+ " [160.63562012],\n",
+ " [154.63938904],\n",
+ " [154.41259766],\n",
+ " [161.38516235],\n",
+ " [155.47766113],\n",
+ " [155.78338623],\n",
+ " [157.2824707 ],\n",
+ " [163.7323761 ],\n",
+ " [154.6098175 ],\n",
+ " [155.34068298],\n",
+ " [150.18505859],\n",
+ " [152.60484314],\n",
+ " [144.69361877],\n",
+ " [140.80215454],\n",
+ " [145.29606628],\n",
+ " [143.74543762],\n",
+ " [147.39981079],\n",
+ " [139.08366394],\n",
+ " [135.65643311],\n",
+ " [135.89343262],\n",
+ " [141.34539795],\n",
+ " [138.62930298],\n",
+ " [138.78735352],\n",
+ " [142.00714111],\n",
+ " [147.79489136],\n",
+ " [147.00474548],\n",
+ " [146.87634277],\n",
+ " [149.34555054],\n",
+ " [143.58740234],\n",
+ " [144.33804321],\n",
+ " [146.87634277],\n",
+ " [146.13560486],\n",
+ " [140.88117981],\n",
+ " [135.43914795],\n",
+ " [130.25386047],\n",
+ " [131.12301636],\n",
+ " [133.76008606],\n",
+ " [128.45632935],\n",
+ " [129.93783569],\n",
+ " [134.19465637],\n",
+ " [133.68110657],\n",
+ " [136.56507874],\n",
+ " [139.9132843 ],\n",
+ " [139.9132843 ],\n",
+ " [135.74533081],\n",
+ " [137.51325989],\n",
+ " [135.03417969],\n",
+ " [137.21691895],\n",
+ " [139.81452942],\n",
+ " [141.15774536],\n",
+ " [144.54544067],\n",
+ " [145.22694397],\n",
+ " [143.08370972],\n",
+ " [144.06149292],\n",
+ " [143.69606018],\n",
+ " [146.639328 ],\n",
+ " [148.31832886],\n",
+ " [145.2565918 ],\n",
+ " [149.13813782],\n",
+ " [151.1529541 ],\n",
+ " [153.4344635 ],\n",
+ " [152.1900177 ],\n",
+ " [151.06407166],\n",
+ " [149.73071289],\n",
+ " [154.85671997],\n",
+ " [155.40982056],\n",
+ " [160.50617981],\n",
+ " [159.51852417],\n",
+ " [158.03701782],\n",
+ " [164.08157349],\n",
+ " [163.76551819],\n",
+ " [163.53804016],\n",
+ " [163.06329346],\n",
+ " [163.11273193],\n",
+ " [167.38540649],\n",
+ " [166.64360046],\n",
+ " [170.21405029],\n",
+ " [171.29212952],\n",
+ " [171.13388062],\n",
+ " [172.63720703],\n",
+ " [172.24159241],\n",
+ " [169.64041138],\n",
+ " [165.73371887],\n",
+ " [165.39743042],\n",
+ " [165.69412231],\n",
+ " [168.16673279],\n",
+ " [161.82698059],\n",
+ " [159.61152649],\n",
+ " [157.1685791 ],\n",
+ " [155.49711609],\n",
+ " [156.22901917],\n",
+ " [154.10255432],\n",
+ " [152.83659363],\n",
+ " [154.25091553],\n",
+ " [152.7673645 ],\n",
+ " [155.64547729],\n",
+ " [161.63908386],\n",
+ " [152.15415955],\n",
+ " [153.60804749],\n",
+ " [150.70027161],\n",
+ " [149.04855347],\n",
+ " [152.78715515],\n",
+ " [155.18061829],\n",
+ " [152.03546143],\n",
+ " [151.06622314],\n",
+ " [148.7815094 ],\n",
+ " [149.11781311],\n",
+ " [150.09695435],\n",
+ " [148.19796753],\n",
+ " [140.9186554 ],\n",
+ " [136.68554688],\n",
+ " [140.88899231],\n",
+ " [144.4989624 ],\n",
+ " [144.7956543 ],\n",
+ " [143.83630371],\n",
+ " [138.55484009],\n",
+ " [138.88122559],\n",
+ " [137.45700073],\n",
+ " [136.82398987],\n",
+ " [141.42308044],\n",
+ " [136.86358643],\n",
+ " [140.84941101],\n",
+ " [142.17474365],\n",
+ " [142.2835083 ],\n",
+ " [141.81866455],\n",
+ " [145.65615845],\n",
+ " [147.81225586],\n",
+ " [150.67060852],\n",
+ " [147.71336365],\n",
+ " [143.21322632],\n",
+ " [154.03334045],\n",
+ " [151.65965271],\n",
+ " [148.99911499],\n",
+ " [143.44070435],\n",
+ " [137.35809326],\n",
+ " [137.09060669],\n",
+ " [137.62556458],\n",
+ " [138.20018005],\n",
+ " [133.61331177],\n",
+ " [145.50149536],\n",
+ " [148.30513 ],\n",
+ " [146.89836121],\n",
+ " [148.64195251],\n",
+ " [147.40361023],\n",
+ " [149.31564331],\n",
+ " [149.88032532],\n",
+ " [146.63085938],\n",
+ " [148.78063965],\n",
+ " [149.66238403],\n",
+ " [146.72994995],\n",
+ " [142.87619019],\n",
+ " [139.85462952],\n",
+ " [146.65068054],\n",
+ " [146.92808533],\n",
+ " [146.43273926],\n",
+ " [145.26374817],\n",
+ " [141.57839966],\n",
+ " [139.62677002],\n",
+ " [141.32081604],\n",
+ " [140.83538818],\n",
+ " [143.14369202],\n",
+ " [144.11456299],\n",
+ " [141.87559509],\n",
+ " [135.2281189 ],\n",
+ " [133.25666809],\n",
+ " [131.13659668],\n",
+ " [131.06726074],\n",
+ " [134.18792725],\n",
+ " [130.99790955],\n",
+ " [130.63136292],\n",
+ " [128.81842041],\n",
+ " [124.86558533],\n",
+ " [128.40234375],\n",
+ " [128.71936035],\n",
+ " [123.90462494],\n",
+ " [125.18261719],\n",
+ " [123.85509491],\n",
+ " [128.4122467 ],\n",
+ " [128.93728638],\n",
+ " [129.51187134],\n",
+ " [132.2461853 ],\n",
+ " [132.16693115],\n",
+ " [133.5043335 ],\n",
+ " [134.67333984],\n",
+ " [133.95018005],\n",
+ " [134.00959778],\n",
+ " [136.58537292],\n",
+ " [139.79518127],\n",
+ " [141.20195007],\n",
+ " [140.53817749],\n",
+ " [142.61862183],\n",
+ " [144.57026672],\n",
+ " [141.66755676],\n",
+ " [142.94552612],\n",
+ " [144.0749054 ],\n",
+ " [149.41471863],\n",
+ " [153.06039429],\n",
+ " [150.31622314],\n",
+ " [153.20901489],\n",
+ " [150.50444031],\n",
+ " [149.4642334 ],\n",
+ " [149.8313446 ],\n",
+ " [152.64920044],\n",
+ " [152.00427246],\n",
+ " [154.11763 ],\n",
+ " [152.51026917],\n",
+ " [151.35932922],\n",
+ " [147.32110596],\n",
+ " [147.7477417 ],\n",
+ " [148.23390198],\n",
+ " [145.56492615],\n",
+ " [146.76545715],\n",
+ " [146.25942993],\n",
+ " [144.17584229],\n",
+ " [144.77116394],\n",
+ " [149.85119629],\n",
+ " [152.6293335 ],\n",
+ " [150.41673279],\n",
+ " [151.67683411],\n",
+ " [149.41462708],\n",
+ " [147.34094238],\n",
+ " [149.29556274],\n",
+ " [151.39901733],\n",
+ " [151.79589844],\n",
+ " [154.63356018],\n",
+ " [153.79019165],\n",
+ " [156.17146301],\n",
+ " [158.03678894],\n",
+ " [156.59814453],\n",
+ " [157.68951416],\n",
+ " [158.9992218 ],\n",
+ " [157.04460144],\n",
+ " [156.41950989],\n",
+ " [159.51516724],\n",
+ " [161.09275818],\n",
+ " [163.6129303 ],\n",
+ " [164.87301636],\n",
+ " [164.3372345 ],\n",
+ " [162.48182678],\n",
+ " [163.37483215],\n",
+ " [160.76533508],\n",
+ " [159.54493713],\n",
+ " [158.85041809],\n",
+ " [164.26777649],\n",
+ " [163.92051697],\n",
+ " [163.94035339],\n",
+ " [165.17068481],\n",
+ " [166.32164001],\n",
+ " [165.34924316],\n",
+ " [163.73200989],\n",
+ " [164.0395813 ],\n",
+ " [162.49176025],\n",
+ " [162.48182678],\n",
+ " [167.09553528],\n",
+ " [168.35562134],\n",
+ " [168.2663269 ],\n",
+ " [167.22451782],\n",
+ " [166.14303589],\n",
+ " [164.49598694],\n",
+ " [172.215271 ],\n",
+ " [172.14579773],\n",
+ " [170.42933655],\n",
+ " [172.20533752],\n",
+ " [172.39385986],\n",
+ " [171.4598999 ],\n",
+ " [170.96313477],\n",
+ " [170.96313477],\n",
+ " [171.57914734],\n",
+ " [173.9239502 ],\n",
+ " [174.0332489 ],\n",
+ " [173.079422 ],\n",
+ " [170.45640564],\n",
+ " [170.73458862],\n",
+ " [171.87719727],\n",
+ " [174.30149841],\n",
+ " [176.1594696 ],\n",
+ " [176.10980225],\n",
+ " [178.93151855],\n",
+ " [179.78598022],\n",
+ " [178.42481995],\n",
+ " [178.05718994],\n",
+ " [176.67614746],\n",
+ " [179.40846252],\n",
+ " [179.7959137 ],\n",
+ " [182.60772705],\n",
+ " [182.1308136 ],\n",
+ " [182.76670837],\n",
+ " [184.81344604],\n",
+ " [183.73048401],\n",
+ " [183.81988525],\n",
+ " [182.77664185],\n",
+ " [185.79707336],\n",
+ " [185.47914124],\n",
+ " [184.07821655],\n",
+ " [186.85025024],\n",
+ " [188.03260803],\n",
+ " [188.37042236],\n",
+ " [192.72224426],\n",
+ " [191.2219696 ],\n",
+ " [190.09921265],\n",
+ " [190.5761261 ],\n",
+ " [189.45341492],\n",
+ " [187.39671326],\n",
+ " [186.87014771],\n",
+ " [188.54927063],\n",
+ " [189.31430054],\n",
+ " [189.46336365],\n",
+ " [192.74211121],\n",
+ " [192.48377991],\n",
+ " [193.84495544],\n",
+ " [191.88764954],\n",
+ " [190.70529175],\n",
+ " [191.51008606],\n",
+ " [192.3744812 ],\n",
+ " [193.24882507],\n",
+ " [191.97706604],\n",
+ " [194.57026672],\n",
+ " [195.18630981],\n",
+ " [194.35171509],\n",
+ " [191.34118652],\n",
+ " [189.94026184],\n",
+ " [180.81930542],\n",
+ " [177.69950867],\n",
+ " [178.6434021 ],\n",
+ " [177.04376221],\n",
+ " [176.82516479],\n",
+ " [176.88485718],\n",
+ " [178.54637146],\n",
+ " [176.54658508],\n",
+ " [175.67108154],\n",
+ " [173.11416626],\n",
+ " [173.60166931],\n",
+ " [174.9447937 ],\n",
+ " [176.32771301],\n",
+ " [180.19790649],\n",
+ " [175.48205566],\n",
+ " [177.70068359],\n",
+ " [179.27264404],\n",
+ " [183.18261719],\n",
+ " [186.69467163],\n",
+ " [186.91352844],\n",
+ " [188.49545288],\n",
+ " [188.73422241],\n",
+ " [181.97880554],\n",
+ " [176.65602112],\n",
+ " [177.27285767],\n",
+ " [178.4468689 ],\n",
+ " [175.40246582],\n",
+ " [173.3230896 ],\n",
+ " [174.8453064 ],\n",
+ " [174.1190033 ],\n",
+ " [177.06393433],\n",
+ " [178.15835571],\n",
+ " [174.59657288],\n",
+ " [173.04449463],\n",
+ " [173.90013123],\n",
+ " [175.18357849],\n",
+ " [171.08454895],\n",
+ " [169.56233215],\n",
+ " [169.8210144 ],\n",
+ " [170.33837891],\n",
+ " [172.86543274],\n",
+ " [171.52229309],\n",
+ " [172.77590942],\n",
+ " [174.01953125],\n",
+ " [176.58641052],\n",
+ " [178.07876587],\n",
+ " [177.48181152],\n",
+ " [178.8846283 ],\n",
+ " [179.78999329],\n",
+ " [177.93948364],\n",
+ " [177.81013489],\n",
+ " [176.24813843],\n",
+ " [174.9447937 ],\n",
+ " [174.56672668],\n",
+ " [171.99987793],\n",
+ " [172.11924744],\n",
+ " [172.55699158],\n",
+ " [170.22891235],\n",
+ " [166.04034424],\n",
+ " [167.36357117],\n",
+ " [169.42303467],\n",
+ " [169.90060425],\n",
+ " [173.08430481],\n",
+ " [176.66598511],\n",
+ " [175.75065613],\n",
+ " [178.31752014],\n",
+ " [180.89434814],\n",
+ " [181.95889282],\n",
+ " [181.4813385 ],\n",
+ " [185.69535828],\n",
+ " [184.10140991],\n",
+ " [186.73141479],\n",
+ " [187.29925537],\n",
+ " [188.99284363],\n",
+ " [188.97291565],\n",
+ " [190.72624207],\n",
+ " [189.91932678],\n",
+ " [190.58679199],\n",
+ " [189.25184631],\n",
+ " [189.07252502],\n",
+ " [189.68022156],\n",
+ " [188.65412903],\n",
+ " [189.23191833],\n",
+ " [190.51705933],\n",
+ " [188.71388245],\n",
+ " [192.68881226],\n",
+ " [191.59298706],\n",
+ " [193.53561401],\n",
+ " [194.97015381],\n",
+ " [192.44970703],\n",
+ " [193.97395325],\n",
+ " [197.21165466],\n",
+ " [197.36108398],\n",
+ " [196.82312012],\n",
+ " [195.14945984],\n",
+ " [196.19551086],\n",
+ " [194.0934906 ],\n",
+ " [193.94403076],\n",
+ " [192.8681488 ],\n",
+ " [192.32022095],\n",
+ " [192.41983032],\n",
+ " [192.84820557],\n",
+ " [191.80218506],\n",
+ " [184.93821716],\n",
+ " [183.55348206],\n",
+ " [181.22232056],\n",
+ " [180.49508667],\n",
+ " [184.85852051],\n",
+ " [184.44010925],\n",
+ " [185.48612976],\n",
+ " [184.88841248],\n",
+ " [185.21716309],\n",
+ " [182.93582153],\n",
+ " [181.9894104 ],\n",
+ " [187.91693115],\n",
+ " [190.83584595],\n",
+ " [193.1570282 ],\n",
+ " [194.44215393],\n",
+ " [193.76472473],\n",
+ " [193.43597412],\n",
+ " [191.69258118],\n",
+ " [191.00520325],\n",
+ " [187.32913208],\n",
+ " [183.70291138],\n",
+ " [186.15362549],\n",
+ " [185.14743042],\n",
+ " [186.97050476],\n",
+ " [188.58439636],\n",
+ " [188.69398499],\n",
+ " [187.60810852],\n",
+ " [188.37615967],\n",
+ " [186.68041992],\n",
+ " [184.57571411],\n",
+ " [183.6879425 ],\n",
+ " [183.39868164],\n",
+ " [181.85255432],\n",
+ " [181.10444641],\n",
+ " [181.86254883],\n",
+ " [183.90737915],\n",
+ " [182.0620575 ],\n",
+ " [180.70545959],\n",
+ " [182.17176819],\n",
+ " [180.96479797],\n",
+ " [180.29647827],\n",
+ " [179.20921326],\n",
+ " [174.66065979],\n",
+ " [169.69314575],\n",
+ " [168.69566345],\n",
+ " [168.57595825],\n",
+ " [170.30162048],\n",
+ " [172.31655884],\n",
+ " [172.79533386],\n",
+ " [170.70062256],\n",
+ " [172.56593323],\n",
+ " [172.18687439],\n",
+ " [173.28411865],\n",
+ " [175.63821411],\n",
+ " [178.22169495],\n",
+ " [170.94000244],\n",
+ " [171.84771729],\n",
+ " [170.42132568],\n",
+ " [169.28417969],\n",
+ " [172.87513733],\n",
+ " [171.04972839],\n",
+ " [169.6033783 ],\n",
+ " [168.41635132],\n",
+ " [169.22433472],\n",
+ " [168.39642334],\n",
+ " [169.1545105 ],\n",
+ " [168.02734375],\n",
+ " [169.24427795],\n",
+ " [167.35900879],\n",
+ " [174.60079956],\n",
+ " [176.10702515],\n",
+ " [172.25669861],\n",
+ " [168.95501709],\n",
+ " [167.57847595],\n",
+ " [166.62086487],\n",
+ " [164.58599854],\n",
+ " [165.4238739 ],\n",
+ " [166.48121643],\n",
+ " [168.59591675],\n",
+ " [169.46372986],\n",
+ " [168.87521362],\n",
+ " [173.06466675],\n",
+ " [169.90261841],\n",
+ " [168.87521362],\n",
+ " [172.59585571],\n",
+ " [182.9198761 ],\n",
+ " [181.2540741 ],\n",
+ " [181.94233704],\n",
+ " [182.28149414],\n",
+ " [184.10690308],\n",
+ " [182.83836365],\n",
+ " [186.06463623],\n",
+ " [187.21330261],\n",
+ " [189.50065613],\n",
+ " [189.62051392],\n",
+ " [189.65048218],\n",
+ " [190.81912231],\n",
+ " [192.12762451],\n",
+ " [190.67929077],\n",
+ " [186.66394043],\n",
+ " [189.76034546],\n",
+ " [189.77035522],\n",
+ " [190.06999207],\n",
+ " [191.0688324 ],\n",
+ " [192.02772522],\n",
+ " [193.80566406],\n",
+ " [194.12530518],\n",
+ " [195.64353943],\n",
+ " [194.25514221],\n",
+ " [196.66236877],\n",
+ " [192.89671326],\n",
+ " [206.91049194],\n",
+ " [212.82366943],\n",
+ " [213.99230957],\n",
+ " [212.24433899],\n",
+ " [216.41949463],\n",
+ " [214.04223633],\n",
+ " [209.43757629],\n",
+ " [207.25012207],\n",
+ " [207.89935303],\n",
+ " [208.82829285],\n",
+ " [213.00344849],\n",
+ " [213.85247803],\n",
+ " [210.3764801 ],\n",
+ " [216.49940491],\n",
+ " [220.01533508],\n",
+ " [221.29385376],\n",
+ " [226.07830811],\n",
+ " [227.55661011],\n",
+ " [228.41560364],\n",
+ " [232.71063232],\n",
+ " [227.30690002],\n",
+ " [230.27345276],\n",
+ " [234.1289978 ],\n",
+ " [234.54852295],\n",
+ " [228.61538696],\n",
+ " [223.92080688],\n",
+ " [224.05065918],\n",
+ " [223.70108032],\n",
+ " [224.74984741],\n",
+ " [218.287323 ],\n",
+ " [217.23855591],\n",
+ " [217.70800781],\n",
+ " [217.98768616],\n",
+ " [218.54704285],\n",
+ " [221.82324219],\n",
+ " [218.10754395],\n",
+ " [219.60580444],\n",
+ " [209.02806091],\n",
+ " [206.99040222],\n",
+ " [209.5774231 ],\n",
+ " [213.06338501],\n",
+ " [215.99000549],\n",
+ " [217.52999878],\n",
+ " [221.27000427]])"
+ ]
+ },
+ "execution_count": 48,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "inv_y_test = scaler.inverse_transform(y_test)\n",
+ "inv_y_test"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Calculating the Root Mean Square Error (RMSE) for the test data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 49,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "rmse = np.sqrt(np.mean( (inv_predictions - inv_y_test)**2))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Displaying the RMSE value"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 50,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "8.544777061846702"
+ ]
+ },
+ "execution_count": 50,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "rmse"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Creating a DataFrame to compare original test data and predictions"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 51,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " original_test_data | \n",
+ " predictions | \n",
+ "
\n",
+ " \n",
+ " Date | \n",
+ " | \n",
+ " | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 2020-09-10 | \n",
+ " 110.907524 | \n",
+ " 107.823250 | \n",
+ "
\n",
+ " \n",
+ " 2020-09-11 | \n",
+ " 109.451424 | \n",
+ " 106.904861 | \n",
+ "
\n",
+ " \n",
+ " 2020-09-14 | \n",
+ " 112.734970 | \n",
+ " 105.830391 | \n",
+ "
\n",
+ " \n",
+ " 2020-09-15 | \n",
+ " 112.910873 | \n",
+ " 106.819199 | \n",
+ "
\n",
+ " \n",
+ " 2020-09-16 | \n",
+ " 109.578453 | \n",
+ " 107.817070 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " original_test_data predictions\n",
+ "Date \n",
+ "2020-09-10 110.907524 107.823250\n",
+ "2020-09-11 109.451424 106.904861\n",
+ "2020-09-14 112.734970 105.830391\n",
+ "2020-09-15 112.910873 106.819199\n",
+ "2020-09-16 109.578453 107.817070"
+ ]
+ },
+ "execution_count": 51,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "ploting_data = pd.DataFrame(\n",
+ " {\n",
+ " 'original_test_data': inv_y_test.reshape(-1),\n",
+ " 'predictions': inv_predictions.reshape(-1)\n",
+ " } ,\n",
+ " index = apple_data.index[splitting_len+100:]\n",
+ ")\n",
+ "ploting_data.head()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Plotting the original test data and predictions"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 52,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "