{ "cells": [ { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "from statsmodels.tsa.arima.model import ARIMA\n", "from sklearn.metrics import mean_squared_error\n", "\n", "# Rastgele zaman serisi verisi oluşturma\n", "np.random.seed(0)\n", "dates = pd.date_range(start='2023-01-01', periods=100, freq='D')\n", "values = np.random.rand(100) * 100\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Close | \n", "
---|---|
Date | \n", "\n", " |
2023-01-01 | \n", "54.881350 | \n", "
2023-01-02 | \n", "71.518937 | \n", "
2023-01-03 | \n", "60.276338 | \n", "
2023-01-04 | \n", "54.488318 | \n", "
2023-01-05 | \n", "42.365480 | \n", "