diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5649b46..6dc22fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: # Push events on main and dev branch - main - dev + - dynamic-lmi # Sequence of patterns matched against refs/tags tags: '*' @@ -113,10 +114,5 @@ jobs: conda install matplotlib pandas scikit-learn pip install h5py setuptools tqdm faiss-cpu pip install torch --index-url https://download.pytorch.org/whl/cpu - - name: Run learned index - shell: bash -el {0} - run: | - conda activate env - pip install --editable . - python3 search/search.py - python3 eval/eval.py + - name: Run tests + run: pytest diff --git a/Development.ipynb b/Development.ipynb new file mode 100644 index 0000000..eac0811 --- /dev/null +++ b/Development.ipynb @@ -0,0 +1,3105 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 2, + "id": "4e93aafa-d72b-4660-a13e-1e65a18efbf8", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "%reload_ext autoreload\n", + "%autoreload 2" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "4e8783fd-4590-4665-9beb-85adf879f6ae", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "import logging\n", + "import numpy as np\n", + "np.random.seed(2023)\n", + "\n", + "logging.basicConfig(\n", + " level=logging.DEBUG,\n", + " format='[%(asctime)s][%(levelname)-5.5s][%(name)-.20s] %(message)s'\n", + ")\n", + "LOG = logging.getLogger(__name__)" + ] + }, + { + "cell_type": "markdown", + "id": "98460326-c0a2-4309-a147-e7b5e2699746", + "metadata": {}, + "source": [ + "# 1. Load the data\n", + "The data are from SISAP 2023 indexing challenge (LAION dataset). There are `100K`, `300K`, and `10M` versions (also `100M`, but that one wasn't tested with LMI). The queries are not included in the data (they are outside of the dataset)." + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "5a368ad6-f582-4013-b092-1f135740f042", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[2024-03-18 10:58:52,732][DEBUG][h5py._conv] Creating converter from 7 to 5\n", + "[2024-03-18 10:58:52,732][DEBUG][h5py._conv] Creating converter from 5 to 7\n", + "[2024-03-18 10:58:52,732][DEBUG][h5py._conv] Creating converter from 7 to 5\n", + "[2024-03-18 10:58:52,732][DEBUG][h5py._conv] Creating converter from 5 to 7\n" + ] + } + ], + "source": [ + "import os\n", + "from urllib.request import urlretrieve\n", + "from pathlib import Path\n", + "import h5py\n", + "\n", + "def download(src, dst):\n", + " if not os.path.exists(dst):\n", + " os.makedirs(Path(dst).parent, exist_ok=True)\n", + " LOG.info('downloading %s -> %s...' % (src, dst))\n", + " urlretrieve(src, dst)\n", + "\n", + "def prepare(kind, size):\n", + " url = \"https://sisap-23-challenge.s3.amazonaws.com/SISAP23-Challenge\"\n", + " task = {\n", + " \"query\": f\"{url}/public-queries-10k-{kind}.h5\",\n", + " \"dataset\": f\"{url}/laion2B-en-{kind}-n={size}.h5\",\n", + " }\n", + "\n", + " for version, url in task.items():\n", + " target_path = os.path.join(\"data\", kind, size, f\"{version}.h5\")\n", + " download(url, target_path)\n", + " assert os.path.exists(target_path), f\"Failed to download {url}\"" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "30603999-c63c-4b96-b4a0-7902f207baf9", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "config = {\n", + " # get the smallest version of the LAION dataset\n", + " 'dataset': 'pca32v2',\n", + " 'emb': 'pca32',\n", + " 'size': '100K',\n", + " # n. of nearest neighbors\n", + " 'k': 10,\n", + " # normalize the data to be able to use K-Means\n", + " 'preprocess': True\n", + "}" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "19ec8167-261d-473b-b363-26727c5caeef", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "data": { + "text/plain": [ + "((100000, 32), (10000, 32))" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# download the data\n", + "prepare(config['dataset'], config['size'])\n", + "\n", + "def get_data(data_part, **config):\n", + " return np.array(\n", + " h5py.File(\n", + " os.path.join(\n", + " 'data',\n", + " config['dataset'],\n", + " config['size'],\n", + " data_part\n", + " ),\n", + " 'r'\n", + " )[config['emb']]\n", + " )\n", + "\n", + "# load the data \n", + "data = get_data(\"dataset.h5\", **config)\n", + "queries = get_data(\"query.h5\", **config)\n", + "data.shape, queries.shape" + ] + }, + { + "cell_type": "markdown", + "id": "a24a39e7-fbc9-404d-84ce-5e31e223b23a", + "metadata": {}, + "source": [ + "## 1.2. Pre-process the data\n", + "The default distance metric for LAION dataset is the cosine distance. In order for us to use K-Means for partitioning (which operates only with Euclidean distances), we need to **normalize the data to unit length** (i.e., a single vector will sum up to 1). Data normalized like this can continue to be used with euclidean distance." + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "43066688-f16a-4131-a98b-f1e043d88b74", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "data": { + "text/plain": [ + "0.4463985259644687" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# data characteristic before:\n", + "sum(data[0])" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "ffcdd826-9e23-4259-8d1d-0d29a5337c03", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "from sklearn import preprocessing\n", + "if config['preprocess']:\n", + " data = preprocessing.normalize(data)\n", + " queries = preprocessing.normalize(queries)" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "75e923c4-952f-47ec-adff-a13f66f07de2", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "data": { + "text/plain": [ + "1.004468702711165" + ] + }, + "execution_count": 9, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# data characteristics after\n", + "sum(data[0])" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "b23007bd-4b5e-4096-b1bf-a3d3a688e9e1", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "import pandas as pd\n", + "# data to pandas\n", + "data = pd.DataFrame(data)\n", + "# index from one (needed to fit the evaluation procedure later)\n", + "data.index += 1" + ] + }, + { + "cell_type": "markdown", + "id": "f3f9e9bc-c91a-442d-b68f-7cfbaa5a22a1", + "metadata": {}, + "source": [ + "# 2. Build the index" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "83796d0d-04ca-4317-98f2-afe6529a14a6", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[2024-03-18 10:58:56,559][INFO ][faiss.loader] Loading faiss with AVX2 support.\n", + "[2024-03-18 10:58:56,559][INFO ][faiss.loader] Could not load library with AVX2 support due to:\n", + "ModuleNotFoundError(\"No module named 'faiss.swigfaiss_avx2'\")\n", + "[2024-03-18 10:58:56,560][INFO ][faiss.loader] Loading faiss.\n", + "[2024-03-18 10:58:56,579][INFO ][faiss.loader] Successfully loaded faiss.\n" + ] + } + ], + "source": [ + "from li.BuildConfiguration import BuildConfiguration\n", + "from li.clustering import algorithms\n", + "from li.LearnedIndexBuilder import LearnedIndexBuilder" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "id": "92b4c129-bd5e-49b3-b19d-349d350a77f8", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "n_categories = [10, 10, 10]\n", + "\n", + "build_config = BuildConfiguration(\n", + " # which clustering algorithm to use\n", + " algorithms['faiss_kmeans'],\n", + " # how many epochs to train for\n", + " 200,\n", + " # what model to use (see li/model.py\n", + " 'MLP',\n", + " # what learning rate to use\n", + " 0.01,\n", + " # how many categories at what level to build LMI for\n", + " # 10, 10 results in 100 buckets in total\n", + " n_categories\n", + ")" + ] + }, + { + "cell_type": "markdown", + "id": "5b7a7740", + "metadata": {}, + "source": [ + "## 1, 2, 3 levels" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "id": "a293906e", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[2024-03-18 10:58:59,528][DEBUG][li.LearnedIndexBuild] Training the root model.\n", + "[2024-03-18 10:58:59,981][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:03,845][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 1.36070\n", + "[2024-03-18 10:59:07,599][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.59687\n", + "[2024-03-18 10:59:11,184][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.50983\n", + "[2024-03-18 10:59:15,137][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.26845\n", + "[2024-03-18 10:59:18,882][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.21265\n", + "[2024-03-18 10:59:22,764][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.17393\n", + "[2024-03-18 10:59:27,404][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.05081\n", + "[2024-03-18 10:59:31,285][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.16542\n", + "[2024-03-18 10:59:34,970][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.29115\n", + "[2024-03-18 10:59:38,699][DEBUG][li.LearnedIndexBuild] Trained the model in: 39.17102861404419\n", + "[2024-03-18 10:59:38,706][DEBUG][li.LearnedIndexBuild] Training [10, 10] internal models.\n", + "[2024-03-18 10:59:38,706][DEBUG][li.LearnedIndexBuild] Training level 1.\n", + " 0%| | 0/10 [00:00, ?it/s][2024-03-18 10:59:38,711][DEBUG][li.LearnedIndexBuild] Training model on path (0, -1, -1).\n", + "[2024-03-18 10:59:38,730][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:39,157][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.89384\n", + "[2024-03-18 10:59:39,516][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.29251\n", + "[2024-03-18 10:59:39,821][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.15794\n", + "[2024-03-18 10:59:40,119][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.08097\n", + "[2024-03-18 10:59:40,561][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.07826\n", + "[2024-03-18 10:59:40,890][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.06246\n", + "[2024-03-18 10:59:41,217][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.04133\n", + "[2024-03-18 10:59:41,519][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.03967\n", + "[2024-03-18 10:59:41,881][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.02996\n", + "[2024-03-18 10:59:42,228][DEBUG][li.LearnedIndexBuild] Trained the model in: 3.5142459869384766\n", + " 10%|█ | 1/10 [00:03<00:31, 3.52s/it][2024-03-18 10:59:42,233][DEBUG][li.LearnedIndexBuild] Training model on path (1, -1, -1).\n", + "[2024-03-18 10:59:42,272][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:42,703][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 3.06461\n", + "[2024-03-18 10:59:43,078][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 1.93484\n", + "[2024-03-18 10:59:43,407][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 2.38585\n", + "[2024-03-18 10:59:43,745][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 1.82157\n", + "[2024-03-18 10:59:44,220][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 1.85549\n", + "[2024-03-18 10:59:44,538][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.99756\n", + "[2024-03-18 10:59:44,853][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.82961\n", + "[2024-03-18 10:59:45,187][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 1.39186\n", + "[2024-03-18 10:59:45,522][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.10087\n", + "[2024-03-18 10:59:45,828][DEBUG][li.LearnedIndexBuild] Trained the model in: 3.590999126434326\n", + " 20%|██ | 2/10 [00:07<00:28, 3.57s/it][2024-03-18 10:59:45,831][DEBUG][li.LearnedIndexBuild] Training model on path (2, -1, -1).\n", + "[2024-03-18 10:59:45,851][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:46,429][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.85383\n", + "[2024-03-18 10:59:46,852][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.28623\n", + "[2024-03-18 10:59:47,266][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.15531\n", + "[2024-03-18 10:59:47,653][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.13683\n", + "[2024-03-18 10:59:48,067][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.09338\n", + "[2024-03-18 10:59:48,650][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.09870\n", + "[2024-03-18 10:59:49,104][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.08184\n", + "[2024-03-18 10:59:49,553][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.04572\n", + "[2024-03-18 10:59:49,973][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.04490\n", + "[2024-03-18 10:59:50,367][DEBUG][li.LearnedIndexBuild] Trained the model in: 4.532360315322876\n", + " 30%|███ | 3/10 [00:11<00:28, 4.01s/it][2024-03-18 10:59:50,371][DEBUG][li.LearnedIndexBuild] Training model on path (3, -1, -1).\n", + "[2024-03-18 10:59:50,388][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:50,793][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.94357\n", + "[2024-03-18 10:59:51,088][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.27442\n", + "[2024-03-18 10:59:51,518][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.17041\n", + "[2024-03-18 10:59:51,831][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.15331\n", + "[2024-03-18 10:59:52,098][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.08083\n", + "[2024-03-18 10:59:52,451][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.08097\n", + "[2024-03-18 10:59:52,762][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.07240\n", + "[2024-03-18 10:59:53,059][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.04521\n", + "[2024-03-18 10:59:53,419][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.04192\n", + "[2024-03-18 10:59:53,687][DEBUG][li.LearnedIndexBuild] Trained the model in: 3.3132708072662354\n", + " 40%|████ | 4/10 [00:14<00:22, 3.74s/it][2024-03-18 10:59:53,692][DEBUG][li.LearnedIndexBuild] Training model on path (4, -1, -1).\n", + "[2024-03-18 10:59:53,708][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:54,105][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.74313\n", + "[2024-03-18 10:59:54,399][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.22481\n", + "[2024-03-18 10:59:54,720][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.11968\n", + "[2024-03-18 10:59:55,020][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.09300\n", + "[2024-03-18 10:59:55,327][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.07848\n", + "[2024-03-18 10:59:55,634][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.06506\n", + "[2024-03-18 10:59:55,927][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.04527\n", + "[2024-03-18 10:59:56,221][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.03846\n", + "[2024-03-18 10:59:56,533][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.03534\n", + "[2024-03-18 10:59:56,954][DEBUG][li.LearnedIndexBuild] Trained the model in: 3.2601563930511475\n", + " 50%|█████ | 5/10 [00:18<00:17, 3.57s/it][2024-03-18 10:59:56,958][DEBUG][li.LearnedIndexBuild] Training model on path (5, -1, -1).\n", + "[2024-03-18 10:59:56,968][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:57,281][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.69180\n", + "[2024-03-18 10:59:57,563][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.19584\n", + "[2024-03-18 10:59:57,820][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.08694\n", + "[2024-03-18 10:59:58,072][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.05575\n", + "[2024-03-18 10:59:58,337][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.04266\n", + "[2024-03-18 10:59:58,575][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.03870\n", + "[2024-03-18 10:59:58,815][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.03086\n", + "[2024-03-18 10:59:59,070][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.02463\n", + "[2024-03-18 10:59:59,302][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.01628\n", + "[2024-03-18 10:59:59,542][DEBUG][li.LearnedIndexBuild] Trained the model in: 2.581467628479004\n", + " 60%|██████ | 6/10 [00:20<00:12, 3.23s/it][2024-03-18 10:59:59,545][DEBUG][li.LearnedIndexBuild] Training model on path (6, -1, -1).\n", + "[2024-03-18 10:59:59,555][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 10:59:59,886][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.83761\n", + "[2024-03-18 11:00:00,158][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.25541\n", + "[2024-03-18 11:00:00,454][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.14561\n", + "[2024-03-18 11:00:00,736][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.09969\n", + "[2024-03-18 11:00:01,152][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.06298\n", + "[2024-03-18 11:00:01,466][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.05087\n", + "[2024-03-18 11:00:01,735][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.03772\n", + "[2024-03-18 11:00:02,020][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.02915\n", + "[2024-03-18 11:00:02,284][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.01758\n", + "[2024-03-18 11:00:02,577][DEBUG][li.LearnedIndexBuild] Trained the model in: 3.028357744216919\n", + " 70%|███████ | 7/10 [00:23<00:09, 3.17s/it][2024-03-18 11:00:02,583][DEBUG][li.LearnedIndexBuild] Training model on path (7, -1, -1).\n", + "[2024-03-18 11:00:02,605][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:03,087][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.92617\n", + "[2024-03-18 11:00:03,602][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.25280\n", + "[2024-03-18 11:00:03,990][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.20527\n", + "[2024-03-18 11:00:04,332][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.10346\n", + "[2024-03-18 11:00:04,668][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.10862\n", + "[2024-03-18 11:00:05,018][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.10758\n", + "[2024-03-18 11:00:05,527][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.04667\n", + "[2024-03-18 11:00:05,938][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.05360\n", + "[2024-03-18 11:00:06,337][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.03380\n", + "[2024-03-18 11:00:06,661][DEBUG][li.LearnedIndexBuild] Trained the model in: 4.07478666305542\n", + " 80%|████████ | 8/10 [00:27<00:06, 3.46s/it][2024-03-18 11:00:06,662][DEBUG][li.LearnedIndexBuild] Training model on path (8, -1, -1).\n", + "[2024-03-18 11:00:06,684][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:07,134][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73804\n", + "[2024-03-18 11:00:07,641][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.23730\n", + "[2024-03-18 11:00:08,073][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.11117\n", + "[2024-03-18 11:00:08,521][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.08467\n", + "[2024-03-18 11:00:09,029][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.07267\n", + "[2024-03-18 11:00:09,437][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.05059\n", + "[2024-03-18 11:00:09,839][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.04273\n", + "[2024-03-18 11:00:10,231][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.03459\n", + "[2024-03-18 11:00:10,667][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.03716\n", + "[2024-03-18 11:00:11,084][DEBUG][li.LearnedIndexBuild] Trained the model in: 4.415918588638306\n", + " 90%|█████████ | 9/10 [00:32<00:03, 3.76s/it][2024-03-18 11:00:11,089][DEBUG][li.LearnedIndexBuild] Training model on path (9, -1, -1).\n", + "[2024-03-18 11:00:11,108][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:11,698][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.82500\n", + "[2024-03-18 11:00:12,081][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.26754\n", + "[2024-03-18 11:00:12,466][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.13213\n", + "[2024-03-18 11:00:12,851][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.10720\n", + "[2024-03-18 11:00:13,240][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.07324\n", + "[2024-03-18 11:00:13,638][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.06246\n", + "[2024-03-18 11:00:14,306][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.04506\n", + "[2024-03-18 11:00:14,743][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.04516\n", + "[2024-03-18 11:00:15,258][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.05088\n", + "[2024-03-18 11:00:15,728][DEBUG][li.LearnedIndexBuild] Trained the model in: 4.637023687362671\n", + "100%|██████████| 10/10 [00:37<00:00, 3.70s/it]\n", + "[2024-03-18 11:00:15,734][DEBUG][li.LearnedIndexBuild] Training level 2.\n", + " 0%| | 0/100 [00:00, ?it/s][2024-03-18 11:00:15,737][DEBUG][li.LearnedIndexBuild] Training model on path (0, 0, -1).\n", + "[2024-03-18 11:00:15,745][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:15,847][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.71305\n", + "[2024-03-18 11:00:15,927][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07236\n", + "[2024-03-18 11:00:15,990][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01608\n", + "[2024-03-18 11:00:16,084][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00843\n", + "[2024-03-18 11:00:16,167][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00588\n", + "[2024-03-18 11:00:16,252][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00449\n", + "[2024-03-18 11:00:16,337][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00356\n", + "[2024-03-18 11:00:16,417][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00291\n", + "[2024-03-18 11:00:16,491][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00242\n", + "[2024-03-18 11:00:16,571][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8329389095306396\n", + " 1%| | 1/100 [00:00<01:23, 1.19it/s][2024-03-18 11:00:16,576][DEBUG][li.LearnedIndexBuild] Training model on path (0, 1, -1).\n", + "[2024-03-18 11:00:16,587][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:16,725][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.65069\n", + "[2024-03-18 11:00:16,827][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08595\n", + "[2024-03-18 11:00:16,936][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02361\n", + "[2024-03-18 11:00:17,036][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01218\n", + "[2024-03-18 11:00:17,184][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00809\n", + "[2024-03-18 11:00:17,291][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00592\n", + "[2024-03-18 11:00:17,392][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00455\n", + "[2024-03-18 11:00:17,484][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00361\n", + "[2024-03-18 11:00:17,576][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00294\n", + "[2024-03-18 11:00:17,683][DEBUG][li.LearnedIndexBuild] Trained the model in: 1.1030242443084717\n", + " 2%|▏ | 2/100 [00:01<01:37, 1.00it/s][2024-03-18 11:00:17,689][DEBUG][li.LearnedIndexBuild] Training model on path (0, 2, -1).\n", + "[2024-03-18 11:00:17,701][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:17,824][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.63081\n", + "[2024-03-18 11:00:17,917][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04425\n", + "[2024-03-18 11:00:18,000][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01074\n", + "[2024-03-18 11:00:18,085][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00616\n", + "[2024-03-18 11:00:18,158][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00451\n", + "[2024-03-18 11:00:18,228][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00355\n", + "[2024-03-18 11:00:18,288][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00287\n", + "[2024-03-18 11:00:18,367][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00238\n", + "[2024-03-18 11:00:18,465][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00200\n", + "[2024-03-18 11:00:18,560][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8684568405151367\n", + " 3%|▎ | 3/100 [00:02<01:31, 1.06it/s][2024-03-18 11:00:18,566][DEBUG][li.LearnedIndexBuild] Training model on path (0, 3, -1).\n", + "[2024-03-18 11:00:18,577][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:18,691][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.61698\n", + "[2024-03-18 11:00:18,774][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07684\n", + "[2024-03-18 11:00:18,852][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02192\n", + "[2024-03-18 11:00:18,925][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01141\n", + "[2024-03-18 11:00:19,009][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00764\n", + "[2024-03-18 11:00:19,100][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00563\n", + "[2024-03-18 11:00:19,154][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00436\n", + "[2024-03-18 11:00:19,205][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00349\n", + "[2024-03-18 11:00:19,259][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00286\n", + "[2024-03-18 11:00:19,320][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7520020008087158\n", + " 4%|▍ | 4/100 [00:03<01:23, 1.15it/s][2024-03-18 11:00:19,324][DEBUG][li.LearnedIndexBuild] Training model on path (0, 4, -1).\n", + "[2024-03-18 11:00:19,332][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:19,418][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.66673\n", + "[2024-03-18 11:00:19,488][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06117\n", + "[2024-03-18 11:00:19,546][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01431\n", + "[2024-03-18 11:00:19,607][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00761\n", + "[2024-03-18 11:00:19,658][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00533\n", + "[2024-03-18 11:00:19,713][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00407\n", + "[2024-03-18 11:00:19,767][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00324\n", + "[2024-03-18 11:00:19,818][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00264\n", + "[2024-03-18 11:00:19,871][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00220\n", + "[2024-03-18 11:00:19,938][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6120016574859619\n", + " 5%|▌ | 5/100 [00:04<01:14, 1.28it/s][2024-03-18 11:00:19,942][DEBUG][li.LearnedIndexBuild] Training model on path (0, 5, -1).\n", + "[2024-03-18 11:00:19,952][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:20,058][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.74591\n", + "[2024-03-18 11:00:20,157][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07197\n", + "[2024-03-18 11:00:20,236][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01630\n", + "[2024-03-18 11:00:20,301][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00863\n", + "[2024-03-18 11:00:20,348][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00603\n", + "[2024-03-18 11:00:20,389][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00460\n", + "[2024-03-18 11:00:20,440][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00366\n", + "[2024-03-18 11:00:20,488][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00299\n", + "[2024-03-18 11:00:20,539][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00249\n", + "[2024-03-18 11:00:20,590][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6439909934997559\n", + " 6%|▌ | 6/100 [00:04<01:09, 1.36it/s][2024-03-18 11:00:20,593][DEBUG][li.LearnedIndexBuild] Training model on path (0, 6, -1).\n", + "[2024-03-18 11:00:20,602][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:20,689][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73103\n", + "[2024-03-18 11:00:20,765][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.09105\n", + "[2024-03-18 11:00:20,836][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01436\n", + "[2024-03-18 11:00:20,898][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00669\n", + "[2024-03-18 11:00:20,950][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00454\n", + "[2024-03-18 11:00:21,012][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00345\n", + "[2024-03-18 11:00:21,062][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00274\n", + "[2024-03-18 11:00:21,122][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00224\n", + "[2024-03-18 11:00:21,168][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00186\n", + "[2024-03-18 11:00:21,218][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6215970516204834\n", + " 7%|▋ | 7/100 [00:05<01:05, 1.42it/s][2024-03-18 11:00:21,227][DEBUG][li.LearnedIndexBuild] Training model on path (0, 7, -1).\n", + "[2024-03-18 11:00:21,237][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:21,366][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.75413\n", + "[2024-03-18 11:00:21,439][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07770\n", + "[2024-03-18 11:00:21,500][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01778\n", + "[2024-03-18 11:00:21,566][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00916\n", + "[2024-03-18 11:00:21,619][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00627\n", + "[2024-03-18 11:00:21,683][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00472\n", + "[2024-03-18 11:00:21,741][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00371\n", + "[2024-03-18 11:00:21,802][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00301\n", + "[2024-03-18 11:00:21,869][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00248\n", + "[2024-03-18 11:00:21,950][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7230019569396973\n", + " 8%|▊ | 8/100 [00:06<01:05, 1.41it/s][2024-03-18 11:00:21,954][DEBUG][li.LearnedIndexBuild] Training model on path (0, 8, -1).\n", + "[2024-03-18 11:00:21,963][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:22,067][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.47951\n", + "[2024-03-18 11:00:22,131][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.03317\n", + "[2024-03-18 11:00:22,208][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00747\n", + "[2024-03-18 11:00:22,258][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00435\n", + "[2024-03-18 11:00:22,319][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00322\n", + "[2024-03-18 11:00:22,384][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00256\n", + "[2024-03-18 11:00:22,460][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00210\n", + "[2024-03-18 11:00:22,521][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00176\n", + "[2024-03-18 11:00:22,588][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00149\n", + "[2024-03-18 11:00:22,653][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6965680122375488\n", + " 9%|▉ | 9/100 [00:06<01:04, 1.41it/s][2024-03-18 11:00:22,656][DEBUG][li.LearnedIndexBuild] Training model on path (0, 9, -1).\n", + "[2024-03-18 11:00:22,669][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:22,778][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.48913\n", + "[2024-03-18 11:00:22,865][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.03080\n", + "[2024-03-18 11:00:22,947][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00837\n", + "[2024-03-18 11:00:23,031][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00506\n", + "[2024-03-18 11:00:23,099][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00378\n", + "[2024-03-18 11:00:23,156][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00300\n", + "[2024-03-18 11:00:23,201][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00244\n", + "[2024-03-18 11:00:23,247][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00203\n", + "[2024-03-18 11:00:23,296][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00171\n", + "[2024-03-18 11:00:23,340][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6803510189056396\n", + " 10%|█ | 10/100 [00:07<01:03, 1.42it/s][2024-03-18 11:00:23,349][DEBUG][li.LearnedIndexBuild] Training model on path (1, 0, -1).\n", + "[2024-03-18 11:00:23,357][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:23,480][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73857\n", + "[2024-03-18 11:00:23,554][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08688\n", + "[2024-03-18 11:00:23,630][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02303\n", + "[2024-03-18 11:00:23,709][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01253\n", + "[2024-03-18 11:00:23,818][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00867\n", + "[2024-03-18 11:00:23,907][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00652\n", + "[2024-03-18 11:00:23,996][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00510\n", + "[2024-03-18 11:00:24,072][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00411\n", + "[2024-03-18 11:00:24,143][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00337\n", + "[2024-03-18 11:00:24,207][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.856107234954834\n", + " 11%|█ | 11/100 [00:08<01:06, 1.33it/s][2024-03-18 11:00:24,214][DEBUG][li.LearnedIndexBuild] Training model on path (1, 1, -1).\n", + "[2024-03-18 11:00:24,221][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:24,317][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.77942\n", + "[2024-03-18 11:00:24,377][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10939\n", + "[2024-03-18 11:00:24,430][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02360\n", + "[2024-03-18 11:00:24,481][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01181\n", + "[2024-03-18 11:00:24,533][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00807\n", + "[2024-03-18 11:00:24,588][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00611\n", + "[2024-03-18 11:00:24,646][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00483\n", + "[2024-03-18 11:00:24,703][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00394\n", + "[2024-03-18 11:00:24,754][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00328\n", + "[2024-03-18 11:00:24,812][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5950915813446045\n", + " 12%|█▏ | 12/100 [00:09<01:02, 1.42it/s][2024-03-18 11:00:24,816][DEBUG][li.LearnedIndexBuild] Training model on path (1, 2, -1).\n", + "[2024-03-18 11:00:24,825][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:24,921][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.59095\n", + "[2024-03-18 11:00:24,988][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04932\n", + "[2024-03-18 11:00:25,047][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01205\n", + "[2024-03-18 11:00:25,117][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00669\n", + "[2024-03-18 11:00:25,172][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00476\n", + "[2024-03-18 11:00:25,229][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00367\n", + "[2024-03-18 11:00:25,305][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00294\n", + "[2024-03-18 11:00:25,441][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00242\n", + "[2024-03-18 11:00:25,526][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00202\n", + "[2024-03-18 11:00:25,586][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7674298286437988\n", + " 13%|█▎ | 13/100 [00:09<01:03, 1.37it/s][2024-03-18 11:00:25,591][DEBUG][li.LearnedIndexBuild] Training model on path (1, 3, -1).\n", + "[2024-03-18 11:00:25,599][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:25,733][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73430\n", + "[2024-03-18 11:00:25,821][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11768\n", + "[2024-03-18 11:00:25,906][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03041\n", + "[2024-03-18 11:00:25,980][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01507\n", + "[2024-03-18 11:00:26,071][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00986\n", + "[2024-03-18 11:00:26,164][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00717\n", + "[2024-03-18 11:00:26,245][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00549\n", + "[2024-03-18 11:00:26,326][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00435\n", + "[2024-03-18 11:00:26,403][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00354\n", + "[2024-03-18 11:00:26,474][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8812000751495361\n", + " 14%|█▍ | 14/100 [00:10<01:06, 1.29it/s][2024-03-18 11:00:26,478][DEBUG][li.LearnedIndexBuild] Training model on path (1, 4, -1).\n", + "[2024-03-18 11:00:26,484][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:26,568][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.65608\n", + "[2024-03-18 11:00:26,628][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07600\n", + "[2024-03-18 11:00:26,671][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01734\n", + "[2024-03-18 11:00:26,718][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00902\n", + "[2024-03-18 11:00:26,762][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00620\n", + "[2024-03-18 11:00:26,807][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00469\n", + "[2024-03-18 11:00:26,857][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00370\n", + "[2024-03-18 11:00:26,912][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00301\n", + "[2024-03-18 11:00:26,963][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00249\n", + "[2024-03-18 11:00:27,076][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5965018272399902\n", + " 15%|█▌ | 15/100 [00:11<01:01, 1.38it/s][2024-03-18 11:00:27,082][DEBUG][li.LearnedIndexBuild] Training model on path (1, 5, -1).\n", + "[2024-03-18 11:00:27,091][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:27,197][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.72519\n", + "[2024-03-18 11:00:27,259][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07461\n", + "[2024-03-18 11:00:27,313][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01642\n", + "[2024-03-18 11:00:27,372][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00847\n", + "[2024-03-18 11:00:27,430][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00590\n", + "[2024-03-18 11:00:27,484][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00451\n", + "[2024-03-18 11:00:27,537][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00360\n", + "[2024-03-18 11:00:27,607][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00295\n", + "[2024-03-18 11:00:27,663][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00246\n", + "[2024-03-18 11:00:27,723][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6379096508026123\n", + " 16%|█▌ | 16/100 [00:11<00:58, 1.43it/s][2024-03-18 11:00:27,726][DEBUG][li.LearnedIndexBuild] Training model on path (1, 6, -1).\n", + "[2024-03-18 11:00:27,735][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:27,837][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.59649\n", + "[2024-03-18 11:00:27,897][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05431\n", + "[2024-03-18 11:00:27,948][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01332\n", + "[2024-03-18 11:00:28,016][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00724\n", + "[2024-03-18 11:00:28,071][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00509\n", + "[2024-03-18 11:00:28,128][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00388\n", + "[2024-03-18 11:00:28,180][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00308\n", + "[2024-03-18 11:00:28,237][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00251\n", + "[2024-03-18 11:00:28,291][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00209\n", + "[2024-03-18 11:00:28,338][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6092050075531006\n", + " 17%|█▋ | 17/100 [00:12<00:56, 1.48it/s][2024-03-18 11:00:28,344][DEBUG][li.LearnedIndexBuild] Training model on path (1, 7, -1).\n", + "[2024-03-18 11:00:28,352][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:28,469][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73573\n", + "[2024-03-18 11:00:28,540][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08754\n", + "[2024-03-18 11:00:28,622][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01937\n", + "[2024-03-18 11:00:28,702][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01030\n", + "[2024-03-18 11:00:28,791][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00721\n", + "[2024-03-18 11:00:28,869][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00551\n", + "[2024-03-18 11:00:28,944][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00438\n", + "[2024-03-18 11:00:29,009][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00358\n", + "[2024-03-18 11:00:29,080][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00298\n", + "[2024-03-18 11:00:29,150][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8026566505432129\n", + " 18%|█▊ | 18/100 [00:13<00:58, 1.40it/s][2024-03-18 11:00:29,155][DEBUG][li.LearnedIndexBuild] Training model on path (1, 8, -1).\n", + "[2024-03-18 11:00:29,162][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:29,241][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.81700\n", + "[2024-03-18 11:00:29,288][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.09683\n", + "[2024-03-18 11:00:29,337][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01871\n", + "[2024-03-18 11:00:29,379][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00928\n", + "[2024-03-18 11:00:29,425][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00636\n", + "[2024-03-18 11:00:29,469][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00483\n", + "[2024-03-18 11:00:29,506][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00383\n", + "[2024-03-18 11:00:29,546][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00312\n", + "[2024-03-18 11:00:29,583][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00259\n", + "[2024-03-18 11:00:29,618][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.4607360363006592\n", + " 19%|█▉ | 19/100 [00:13<00:52, 1.55it/s][2024-03-18 11:00:29,627][DEBUG][li.LearnedIndexBuild] Training model on path (1, 9, -1).\n", + "[2024-03-18 11:00:29,635][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:29,687][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.45589\n", + "[2024-03-18 11:00:29,742][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.01289\n", + "[2024-03-18 11:00:29,768][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00335\n", + "[2024-03-18 11:00:29,808][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00224\n", + "[2024-03-18 11:00:29,840][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00181\n", + "[2024-03-18 11:00:29,871][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00153\n", + "[2024-03-18 11:00:29,904][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00131\n", + "[2024-03-18 11:00:29,944][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00114\n", + "[2024-03-18 11:00:30,004][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00099\n", + "[2024-03-18 11:00:30,053][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.4224584102630615\n", + " 20%|██ | 20/100 [00:14<00:46, 1.73it/s][2024-03-18 11:00:30,056][DEBUG][li.LearnedIndexBuild] Training model on path (2, 0, -1).\n", + "[2024-03-18 11:00:30,066][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:30,194][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.59931\n", + "[2024-03-18 11:00:30,270][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06110\n", + "[2024-03-18 11:00:30,338][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01655\n", + "[2024-03-18 11:00:30,413][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00926\n", + "[2024-03-18 11:00:30,496][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00657\n", + "[2024-03-18 11:00:30,601][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00504\n", + "[2024-03-18 11:00:30,692][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00402\n", + "[2024-03-18 11:00:30,782][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00328\n", + "[2024-03-18 11:00:30,872][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00273\n", + "[2024-03-18 11:00:30,950][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8914134502410889\n", + " 21%|██ | 21/100 [00:15<00:53, 1.48it/s][2024-03-18 11:00:30,952][DEBUG][li.LearnedIndexBuild] Training model on path (2, 1, -1).\n", + "[2024-03-18 11:00:30,958][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:31,069][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.67017\n", + "[2024-03-18 11:00:31,137][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05379\n", + "[2024-03-18 11:00:31,214][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01210\n", + "[2024-03-18 11:00:31,287][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00668\n", + "[2024-03-18 11:00:31,339][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00482\n", + "[2024-03-18 11:00:31,400][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00376\n", + "[2024-03-18 11:00:31,448][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00304\n", + "[2024-03-18 11:00:31,511][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00251\n", + "[2024-03-18 11:00:31,573][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00211\n", + "[2024-03-18 11:00:31,625][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6648955345153809\n", + " 22%|██▏ | 22/100 [00:15<00:52, 1.48it/s][2024-03-18 11:00:31,628][DEBUG][li.LearnedIndexBuild] Training model on path (2, 2, -1).\n", + "[2024-03-18 11:00:31,635][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:31,736][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73842\n", + "[2024-03-18 11:00:31,806][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08351\n", + "[2024-03-18 11:00:31,871][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01808\n", + "[2024-03-18 11:00:31,921][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00934\n", + "[2024-03-18 11:00:31,985][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00644\n", + "[2024-03-18 11:00:32,050][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00489\n", + "[2024-03-18 11:00:32,104][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00388\n", + "[2024-03-18 11:00:32,151][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00316\n", + "[2024-03-18 11:00:32,202][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00263\n", + "[2024-03-18 11:00:32,249][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.618109941482544\n", + " 23%|██▎ | 23/100 [00:16<00:50, 1.52it/s][2024-03-18 11:00:32,249][DEBUG][li.LearnedIndexBuild] Training model on path (2, 3, -1).\n", + "[2024-03-18 11:00:32,261][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:32,388][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.58640\n", + "[2024-03-18 11:00:32,438][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05521\n", + "[2024-03-18 11:00:32,503][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01467\n", + "[2024-03-18 11:00:32,573][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00836\n", + "[2024-03-18 11:00:32,648][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00600\n", + "[2024-03-18 11:00:32,718][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00463\n", + "[2024-03-18 11:00:32,787][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00371\n", + "[2024-03-18 11:00:32,853][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00304\n", + "[2024-03-18 11:00:32,919][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00254\n", + "[2024-03-18 11:00:32,992][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7427635192871094\n", + " 24%|██▍ | 24/100 [00:17<00:52, 1.46it/s][2024-03-18 11:00:32,995][DEBUG][li.LearnedIndexBuild] Training model on path (2, 4, -1).\n", + "[2024-03-18 11:00:33,005][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:33,117][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.58436\n", + "[2024-03-18 11:00:33,184][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05527\n", + "[2024-03-18 11:00:33,250][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01284\n", + "[2024-03-18 11:00:33,309][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00695\n", + "[2024-03-18 11:00:33,371][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00494\n", + "[2024-03-18 11:00:33,427][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00380\n", + "[2024-03-18 11:00:33,494][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00304\n", + "[2024-03-18 11:00:33,556][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00250\n", + "[2024-03-18 11:00:33,608][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00209\n", + "[2024-03-18 11:00:33,673][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6743252277374268\n", + " 25%|██▌ | 25/100 [00:17<00:51, 1.46it/s][2024-03-18 11:00:33,677][DEBUG][li.LearnedIndexBuild] Training model on path (2, 5, -1).\n", + "[2024-03-18 11:00:33,679][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:33,795][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.62540\n", + "[2024-03-18 11:00:33,860][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07821\n", + "[2024-03-18 11:00:33,917][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02241\n", + "[2024-03-18 11:00:33,968][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01179\n", + "[2024-03-18 11:00:34,030][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00795\n", + "[2024-03-18 11:00:34,090][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00590\n", + "[2024-03-18 11:00:34,159][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00459\n", + "[2024-03-18 11:00:34,221][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00368\n", + "[2024-03-18 11:00:34,277][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00303\n", + "[2024-03-18 11:00:34,335][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.655693769454956\n", + " 26%|██▌ | 26/100 [00:18<00:50, 1.48it/s][2024-03-18 11:00:34,338][DEBUG][li.LearnedIndexBuild] Training model on path (2, 6, -1).\n", + "[2024-03-18 11:00:34,341][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:34,458][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.67484\n", + "[2024-03-18 11:00:34,538][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06326\n", + "[2024-03-18 11:00:34,607][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01643\n", + "[2024-03-18 11:00:34,684][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00919\n", + "[2024-03-18 11:00:34,748][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00653\n", + "[2024-03-18 11:00:34,837][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00501\n", + "[2024-03-18 11:00:34,957][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00400\n", + "[2024-03-18 11:00:35,051][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00327\n", + "[2024-03-18 11:00:35,146][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00272\n", + "[2024-03-18 11:00:35,218][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8779644966125488\n", + " 27%|██▋ | 27/100 [00:19<00:54, 1.35it/s][2024-03-18 11:00:35,228][DEBUG][li.LearnedIndexBuild] Training model on path (2, 7, -1).\n", + "[2024-03-18 11:00:35,239][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:35,341][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.54059\n", + "[2024-03-18 11:00:35,418][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.03711\n", + "[2024-03-18 11:00:35,499][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01006\n", + "[2024-03-18 11:00:35,571][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00591\n", + "[2024-03-18 11:00:35,638][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00433\n", + "[2024-03-18 11:00:35,702][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00340\n", + "[2024-03-18 11:00:35,778][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00275\n", + "[2024-03-18 11:00:35,859][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00228\n", + "[2024-03-18 11:00:35,950][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00192\n", + "[2024-03-18 11:00:36,027][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7954201698303223\n", + " 28%|██▊ | 28/100 [00:20<00:54, 1.32it/s][2024-03-18 11:00:36,031][DEBUG][li.LearnedIndexBuild] Training model on path (2, 8, -1).\n", + "[2024-03-18 11:00:36,038][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:36,208][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.83554\n", + "[2024-03-18 11:00:36,298][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11424\n", + "[2024-03-18 11:00:36,391][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02795\n", + "[2024-03-18 11:00:36,475][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01396\n", + "[2024-03-18 11:00:36,548][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00926\n", + "[2024-03-18 11:00:36,628][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00683\n", + "[2024-03-18 11:00:36,694][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00530\n", + "[2024-03-18 11:00:36,768][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00424\n", + "[2024-03-18 11:00:36,852][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00348\n", + "[2024-03-18 11:00:36,927][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8921394348144531\n", + " 29%|██▉ | 29/100 [00:21<00:56, 1.25it/s][2024-03-18 11:00:36,933][DEBUG][li.LearnedIndexBuild] Training model on path (2, 9, -1).\n", + "[2024-03-18 11:00:36,943][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:37,068][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.85120\n", + "[2024-03-18 11:00:37,129][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.13106\n", + "[2024-03-18 11:00:37,231][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02921\n", + "[2024-03-18 11:00:37,338][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01332\n", + "[2024-03-18 11:00:37,410][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00854\n", + "[2024-03-18 11:00:37,477][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00621\n", + "[2024-03-18 11:00:37,544][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00478\n", + "[2024-03-18 11:00:37,604][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00381\n", + "[2024-03-18 11:00:37,670][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00312\n", + "[2024-03-18 11:00:37,750][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8151111602783203\n", + " 30%|███ | 30/100 [00:22<00:56, 1.24it/s][2024-03-18 11:00:37,754][DEBUG][li.LearnedIndexBuild] Training model on path (3, 0, -1).\n", + "[2024-03-18 11:00:37,762][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:37,865][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.60501\n", + "[2024-03-18 11:00:37,940][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04582\n", + "[2024-03-18 11:00:38,010][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01131\n", + "[2024-03-18 11:00:38,085][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00649\n", + "[2024-03-18 11:00:38,154][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00472\n", + "[2024-03-18 11:00:38,223][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00369\n", + "[2024-03-18 11:00:38,303][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00297\n", + "[2024-03-18 11:00:38,387][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00245\n", + "[2024-03-18 11:00:38,473][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00206\n", + "[2024-03-18 11:00:38,548][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7916231155395508\n", + " 31%|███ | 31/100 [00:22<00:55, 1.24it/s][2024-03-18 11:00:38,553][DEBUG][li.LearnedIndexBuild] Training model on path (3, 1, -1).\n", + "[2024-03-18 11:00:38,564][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:38,676][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.71316\n", + "[2024-03-18 11:00:38,741][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08973\n", + "[2024-03-18 11:00:38,805][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02294\n", + "[2024-03-18 11:00:38,878][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01191\n", + "[2024-03-18 11:00:38,947][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00808\n", + "[2024-03-18 11:00:39,065][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00603\n", + "[2024-03-18 11:00:39,171][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00472\n", + "[2024-03-18 11:00:39,309][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00381\n", + "[2024-03-18 11:00:39,388][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00315\n", + "[2024-03-18 11:00:39,468][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.9125688076019287\n", + " 32%|███▏ | 32/100 [00:23<00:57, 1.19it/s][2024-03-18 11:00:39,473][DEBUG][li.LearnedIndexBuild] Training model on path (3, 2, -1).\n", + "[2024-03-18 11:00:39,485][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:39,586][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.65667\n", + "[2024-03-18 11:00:39,646][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05757\n", + "[2024-03-18 11:00:39,718][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01230\n", + "[2024-03-18 11:00:39,794][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00642\n", + "[2024-03-18 11:00:39,850][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00449\n", + "[2024-03-18 11:00:39,898][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00343\n", + "[2024-03-18 11:00:39,953][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00273\n", + "[2024-03-18 11:00:40,010][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00222\n", + "[2024-03-18 11:00:40,068][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00185\n", + "[2024-03-18 11:00:40,130][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6536526679992676\n", + " 33%|███▎ | 33/100 [00:24<00:52, 1.27it/s][2024-03-18 11:00:40,135][DEBUG][li.LearnedIndexBuild] Training model on path (3, 3, -1).\n", + "[2024-03-18 11:00:40,143][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:40,270][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.62263\n", + "[2024-03-18 11:00:40,378][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05544\n", + "[2024-03-18 11:00:40,447][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01353\n", + "[2024-03-18 11:00:40,523][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00754\n", + "[2024-03-18 11:00:40,610][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00540\n", + "[2024-03-18 11:00:40,706][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00418\n", + "[2024-03-18 11:00:40,798][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00335\n", + "[2024-03-18 11:00:40,878][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00275\n", + "[2024-03-18 11:00:40,968][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00230\n", + "[2024-03-18 11:00:41,047][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.9099271297454834\n", + " 34%|███▍ | 34/100 [00:25<00:54, 1.21it/s][2024-03-18 11:00:41,052][DEBUG][li.LearnedIndexBuild] Training model on path (3, 4, -1).\n", + "[2024-03-18 11:00:41,058][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:41,158][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.60891\n", + "[2024-03-18 11:00:41,237][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04266\n", + "[2024-03-18 11:00:41,309][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01052\n", + "[2024-03-18 11:00:41,383][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00612\n", + "[2024-03-18 11:00:41,474][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00452\n", + "[2024-03-18 11:00:41,549][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00357\n", + "[2024-03-18 11:00:41,608][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00291\n", + "[2024-03-18 11:00:41,676][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00242\n", + "[2024-03-18 11:00:41,791][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00205\n", + "[2024-03-18 11:00:41,855][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8031003475189209\n", + " 35%|███▌ | 35/100 [00:26<00:53, 1.22it/s][2024-03-18 11:00:41,858][DEBUG][li.LearnedIndexBuild] Training model on path (3, 5, -1).\n", + "[2024-03-18 11:00:41,867][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:41,967][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.61049\n", + "[2024-03-18 11:00:42,033][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04933\n", + "[2024-03-18 11:00:42,085][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01139\n", + "[2024-03-18 11:00:42,142][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00630\n", + "[2024-03-18 11:00:42,201][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00450\n", + "[2024-03-18 11:00:42,257][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00349\n", + "[2024-03-18 11:00:42,311][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00280\n", + "[2024-03-18 11:00:42,368][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00229\n", + "[2024-03-18 11:00:42,429][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00192\n", + "[2024-03-18 11:00:42,480][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6189675331115723\n", + " 36%|███▌ | 36/100 [00:26<00:48, 1.31it/s][2024-03-18 11:00:42,484][DEBUG][li.LearnedIndexBuild] Training model on path (3, 6, -1).\n", + "[2024-03-18 11:00:42,492][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:42,602][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.64149\n", + "[2024-03-18 11:00:42,670][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08610\n", + "[2024-03-18 11:00:42,730][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02086\n", + "[2024-03-18 11:00:42,799][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01058\n", + "[2024-03-18 11:00:42,868][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00718\n", + "[2024-03-18 11:00:42,940][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00539\n", + "[2024-03-18 11:00:43,013][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00424\n", + "[2024-03-18 11:00:43,081][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00344\n", + "[2024-03-18 11:00:43,150][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00285\n", + "[2024-03-18 11:00:43,215][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7272579669952393\n", + " 37%|███▋ | 37/100 [00:27<00:47, 1.33it/s][2024-03-18 11:00:43,218][DEBUG][li.LearnedIndexBuild] Training model on path (3, 7, -1).\n", + "[2024-03-18 11:00:43,225][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:43,331][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73891\n", + "[2024-03-18 11:00:43,403][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07262\n", + "[2024-03-18 11:00:43,459][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01702\n", + "[2024-03-18 11:00:43,527][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00924\n", + "[2024-03-18 11:00:43,605][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00651\n", + "[2024-03-18 11:00:43,687][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00500\n", + "[2024-03-18 11:00:43,760][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00398\n", + "[2024-03-18 11:00:43,816][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00326\n", + "[2024-03-18 11:00:43,877][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00272\n", + "[2024-03-18 11:00:43,932][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7126147747039795\n", + " 38%|███▊ | 38/100 [00:28<00:46, 1.34it/s][2024-03-18 11:00:43,938][DEBUG][li.LearnedIndexBuild] Training model on path (3, 8, -1).\n", + "[2024-03-18 11:00:43,938][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:44,031][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73785\n", + "[2024-03-18 11:00:44,109][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.09291\n", + "[2024-03-18 11:00:44,165][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02291\n", + "[2024-03-18 11:00:44,210][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01166\n", + "[2024-03-18 11:00:44,267][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00787\n", + "[2024-03-18 11:00:44,317][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00587\n", + "[2024-03-18 11:00:44,361][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00459\n", + "[2024-03-18 11:00:44,409][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00371\n", + "[2024-03-18 11:00:44,464][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00306\n", + "[2024-03-18 11:00:44,512][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5738909244537354\n", + " 39%|███▉ | 39/100 [00:28<00:42, 1.44it/s][2024-03-18 11:00:44,516][DEBUG][li.LearnedIndexBuild] Training model on path (3, 9, -1).\n", + "[2024-03-18 11:00:44,523][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:44,591][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.90493\n", + "[2024-03-18 11:00:44,648][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.13723\n", + "[2024-03-18 11:00:44,692][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03149\n", + "[2024-03-18 11:00:44,729][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01452\n", + "[2024-03-18 11:00:44,766][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00931\n", + "[2024-03-18 11:00:44,802][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00676\n", + "[2024-03-18 11:00:44,839][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00520\n", + "[2024-03-18 11:00:44,884][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00415\n", + "[2024-03-18 11:00:44,926][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00339\n", + "[2024-03-18 11:00:44,964][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.4456295967102051\n", + " 40%|████ | 40/100 [00:29<00:37, 1.61it/s][2024-03-18 11:00:44,967][DEBUG][li.LearnedIndexBuild] Training model on path (4, 0, -1).\n", + "[2024-03-18 11:00:44,974][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:45,070][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.55161\n", + "[2024-03-18 11:00:45,135][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04904\n", + "[2024-03-18 11:00:45,188][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01222\n", + "[2024-03-18 11:00:45,249][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00680\n", + "[2024-03-18 11:00:45,299][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00484\n", + "[2024-03-18 11:00:45,351][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00374\n", + "[2024-03-18 11:00:45,403][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00299\n", + "[2024-03-18 11:00:45,454][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00245\n", + "[2024-03-18 11:00:45,508][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00205\n", + "[2024-03-18 11:00:45,558][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5896012783050537\n", + " 41%|████ | 41/100 [00:29<00:36, 1.63it/s][2024-03-18 11:00:45,564][DEBUG][li.LearnedIndexBuild] Training model on path (4, 1, -1).\n", + "[2024-03-18 11:00:45,571][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:45,682][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.60726\n", + "[2024-03-18 11:00:45,737][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05585\n", + "[2024-03-18 11:00:45,784][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01314\n", + "[2024-03-18 11:00:45,839][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00721\n", + "[2024-03-18 11:00:45,903][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00511\n", + "[2024-03-18 11:00:45,966][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00392\n", + "[2024-03-18 11:00:46,016][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00313\n", + "[2024-03-18 11:00:46,068][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00255\n", + "[2024-03-18 11:00:46,131][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00213\n", + "[2024-03-18 11:00:46,180][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6130521297454834\n", + " 42%|████▏ | 42/100 [00:30<00:35, 1.63it/s][2024-03-18 11:00:46,182][DEBUG][li.LearnedIndexBuild] Training model on path (4, 2, -1).\n", + "[2024-03-18 11:00:46,191][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:46,292][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.81040\n", + "[2024-03-18 11:00:46,350][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11364\n", + "[2024-03-18 11:00:46,405][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02419\n", + "[2024-03-18 11:00:46,456][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01186\n", + "[2024-03-18 11:00:46,506][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00799\n", + "[2024-03-18 11:00:46,558][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00599\n", + "[2024-03-18 11:00:46,610][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00471\n", + "[2024-03-18 11:00:46,669][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00382\n", + "[2024-03-18 11:00:46,721][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00316\n", + "[2024-03-18 11:00:46,768][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5819916725158691\n", + " 43%|████▎ | 43/100 [00:31<00:34, 1.64it/s][2024-03-18 11:00:46,777][DEBUG][li.LearnedIndexBuild] Training model on path (4, 3, -1).\n", + "[2024-03-18 11:00:46,785][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:46,895][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.81610\n", + "[2024-03-18 11:00:46,961][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11243\n", + "[2024-03-18 11:00:47,028][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02895\n", + "[2024-03-18 11:00:47,090][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01490\n", + "[2024-03-18 11:00:47,155][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01004\n", + "[2024-03-18 11:00:47,227][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00749\n", + "[2024-03-18 11:00:47,292][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00587\n", + "[2024-03-18 11:00:47,358][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00474\n", + "[2024-03-18 11:00:47,421][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00392\n", + "[2024-03-18 11:00:47,490][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7101538181304932\n", + " 44%|████▍ | 44/100 [00:31<00:35, 1.56it/s][2024-03-18 11:00:47,492][DEBUG][li.LearnedIndexBuild] Training model on path (4, 4, -1).\n", + "[2024-03-18 11:00:47,500][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:47,594][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.70385\n", + "[2024-03-18 11:00:47,652][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07723\n", + "[2024-03-18 11:00:47,707][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01662\n", + "[2024-03-18 11:00:47,761][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00834\n", + "[2024-03-18 11:00:47,807][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00572\n", + "[2024-03-18 11:00:47,849][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00435\n", + "[2024-03-18 11:00:47,903][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00345\n", + "[2024-03-18 11:00:47,958][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00281\n", + "[2024-03-18 11:00:48,005][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00234\n", + "[2024-03-18 11:00:48,063][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5641629695892334\n", + " 45%|████▌ | 45/100 [00:32<00:34, 1.61it/s][2024-03-18 11:00:48,066][DEBUG][li.LearnedIndexBuild] Training model on path (4, 5, -1).\n", + "[2024-03-18 11:00:48,068][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:48,181][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.75295\n", + "[2024-03-18 11:00:48,238][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.14754\n", + "[2024-03-18 11:00:48,303][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03464\n", + "[2024-03-18 11:00:48,365][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01621\n", + "[2024-03-18 11:00:48,418][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01048\n", + "[2024-03-18 11:00:48,481][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00761\n", + "[2024-03-18 11:00:48,538][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00585\n", + "[2024-03-18 11:00:48,597][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00466\n", + "[2024-03-18 11:00:48,669][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00381\n", + "[2024-03-18 11:00:48,737][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.669318675994873\n", + " 46%|████▌ | 46/100 [00:33<00:34, 1.57it/s][2024-03-18 11:00:48,738][DEBUG][li.LearnedIndexBuild] Training model on path (4, 6, -1).\n", + "[2024-03-18 11:00:48,748][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:48,876][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.80620\n", + "[2024-03-18 11:00:48,948][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10360\n", + "[2024-03-18 11:00:49,029][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02289\n", + "[2024-03-18 11:00:49,118][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01154\n", + "[2024-03-18 11:00:49,223][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00788\n", + "[2024-03-18 11:00:49,341][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00595\n", + "[2024-03-18 11:00:49,405][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00469\n", + "[2024-03-18 11:00:49,481][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00381\n", + "[2024-03-18 11:00:49,536][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00316\n", + "[2024-03-18 11:00:49,588][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8497626781463623\n", + " 47%|████▋ | 47/100 [00:33<00:37, 1.43it/s][2024-03-18 11:00:49,593][DEBUG][li.LearnedIndexBuild] Training model on path (4, 7, -1).\n", + "[2024-03-18 11:00:49,602][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:49,703][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.53002\n", + "[2024-03-18 11:00:49,758][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.03872\n", + "[2024-03-18 11:00:49,814][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00964\n", + "[2024-03-18 11:00:49,870][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00532\n", + "[2024-03-18 11:00:49,923][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00384\n", + "[2024-03-18 11:00:49,975][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00299\n", + "[2024-03-18 11:00:50,031][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00241\n", + "[2024-03-18 11:00:50,091][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00199\n", + "[2024-03-18 11:00:50,143][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00166\n", + "[2024-03-18 11:00:50,195][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5999746322631836\n", + " 48%|████▊ | 48/100 [00:34<00:35, 1.49it/s][2024-03-18 11:00:50,199][DEBUG][li.LearnedIndexBuild] Training model on path (4, 8, -1).\n", + "[2024-03-18 11:00:50,205][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:50,288][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.61050\n", + "[2024-03-18 11:00:50,359][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05772\n", + "[2024-03-18 11:00:50,409][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01287\n", + "[2024-03-18 11:00:50,454][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00698\n", + "[2024-03-18 11:00:50,505][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00497\n", + "[2024-03-18 11:00:50,556][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00385\n", + "[2024-03-18 11:00:50,604][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00310\n", + "[2024-03-18 11:00:50,658][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00255\n", + "[2024-03-18 11:00:50,710][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00214\n", + "[2024-03-18 11:00:50,771][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.570488452911377\n", + " 49%|████▉ | 49/100 [00:35<00:32, 1.55it/s][2024-03-18 11:00:50,778][DEBUG][li.LearnedIndexBuild] Training model on path (4, 9, -1).\n", + "[2024-03-18 11:00:50,787][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:50,872][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.60720\n", + "[2024-03-18 11:00:50,941][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04308\n", + "[2024-03-18 11:00:51,026][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00929\n", + "[2024-03-18 11:00:51,113][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00516\n", + "[2024-03-18 11:00:51,178][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00376\n", + "[2024-03-18 11:00:51,238][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00295\n", + "[2024-03-18 11:00:51,295][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00240\n", + "[2024-03-18 11:00:51,346][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00199\n", + "[2024-03-18 11:00:51,408][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00168\n", + "[2024-03-18 11:00:51,477][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6966168880462646\n", + " 50%|█████ | 50/100 [00:35<00:33, 1.51it/s][2024-03-18 11:00:51,482][DEBUG][li.LearnedIndexBuild] Training model on path (5, 0, -1).\n", + "[2024-03-18 11:00:51,491][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:51,568][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.52738\n", + "[2024-03-18 11:00:51,638][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.02440\n", + "[2024-03-18 11:00:51,698][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00551\n", + "[2024-03-18 11:00:51,758][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00338\n", + "[2024-03-18 11:00:51,870][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00260\n", + "[2024-03-18 11:00:51,921][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00212\n", + "[2024-03-18 11:00:51,975][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00177\n", + "[2024-03-18 11:00:52,039][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00150\n", + "[2024-03-18 11:00:52,093][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00129\n", + "[2024-03-18 11:00:52,152][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6671271324157715\n", + " 51%|█████ | 51/100 [00:36<00:32, 1.50it/s][2024-03-18 11:00:52,157][DEBUG][li.LearnedIndexBuild] Training model on path (5, 1, -1).\n", + "[2024-03-18 11:00:52,167][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:52,278][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.77913\n", + "[2024-03-18 11:00:52,359][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10328\n", + "[2024-03-18 11:00:52,442][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02635\n", + "[2024-03-18 11:00:52,511][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01348\n", + "[2024-03-18 11:00:52,578][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00903\n", + "[2024-03-18 11:00:52,649][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00667\n", + "[2024-03-18 11:00:52,719][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00518\n", + "[2024-03-18 11:00:52,783][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00415\n", + "[2024-03-18 11:00:52,845][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00341\n", + "[2024-03-18 11:00:52,911][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7515923976898193\n", + " 52%|█████▏ | 52/100 [00:37<00:33, 1.44it/s][2024-03-18 11:00:52,914][DEBUG][li.LearnedIndexBuild] Training model on path (5, 2, -1).\n", + "[2024-03-18 11:00:52,918][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:53,007][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.47955\n", + "[2024-03-18 11:00:53,072][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.02529\n", + "[2024-03-18 11:00:53,143][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00638\n", + "[2024-03-18 11:00:53,199][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00387\n", + "[2024-03-18 11:00:53,247][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00294\n", + "[2024-03-18 11:00:53,300][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00237\n", + "[2024-03-18 11:00:53,347][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00196\n", + "[2024-03-18 11:00:53,407][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00164\n", + "[2024-03-18 11:00:53,487][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00140\n", + "[2024-03-18 11:00:53,554][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6372849941253662\n", + " 53%|█████▎ | 53/100 [00:37<00:31, 1.47it/s][2024-03-18 11:00:53,559][DEBUG][li.LearnedIndexBuild] Training model on path (5, 3, -1).\n", + "[2024-03-18 11:00:53,569][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:53,686][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.74158\n", + "[2024-03-18 11:00:53,752][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11611\n", + "[2024-03-18 11:00:53,817][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03132\n", + "[2024-03-18 11:00:53,892][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01570\n", + "[2024-03-18 11:00:53,992][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01031\n", + "[2024-03-18 11:00:54,078][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00754\n", + "[2024-03-18 11:00:54,176][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00582\n", + "[2024-03-18 11:00:54,321][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00466\n", + "[2024-03-18 11:00:54,417][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00382\n", + "[2024-03-18 11:00:54,485][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.9230706691741943\n", + " 54%|█████▍ | 54/100 [00:38<00:34, 1.33it/s][2024-03-18 11:00:54,489][DEBUG][li.LearnedIndexBuild] Training model on path (5, 4, -1).\n", + "[2024-03-18 11:00:54,497][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:54,594][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.48610\n", + "[2024-03-18 11:00:54,658][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.02913\n", + "[2024-03-18 11:00:54,709][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00775\n", + "[2024-03-18 11:00:54,772][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00471\n", + "[2024-03-18 11:00:54,831][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00354\n", + "[2024-03-18 11:00:54,882][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00282\n", + "[2024-03-18 11:00:54,935][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00231\n", + "[2024-03-18 11:00:54,985][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00193\n", + "[2024-03-18 11:00:55,031][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00164\n", + "[2024-03-18 11:00:55,088][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5971102714538574\n", + " 55%|█████▌ | 55/100 [00:39<00:31, 1.41it/s][2024-03-18 11:00:55,093][DEBUG][li.LearnedIndexBuild] Training model on path (5, 5, -1).\n", + "[2024-03-18 11:00:55,099][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:55,193][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.66981\n", + "[2024-03-18 11:00:55,271][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04992\n", + "[2024-03-18 11:00:55,334][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01120\n", + "[2024-03-18 11:00:55,389][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00638\n", + "[2024-03-18 11:00:55,444][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00468\n", + "[2024-03-18 11:00:55,489][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00369\n", + "[2024-03-18 11:00:55,541][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00300\n", + "[2024-03-18 11:00:55,603][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00250\n", + "[2024-03-18 11:00:55,656][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00211\n", + "[2024-03-18 11:00:55,709][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6120901107788086\n", + " 56%|█████▌ | 56/100 [00:39<00:29, 1.47it/s][2024-03-18 11:00:55,712][DEBUG][li.LearnedIndexBuild] Training model on path (5, 6, -1).\n", + "[2024-03-18 11:00:55,717][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:55,827][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.66130\n", + "[2024-03-18 11:00:55,918][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06250\n", + "[2024-03-18 11:00:55,991][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01300\n", + "[2024-03-18 11:00:56,048][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00688\n", + "[2024-03-18 11:00:56,102][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00487\n", + "[2024-03-18 11:00:56,148][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00376\n", + "[2024-03-18 11:00:56,211][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00302\n", + "[2024-03-18 11:00:56,295][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00248\n", + "[2024-03-18 11:00:56,342][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00208\n", + "[2024-03-18 11:00:56,394][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6792593002319336\n", + " 57%|█████▋ | 57/100 [00:40<00:29, 1.46it/s][2024-03-18 11:00:56,397][DEBUG][li.LearnedIndexBuild] Training model on path (5, 7, -1).\n", + "[2024-03-18 11:00:56,404][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:56,500][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.76824\n", + "[2024-03-18 11:00:56,558][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08771\n", + "[2024-03-18 11:00:56,608][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02138\n", + "[2024-03-18 11:00:56,663][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01096\n", + "[2024-03-18 11:00:56,715][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00743\n", + "[2024-03-18 11:00:56,766][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00556\n", + "[2024-03-18 11:00:56,831][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00436\n", + "[2024-03-18 11:00:56,890][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00352\n", + "[2024-03-18 11:00:56,960][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00290\n", + "[2024-03-18 11:00:57,051][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6518456935882568\n", + " 58%|█████▊ | 58/100 [00:41<00:28, 1.48it/s][2024-03-18 11:00:57,056][DEBUG][li.LearnedIndexBuild] Training model on path (5, 8, -1).\n", + "[2024-03-18 11:00:57,070][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:57,148][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.42002\n", + "[2024-03-18 11:00:57,210][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.01614\n", + "[2024-03-18 11:00:57,254][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00436\n", + "[2024-03-18 11:00:57,293][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00283\n", + "[2024-03-18 11:00:57,337][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00223\n", + "[2024-03-18 11:00:57,378][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00185\n", + "[2024-03-18 11:00:57,415][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00156\n", + "[2024-03-18 11:00:57,455][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00133\n", + "[2024-03-18 11:00:57,492][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00115\n", + "[2024-03-18 11:00:57,535][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.47572755813598633\n", + " 59%|█████▉ | 59/100 [00:41<00:25, 1.62it/s][2024-03-18 11:00:57,539][DEBUG][li.LearnedIndexBuild] Training model on path (5, 9, -1).\n", + "[2024-03-18 11:00:57,546][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:57,643][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.65286\n", + "[2024-03-18 11:00:57,698][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05419\n", + "[2024-03-18 11:00:57,741][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01145\n", + "[2024-03-18 11:00:57,776][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00623\n", + "[2024-03-18 11:00:57,817][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00448\n", + "[2024-03-18 11:00:57,861][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00349\n", + "[2024-03-18 11:00:57,907][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00282\n", + "[2024-03-18 11:00:57,941][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00233\n", + "[2024-03-18 11:00:57,989][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00195\n", + "[2024-03-18 11:00:58,053][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5118134021759033\n", + " 60%|██████ | 60/100 [00:42<00:23, 1.70it/s][2024-03-18 11:00:58,059][DEBUG][li.LearnedIndexBuild] Training model on path (6, 0, -1).\n", + "[2024-03-18 11:00:58,070][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:58,192][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.91745\n", + "[2024-03-18 11:00:58,264][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.18532\n", + "[2024-03-18 11:00:58,324][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.04997\n", + "[2024-03-18 11:00:58,390][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02203\n", + "[2024-03-18 11:00:58,458][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01344\n", + "[2024-03-18 11:00:58,521][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00950\n", + "[2024-03-18 11:00:58,581][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00721\n", + "[2024-03-18 11:00:58,641][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00570\n", + "[2024-03-18 11:00:58,700][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00464\n", + "[2024-03-18 11:00:58,760][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6970269680023193\n", + " 61%|██████ | 61/100 [00:43<00:24, 1.60it/s][2024-03-18 11:00:58,763][DEBUG][li.LearnedIndexBuild] Training model on path (6, 1, -1).\n", + "[2024-03-18 11:00:58,770][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:58,862][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.73694\n", + "[2024-03-18 11:00:58,917][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10292\n", + "[2024-03-18 11:00:58,972][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02232\n", + "[2024-03-18 11:00:59,034][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01062\n", + "[2024-03-18 11:00:59,094][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00705\n", + "[2024-03-18 11:00:59,164][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00525\n", + "[2024-03-18 11:00:59,226][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00412\n", + "[2024-03-18 11:00:59,283][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00334\n", + "[2024-03-18 11:00:59,337][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00277\n", + "[2024-03-18 11:00:59,389][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6235723495483398\n", + " 62%|██████▏ | 62/100 [00:43<00:23, 1.60it/s][2024-03-18 11:00:59,398][DEBUG][li.LearnedIndexBuild] Training model on path (6, 2, -1).\n", + "[2024-03-18 11:00:59,405][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:00:59,489][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.63879\n", + "[2024-03-18 11:00:59,543][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06097\n", + "[2024-03-18 11:00:59,592][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01407\n", + "[2024-03-18 11:00:59,638][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00745\n", + "[2024-03-18 11:00:59,688][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00519\n", + "[2024-03-18 11:00:59,733][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00396\n", + "[2024-03-18 11:00:59,791][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00314\n", + "[2024-03-18 11:00:59,843][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00256\n", + "[2024-03-18 11:00:59,893][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00213\n", + "[2024-03-18 11:00:59,948][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5487461090087891\n", + " 63%|██████▎ | 63/100 [00:44<00:22, 1.65it/s][2024-03-18 11:00:59,951][DEBUG][li.LearnedIndexBuild] Training model on path (6, 3, -1).\n", + "[2024-03-18 11:00:59,960][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:00,049][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.47330\n", + "[2024-03-18 11:01:00,110][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.02798\n", + "[2024-03-18 11:01:00,159][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00634\n", + "[2024-03-18 11:01:00,226][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00375\n", + "[2024-03-18 11:01:00,283][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00282\n", + "[2024-03-18 11:01:00,338][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00227\n", + "[2024-03-18 11:01:00,401][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00187\n", + "[2024-03-18 11:01:00,448][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00157\n", + "[2024-03-18 11:01:00,505][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00134\n", + "[2024-03-18 11:01:00,551][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5972409248352051\n", + " 64%|██████▍ | 64/100 [00:44<00:21, 1.65it/s][2024-03-18 11:01:00,557][DEBUG][li.LearnedIndexBuild] Training model on path (6, 4, -1).\n", + "[2024-03-18 11:01:00,567][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:00,732][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.84680\n", + "[2024-03-18 11:01:00,824][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10730\n", + "[2024-03-18 11:01:00,902][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02053\n", + "[2024-03-18 11:01:00,972][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00993\n", + "[2024-03-18 11:01:01,040][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00674\n", + "[2024-03-18 11:01:01,141][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00510\n", + "[2024-03-18 11:01:01,219][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00404\n", + "[2024-03-18 11:01:01,282][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00329\n", + "[2024-03-18 11:01:01,339][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00274\n", + "[2024-03-18 11:01:01,399][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.839651346206665\n", + " 65%|██████▌ | 65/100 [00:45<00:23, 1.48it/s][2024-03-18 11:01:01,404][DEBUG][li.LearnedIndexBuild] Training model on path (6, 5, -1).\n", + "[2024-03-18 11:01:01,412][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:01,485][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.64755\n", + "[2024-03-18 11:01:01,548][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06589\n", + "[2024-03-18 11:01:01,587][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01373\n", + "[2024-03-18 11:01:01,638][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00703\n", + "[2024-03-18 11:01:01,687][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00489\n", + "[2024-03-18 11:01:01,731][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00373\n", + "[2024-03-18 11:01:01,774][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00297\n", + "[2024-03-18 11:01:01,815][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00243\n", + "[2024-03-18 11:01:01,852][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00203\n", + "[2024-03-18 11:01:01,887][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.4803016185760498\n", + " 66%|██████▌ | 66/100 [00:46<00:21, 1.61it/s][2024-03-18 11:01:01,891][DEBUG][li.LearnedIndexBuild] Training model on path (6, 6, -1).\n", + "[2024-03-18 11:01:01,897][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:01,989][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.92230\n", + "[2024-03-18 11:01:02,057][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.16623\n", + "[2024-03-18 11:01:02,114][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03653\n", + "[2024-03-18 11:01:02,165][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01617\n", + "[2024-03-18 11:01:02,214][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01015\n", + "[2024-03-18 11:01:02,272][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00731\n", + "[2024-03-18 11:01:02,318][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00560\n", + "[2024-03-18 11:01:02,370][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00445\n", + "[2024-03-18 11:01:02,453][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00363\n", + "[2024-03-18 11:01:02,518][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6269640922546387\n", + " 67%|██████▋ | 67/100 [00:46<00:20, 1.60it/s][2024-03-18 11:01:02,519][DEBUG][li.LearnedIndexBuild] Training model on path (6, 7, -1).\n", + "[2024-03-18 11:01:02,532][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:02,634][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 1.00932\n", + "[2024-03-18 11:01:02,708][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.18262\n", + "[2024-03-18 11:01:02,775][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.04787\n", + "[2024-03-18 11:01:02,838][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02373\n", + "[2024-03-18 11:01:02,934][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01541\n", + "[2024-03-18 11:01:03,015][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.01115\n", + "[2024-03-18 11:01:03,083][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00853\n", + "[2024-03-18 11:01:03,138][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00676\n", + "[2024-03-18 11:01:03,202][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00550\n", + "[2024-03-18 11:01:03,267][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7484595775604248\n", + " 68%|██████▊ | 68/100 [00:47<00:21, 1.51it/s][2024-03-18 11:01:03,268][DEBUG][li.LearnedIndexBuild] Training model on path (6, 8, -1).\n", + "[2024-03-18 11:01:03,280][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:03,369][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.51874\n", + "[2024-03-18 11:01:03,438][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.03112\n", + "[2024-03-18 11:01:03,494][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00775\n", + "[2024-03-18 11:01:03,539][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00462\n", + "[2024-03-18 11:01:03,595][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00345\n", + "[2024-03-18 11:01:03,641][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00275\n", + "[2024-03-18 11:01:03,695][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00225\n", + "[2024-03-18 11:01:03,739][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00187\n", + "[2024-03-18 11:01:03,791][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00159\n", + "[2024-03-18 11:01:03,838][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5701265335083008\n", + " 69%|██████▉ | 69/100 [00:48<00:19, 1.58it/s][2024-03-18 11:01:03,838][DEBUG][li.LearnedIndexBuild] Training model on path (6, 9, -1).\n", + "[2024-03-18 11:01:03,852][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:03,949][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.69732\n", + "[2024-03-18 11:01:04,017][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.09340\n", + "[2024-03-18 11:01:04,081][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01882\n", + "[2024-03-18 11:01:04,144][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00927\n", + "[2024-03-18 11:01:04,247][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00631\n", + "[2024-03-18 11:01:04,359][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00477\n", + "[2024-03-18 11:01:04,427][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00377\n", + "[2024-03-18 11:01:04,478][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00307\n", + "[2024-03-18 11:01:04,540][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00255\n", + "[2024-03-18 11:01:04,612][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7664575576782227\n", + " 70%|███████ | 70/100 [00:48<00:20, 1.48it/s][2024-03-18 11:01:04,616][DEBUG][li.LearnedIndexBuild] Training model on path (7, 0, -1).\n", + "[2024-03-18 11:01:04,626][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:04,759][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.91115\n", + "[2024-03-18 11:01:04,888][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.21432\n", + "[2024-03-18 11:01:04,985][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.06133\n", + "[2024-03-18 11:01:05,079][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02979\n", + "[2024-03-18 11:01:05,180][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01869\n", + "[2024-03-18 11:01:05,270][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.01317\n", + "[2024-03-18 11:01:05,357][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00986\n", + "[2024-03-18 11:01:05,441][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00769\n", + "[2024-03-18 11:01:05,527][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00617\n", + "[2024-03-18 11:01:05,640][DEBUG][li.LearnedIndexBuild] Trained the model in: 1.0201377868652344\n", + " 71%|███████ | 71/100 [00:49<00:22, 1.28it/s][2024-03-18 11:01:05,645][DEBUG][li.LearnedIndexBuild] Training model on path (7, 1, -1).\n", + "[2024-03-18 11:01:05,662][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:05,787][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.91861\n", + "[2024-03-18 11:01:05,876][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.27086\n", + "[2024-03-18 11:01:05,954][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.08951\n", + "[2024-03-18 11:01:06,041][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.03847\n", + "[2024-03-18 11:01:06,130][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.02194\n", + "[2024-03-18 11:01:06,207][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.01466\n", + "[2024-03-18 11:01:06,283][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.01063\n", + "[2024-03-18 11:01:06,350][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00810\n", + "[2024-03-18 11:01:06,435][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00639\n", + "[2024-03-18 11:01:06,507][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8571984767913818\n", + " 72%|███████▏ | 72/100 [00:50<00:22, 1.24it/s][2024-03-18 11:01:06,510][DEBUG][li.LearnedIndexBuild] Training model on path (7, 2, -1).\n", + "[2024-03-18 11:01:06,518][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:06,607][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.89967\n", + "[2024-03-18 11:01:06,661][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11681\n", + "[2024-03-18 11:01:06,712][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02801\n", + "[2024-03-18 11:01:06,765][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01396\n", + "[2024-03-18 11:01:06,813][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00929\n", + "[2024-03-18 11:01:06,868][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00686\n", + "[2024-03-18 11:01:06,917][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00532\n", + "[2024-03-18 11:01:06,965][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00426\n", + "[2024-03-18 11:01:07,012][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00349\n", + "[2024-03-18 11:01:07,063][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5515825748443604\n", + " 73%|███████▎ | 73/100 [00:51<00:19, 1.37it/s][2024-03-18 11:01:07,067][DEBUG][li.LearnedIndexBuild] Training model on path (7, 3, -1).\n", + "[2024-03-18 11:01:07,074][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:07,163][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.67566\n", + "[2024-03-18 11:01:07,217][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07050\n", + "[2024-03-18 11:01:07,267][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01637\n", + "[2024-03-18 11:01:07,319][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00848\n", + "[2024-03-18 11:01:07,369][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00583\n", + "[2024-03-18 11:01:07,424][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00440\n", + "[2024-03-18 11:01:07,468][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00347\n", + "[2024-03-18 11:01:07,515][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00282\n", + "[2024-03-18 11:01:07,565][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00234\n", + "[2024-03-18 11:01:07,611][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5408837795257568\n", + " 74%|███████▍ | 74/100 [00:51<00:17, 1.48it/s][2024-03-18 11:01:07,614][DEBUG][li.LearnedIndexBuild] Training model on path (7, 4, -1).\n", + "[2024-03-18 11:01:07,618][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:07,710][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.71773\n", + "[2024-03-18 11:01:07,767][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05777\n", + "[2024-03-18 11:01:07,821][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01302\n", + "[2024-03-18 11:01:07,890][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00715\n", + "[2024-03-18 11:01:07,952][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00512\n", + "[2024-03-18 11:01:08,004][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00397\n", + "[2024-03-18 11:01:08,060][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00319\n", + "[2024-03-18 11:01:08,111][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00263\n", + "[2024-03-18 11:01:08,162][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00220\n", + "[2024-03-18 11:01:08,217][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.600975751876831\n", + " 75%|███████▌ | 75/100 [00:52<00:16, 1.53it/s][2024-03-18 11:01:08,221][DEBUG][li.LearnedIndexBuild] Training model on path (7, 5, -1).\n", + "[2024-03-18 11:01:08,227][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:08,319][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.62137\n", + "[2024-03-18 11:01:08,383][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05055\n", + "[2024-03-18 11:01:08,427][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01151\n", + "[2024-03-18 11:01:08,472][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00634\n", + "[2024-03-18 11:01:08,519][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00454\n", + "[2024-03-18 11:01:08,569][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00352\n", + "[2024-03-18 11:01:08,621][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00283\n", + "[2024-03-18 11:01:08,673][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00232\n", + "[2024-03-18 11:01:08,716][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00195\n", + "[2024-03-18 11:01:08,761][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.537635087966919\n", + " 76%|███████▌ | 76/100 [00:53<00:14, 1.61it/s][2024-03-18 11:01:08,763][DEBUG][li.LearnedIndexBuild] Training model on path (7, 6, -1).\n", + "[2024-03-18 11:01:08,771][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:08,869][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.87967\n", + "[2024-03-18 11:01:08,932][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.17867\n", + "[2024-03-18 11:01:08,987][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.04581\n", + "[2024-03-18 11:01:09,053][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02087\n", + "[2024-03-18 11:01:09,112][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01298\n", + "[2024-03-18 11:01:09,176][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00919\n", + "[2024-03-18 11:01:09,231][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00694\n", + "[2024-03-18 11:01:09,291][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00546\n", + "[2024-03-18 11:01:09,351][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00442\n", + "[2024-03-18 11:01:09,419][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6519143581390381\n", + " 77%|███████▋ | 77/100 [00:53<00:14, 1.58it/s][2024-03-18 11:01:09,419][DEBUG][li.LearnedIndexBuild] Training model on path (7, 7, -1).\n", + "[2024-03-18 11:01:09,432][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:09,572][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.66770\n", + "[2024-03-18 11:01:09,658][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.08819\n", + "[2024-03-18 11:01:09,758][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02554\n", + "[2024-03-18 11:01:09,840][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01364\n", + "[2024-03-18 11:01:09,918][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00922\n", + "[2024-03-18 11:01:09,994][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00683\n", + "[2024-03-18 11:01:10,074][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00530\n", + "[2024-03-18 11:01:10,161][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00425\n", + "[2024-03-18 11:01:10,249][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00349\n", + "[2024-03-18 11:01:10,330][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.9027676582336426\n", + " 78%|███████▊ | 78/100 [00:54<00:15, 1.40it/s][2024-03-18 11:01:10,334][DEBUG][li.LearnedIndexBuild] Training model on path (7, 8, -1).\n", + "[2024-03-18 11:01:10,338][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:10,435][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.78247\n", + "[2024-03-18 11:01:10,491][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.11758\n", + "[2024-03-18 11:01:10,536][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03057\n", + "[2024-03-18 11:01:10,586][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01560\n", + "[2024-03-18 11:01:10,633][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01037\n", + "[2024-03-18 11:01:10,686][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00762\n", + "[2024-03-18 11:01:10,739][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00589\n", + "[2024-03-18 11:01:10,791][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00471\n", + "[2024-03-18 11:01:10,878][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00385\n", + "[2024-03-18 11:01:10,934][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.598846435546875\n", + " 79%|███████▉ | 79/100 [00:55<00:14, 1.46it/s][2024-03-18 11:01:10,938][DEBUG][li.LearnedIndexBuild] Training model on path (7, 9, -1).\n", + "[2024-03-18 11:01:10,947][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:11,038][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.87108\n", + "[2024-03-18 11:01:11,104][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10782\n", + "[2024-03-18 11:01:11,158][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02557\n", + "[2024-03-18 11:01:11,210][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01277\n", + "[2024-03-18 11:01:11,259][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00855\n", + "[2024-03-18 11:01:11,308][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00635\n", + "[2024-03-18 11:01:11,357][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00495\n", + "[2024-03-18 11:01:11,411][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00399\n", + "[2024-03-18 11:01:11,467][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00329\n", + "[2024-03-18 11:01:11,511][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5727367401123047\n", + " 80%|████████ | 80/100 [00:55<00:13, 1.54it/s][2024-03-18 11:01:11,514][DEBUG][li.LearnedIndexBuild] Training model on path (8, 0, -1).\n", + "[2024-03-18 11:01:11,518][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:11,624][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.78719\n", + "[2024-03-18 11:01:11,688][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.15018\n", + "[2024-03-18 11:01:11,753][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03455\n", + "[2024-03-18 11:01:11,809][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01579\n", + "[2024-03-18 11:01:11,871][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01006\n", + "[2024-03-18 11:01:11,930][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00727\n", + "[2024-03-18 11:01:11,988][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00557\n", + "[2024-03-18 11:01:12,048][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00443\n", + "[2024-03-18 11:01:12,099][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00361\n", + "[2024-03-18 11:01:12,151][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6344904899597168\n", + " 81%|████████ | 81/100 [00:56<00:12, 1.54it/s][2024-03-18 11:01:12,154][DEBUG][li.LearnedIndexBuild] Training model on path (8, 1, -1).\n", + "[2024-03-18 11:01:12,161][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:12,269][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.61376\n", + "[2024-03-18 11:01:12,333][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05436\n", + "[2024-03-18 11:01:12,398][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01330\n", + "[2024-03-18 11:01:12,457][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00732\n", + "[2024-03-18 11:01:12,516][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00520\n", + "[2024-03-18 11:01:12,577][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00400\n", + "[2024-03-18 11:01:12,641][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00320\n", + "[2024-03-18 11:01:12,706][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00261\n", + "[2024-03-18 11:01:12,767][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00218\n", + "[2024-03-18 11:01:12,830][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6738715171813965\n", + " 82%|████████▏ | 82/100 [00:57<00:11, 1.52it/s][2024-03-18 11:01:12,834][DEBUG][li.LearnedIndexBuild] Training model on path (8, 2, -1).\n", + "[2024-03-18 11:01:12,838][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:12,924][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.67681\n", + "[2024-03-18 11:01:12,980][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.05859\n", + "[2024-03-18 11:01:13,025][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01456\n", + "[2024-03-18 11:01:13,069][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00804\n", + "[2024-03-18 11:01:13,118][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00569\n", + "[2024-03-18 11:01:13,161][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00436\n", + "[2024-03-18 11:01:13,206][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00345\n", + "[2024-03-18 11:01:13,253][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00280\n", + "[2024-03-18 11:01:13,299][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00232\n", + "[2024-03-18 11:01:13,350][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5129711627960205\n", + " 83%|████████▎ | 83/100 [00:57<00:10, 1.62it/s][2024-03-18 11:01:13,353][DEBUG][li.LearnedIndexBuild] Training model on path (8, 3, -1).\n", + "[2024-03-18 11:01:13,361][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:13,503][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.67619\n", + "[2024-03-18 11:01:13,603][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.14268\n", + "[2024-03-18 11:01:13,705][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.05460\n", + "[2024-03-18 11:01:13,789][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.03009\n", + "[2024-03-18 11:01:13,883][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01971\n", + "[2024-03-18 11:01:13,970][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.01411\n", + "[2024-03-18 11:01:14,060][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.01064\n", + "[2024-03-18 11:01:14,138][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00833\n", + "[2024-03-18 11:01:14,233][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00670\n", + "[2024-03-18 11:01:14,326][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.9702436923980713\n", + " 84%|████████▍ | 84/100 [00:58<00:11, 1.38it/s][2024-03-18 11:01:14,330][DEBUG][li.LearnedIndexBuild] Training model on path (8, 4, -1).\n", + "[2024-03-18 11:01:14,338][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:14,458][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.74075\n", + "[2024-03-18 11:01:14,528][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.13573\n", + "[2024-03-18 11:01:14,601][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.04200\n", + "[2024-03-18 11:01:14,687][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02157\n", + "[2024-03-18 11:01:14,758][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01400\n", + "[2024-03-18 11:01:14,839][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.01010\n", + "[2024-03-18 11:01:14,911][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00769\n", + "[2024-03-18 11:01:14,983][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00608\n", + "[2024-03-18 11:01:15,060][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00494\n", + "[2024-03-18 11:01:15,137][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.805513858795166\n", + " 85%|████████▌ | 85/100 [00:59<00:11, 1.33it/s][2024-03-18 11:01:15,141][DEBUG][li.LearnedIndexBuild] Training model on path (8, 5, -1).\n", + "[2024-03-18 11:01:15,147][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:15,221][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.65613\n", + "[2024-03-18 11:01:15,282][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06487\n", + "[2024-03-18 11:01:15,328][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01235\n", + "[2024-03-18 11:01:15,376][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00632\n", + "[2024-03-18 11:01:15,421][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00447\n", + "[2024-03-18 11:01:15,461][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00346\n", + "[2024-03-18 11:01:15,506][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00279\n", + "[2024-03-18 11:01:15,551][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00230\n", + "[2024-03-18 11:01:15,593][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00193\n", + "[2024-03-18 11:01:15,659][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5160372257232666\n", + " 86%|████████▌ | 86/100 [00:59<00:09, 1.46it/s][2024-03-18 11:01:15,666][DEBUG][li.LearnedIndexBuild] Training model on path (8, 6, -1).\n", + "[2024-03-18 11:01:15,676][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:15,783][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.54595\n", + "[2024-03-18 11:01:15,849][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04257\n", + "[2024-03-18 11:01:15,911][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01003\n", + "[2024-03-18 11:01:15,969][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00563\n", + "[2024-03-18 11:01:16,029][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00408\n", + "[2024-03-18 11:01:16,089][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00319\n", + "[2024-03-18 11:01:16,149][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00258\n", + "[2024-03-18 11:01:16,208][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00213\n", + "[2024-03-18 11:01:16,267][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00180\n", + "[2024-03-18 11:01:16,323][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6533586978912354\n", + " 87%|████████▋ | 87/100 [01:00<00:08, 1.48it/s][2024-03-18 11:01:16,326][DEBUG][li.LearnedIndexBuild] Training model on path (8, 7, -1).\n", + "[2024-03-18 11:01:16,334][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:16,459][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.84713\n", + "[2024-03-18 11:01:16,542][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.15817\n", + "[2024-03-18 11:01:16,630][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.04337\n", + "[2024-03-18 11:01:16,715][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02056\n", + "[2024-03-18 11:01:16,790][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01283\n", + "[2024-03-18 11:01:16,866][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00901\n", + "[2024-03-18 11:01:16,936][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00674\n", + "[2024-03-18 11:01:17,007][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00525\n", + "[2024-03-18 11:01:17,079][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00422\n", + "[2024-03-18 11:01:17,161][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8327920436859131\n", + " 88%|████████▊ | 88/100 [01:01<00:08, 1.38it/s][2024-03-18 11:01:17,165][DEBUG][li.LearnedIndexBuild] Training model on path (8, 8, -1).\n", + "[2024-03-18 11:01:17,173][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:17,282][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.63473\n", + "[2024-03-18 11:01:17,357][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07722\n", + "[2024-03-18 11:01:17,461][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01832\n", + "[2024-03-18 11:01:17,567][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00952\n", + "[2024-03-18 11:01:17,633][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00652\n", + "[2024-03-18 11:01:17,688][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00491\n", + "[2024-03-18 11:01:17,761][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00387\n", + "[2024-03-18 11:01:17,822][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00313\n", + "[2024-03-18 11:01:17,886][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00259\n", + "[2024-03-18 11:01:17,942][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.774294376373291\n", + " 89%|████████▉ | 89/100 [01:02<00:08, 1.35it/s][2024-03-18 11:01:17,949][DEBUG][li.LearnedIndexBuild] Training model on path (8, 9, -1).\n", + "[2024-03-18 11:01:17,957][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:18,062][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.74842\n", + "[2024-03-18 11:01:18,128][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.12531\n", + "[2024-03-18 11:01:18,194][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02716\n", + "[2024-03-18 11:01:18,247][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01290\n", + "[2024-03-18 11:01:18,305][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00845\n", + "[2024-03-18 11:01:18,368][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00622\n", + "[2024-03-18 11:01:18,419][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00482\n", + "[2024-03-18 11:01:18,483][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00387\n", + "[2024-03-18 11:01:18,575][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00317\n", + "[2024-03-18 11:01:18,642][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.6929337978363037\n", + " 90%|█████████ | 90/100 [01:02<00:07, 1.37it/s][2024-03-18 11:01:18,646][DEBUG][li.LearnedIndexBuild] Training model on path (9, 0, -1).\n", + "[2024-03-18 11:01:18,655][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:18,782][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.69887\n", + "[2024-03-18 11:01:18,864][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10053\n", + "[2024-03-18 11:01:18,981][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.02852\n", + "[2024-03-18 11:01:19,077][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01484\n", + "[2024-03-18 11:01:19,158][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00984\n", + "[2024-03-18 11:01:19,247][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00719\n", + "[2024-03-18 11:01:19,330][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00553\n", + "[2024-03-18 11:01:19,416][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00440\n", + "[2024-03-18 11:01:19,491][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00360\n", + "[2024-03-18 11:01:19,582][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.9333839416503906\n", + " 91%|█████████ | 91/100 [01:03<00:07, 1.26it/s][2024-03-18 11:01:19,586][DEBUG][li.LearnedIndexBuild] Training model on path (9, 1, -1).\n", + "[2024-03-18 11:01:19,596][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:19,667][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.52338\n", + "[2024-03-18 11:01:19,723][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.04184\n", + "[2024-03-18 11:01:19,765][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01057\n", + "[2024-03-18 11:01:19,802][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00588\n", + "[2024-03-18 11:01:19,838][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00421\n", + "[2024-03-18 11:01:19,869][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00327\n", + "[2024-03-18 11:01:19,913][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00263\n", + "[2024-03-18 11:01:19,949][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00217\n", + "[2024-03-18 11:01:19,988][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00182\n", + "[2024-03-18 11:01:20,028][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.4387364387512207\n", + " 92%|█████████▏| 92/100 [01:04<00:05, 1.45it/s][2024-03-18 11:01:20,032][DEBUG][li.LearnedIndexBuild] Training model on path (9, 2, -1).\n", + "[2024-03-18 11:01:20,037][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:20,158][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.79530\n", + "[2024-03-18 11:01:20,238][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.15336\n", + "[2024-03-18 11:01:20,318][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.04499\n", + "[2024-03-18 11:01:20,400][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.02278\n", + "[2024-03-18 11:01:20,468][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01479\n", + "[2024-03-18 11:01:20,551][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.01067\n", + "[2024-03-18 11:01:20,630][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00813\n", + "[2024-03-18 11:01:20,704][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00643\n", + "[2024-03-18 11:01:20,781][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00523\n", + "[2024-03-18 11:01:20,888][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.8558883666992188\n", + " 93%|█████████▎| 93/100 [01:05<00:05, 1.35it/s][2024-03-18 11:01:20,893][DEBUG][li.LearnedIndexBuild] Training model on path (9, 3, -1).\n", + "[2024-03-18 11:01:20,903][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:21,017][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.70070\n", + "[2024-03-18 11:01:21,083][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06457\n", + "[2024-03-18 11:01:21,149][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01476\n", + "[2024-03-18 11:01:21,209][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00788\n", + "[2024-03-18 11:01:21,308][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00553\n", + "[2024-03-18 11:01:21,435][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00423\n", + "[2024-03-18 11:01:21,511][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00337\n", + "[2024-03-18 11:01:21,571][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00275\n", + "[2024-03-18 11:01:21,637][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00229\n", + "[2024-03-18 11:01:21,693][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7970619201660156\n", + " 94%|█████████▍| 94/100 [01:05<00:04, 1.32it/s][2024-03-18 11:01:21,697][DEBUG][li.LearnedIndexBuild] Training model on path (9, 4, -1).\n", + "[2024-03-18 11:01:21,706][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:21,801][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.63295\n", + "[2024-03-18 11:01:21,862][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06650\n", + "[2024-03-18 11:01:21,917][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01520\n", + "[2024-03-18 11:01:21,974][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00798\n", + "[2024-03-18 11:01:22,032][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00558\n", + "[2024-03-18 11:01:22,084][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00426\n", + "[2024-03-18 11:01:22,127][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00339\n", + "[2024-03-18 11:01:22,177][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00277\n", + "[2024-03-18 11:01:22,233][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00231\n", + "[2024-03-18 11:01:22,289][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.5902292728424072\n", + " 95%|█████████▌| 95/100 [01:06<00:03, 1.41it/s][2024-03-18 11:01:22,295][DEBUG][li.LearnedIndexBuild] Training model on path (9, 5, -1).\n", + "[2024-03-18 11:01:22,304][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:22,409][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.62598\n", + "[2024-03-18 11:01:22,482][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.06593\n", + "[2024-03-18 11:01:22,547][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01415\n", + "[2024-03-18 11:01:22,606][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00755\n", + "[2024-03-18 11:01:22,682][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00533\n", + "[2024-03-18 11:01:22,747][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00412\n", + "[2024-03-18 11:01:22,820][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00330\n", + "[2024-03-18 11:01:22,884][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00272\n", + "[2024-03-18 11:01:22,951][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00228\n", + "[2024-03-18 11:01:23,027][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7275431156158447\n", + " 96%|█████████▌| 96/100 [01:07<00:02, 1.39it/s][2024-03-18 11:01:23,033][DEBUG][li.LearnedIndexBuild] Training model on path (9, 6, -1).\n", + "[2024-03-18 11:01:23,046][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:23,177][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.75036\n", + "[2024-03-18 11:01:23,264][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.10536\n", + "[2024-03-18 11:01:23,338][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03032\n", + "[2024-03-18 11:01:23,403][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01604\n", + "[2024-03-18 11:01:23,468][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01076\n", + "[2024-03-18 11:01:23,550][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00794\n", + "[2024-03-18 11:01:23,634][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00615\n", + "[2024-03-18 11:01:23,715][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00493\n", + "[2024-03-18 11:01:23,791][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00404\n", + "[2024-03-18 11:01:23,858][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.820857048034668\n", + " 97%|█████████▋| 97/100 [01:08<00:02, 1.33it/s][2024-03-18 11:01:23,860][DEBUG][li.LearnedIndexBuild] Training model on path (9, 7, -1).\n", + "[2024-03-18 11:01:23,868][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:23,972][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.68201\n", + "[2024-03-18 11:01:24,048][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.07516\n", + "[2024-03-18 11:01:24,130][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.01908\n", + "[2024-03-18 11:01:24,207][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01016\n", + "[2024-03-18 11:01:24,261][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00701\n", + "[2024-03-18 11:01:24,347][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00528\n", + "[2024-03-18 11:01:24,404][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00415\n", + "[2024-03-18 11:01:24,458][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00336\n", + "[2024-03-18 11:01:24,521][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00278\n", + "[2024-03-18 11:01:24,572][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7091498374938965\n", + " 98%|█████████▊| 98/100 [01:08<00:01, 1.35it/s][2024-03-18 11:01:24,576][DEBUG][li.LearnedIndexBuild] Training model on path (9, 8, -1).\n", + "[2024-03-18 11:01:24,583][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:24,657][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.51204\n", + "[2024-03-18 11:01:24,722][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.03154\n", + "[2024-03-18 11:01:24,772][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.00660\n", + "[2024-03-18 11:01:24,814][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.00383\n", + "[2024-03-18 11:01:24,857][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.00287\n", + "[2024-03-18 11:01:24,900][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00230\n", + "[2024-03-18 11:01:24,940][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00189\n", + "[2024-03-18 11:01:24,978][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00159\n", + "[2024-03-18 11:01:25,021][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00135\n", + "[2024-03-18 11:01:25,061][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.4834773540496826\n", + " 99%|█████████▉| 99/100 [01:09<00:00, 1.50it/s][2024-03-18 11:01:25,067][DEBUG][li.LearnedIndexBuild] Training model on path (9, 9, -1).\n", + "[2024-03-18 11:01:25,075][DEBUG][li.LearnedIndexBuild] Epochs: 200, step: 20\n", + "[2024-03-18 11:01:25,182][DEBUG][li.LearnedIndexBuild] Epoch 20 | Loss 0.84187\n", + "[2024-03-18 11:01:25,249][DEBUG][li.LearnedIndexBuild] Epoch 40 | Loss 0.12203\n", + "[2024-03-18 11:01:25,338][DEBUG][li.LearnedIndexBuild] Epoch 60 | Loss 0.03299\n", + "[2024-03-18 11:01:25,405][DEBUG][li.LearnedIndexBuild] Epoch 80 | Loss 0.01674\n", + "[2024-03-18 11:01:25,467][DEBUG][li.LearnedIndexBuild] Epoch 100 | Loss 0.01113\n", + "[2024-03-18 11:01:25,527][DEBUG][li.LearnedIndexBuild] Epoch 120 | Loss 0.00821\n", + "[2024-03-18 11:01:25,604][DEBUG][li.LearnedIndexBuild] Epoch 140 | Loss 0.00637\n", + "[2024-03-18 11:01:25,669][DEBUG][li.LearnedIndexBuild] Epoch 160 | Loss 0.00511\n", + "[2024-03-18 11:01:25,738][DEBUG][li.LearnedIndexBuild] Epoch 180 | Loss 0.00419\n", + "[2024-03-18 11:01:25,809][DEBUG][li.LearnedIndexBuild] Trained the model in: 0.7402505874633789\n", + "100%|██████████| 100/100 [01:10<00:00, 1.43it/s]\n", + "[2024-03-18 11:01:25,814][DEBUG][li.LearnedIndexBuild] Trained [10, 10] internal models in 107.11s.\n" + ] + }, + { + "data": { + "text/plain": [ + "(10000, 3)" + ] + }, + "execution_count": 13, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "first_build_data = data.iloc[:10_000]\n", + "builder = LearnedIndexBuilder(first_build_data, build_config)\n", + "li, data_prediction, n_buckets_in_index, build_t, cluster_t = builder.build()\n", + "data_prediction.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "id": "146f6220", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[2024-03-18 11:01:26,050][DEBUG][li.LearnedIndexBuild] Predicting the root model.\n", + "[2024-03-18 11:01:26,052][DEBUG][li.LearnedIndexBuild] Predicting [10, 10] internal models.\n", + "[2024-03-18 11:01:26,053][DEBUG][li.LearnedIndexBuild] Predicting level 1.\n", + " 0%| | 0/10 [00:00, ?it/s][2024-03-18 11:01:26,056][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, -1, -1).\n", + "[2024-03-18 11:01:26,058][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, -1, -1).\n", + "[2024-03-18 11:01:26,060][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, -1, -1).\n", + "[2024-03-18 11:01:26,062][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, -1, -1).\n", + "[2024-03-18 11:01:26,064][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, -1, -1).\n", + "[2024-03-18 11:01:26,067][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, -1, -1).\n", + "[2024-03-18 11:01:26,069][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, -1, -1).\n", + "[2024-03-18 11:01:26,071][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, -1, -1).\n", + "[2024-03-18 11:01:26,074][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, -1, -1).\n", + "[2024-03-18 11:01:26,075][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, -1, -1).\n", + "100%|██████████| 10/10 [00:00<00:00, 464.05it/s]\n", + "[2024-03-18 11:01:26,078][DEBUG][li.LearnedIndexBuild] Predicting level 2.\n", + " 0%| | 0/100 [00:00, ?it/s][2024-03-18 11:01:26,080][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 0, -1).\n", + "[2024-03-18 11:01:26,083][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 1, -1).\n", + "[2024-03-18 11:01:26,086][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 2, -1).\n", + "[2024-03-18 11:01:26,088][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 3, -1).\n", + "[2024-03-18 11:01:26,091][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 4, -1).\n", + "[2024-03-18 11:01:26,092][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 5, -1).\n", + "[2024-03-18 11:01:26,094][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 6, -1).\n", + "[2024-03-18 11:01:26,096][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 7, -1).\n", + "[2024-03-18 11:01:26,099][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 8, -1).\n", + "[2024-03-18 11:01:26,101][DEBUG][li.LearnedIndexBuild] Predicting model on path (0, 9, -1).\n", + "[2024-03-18 11:01:26,104][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 0, -1).\n", + "[2024-03-18 11:01:26,105][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 1, -1).\n", + "[2024-03-18 11:01:26,108][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 2, -1).\n", + "[2024-03-18 11:01:26,110][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 3, -1).\n", + "[2024-03-18 11:01:26,112][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 4, -1).\n", + "[2024-03-18 11:01:26,115][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 5, -1).\n", + "[2024-03-18 11:01:26,118][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 6, -1).\n", + "[2024-03-18 11:01:26,121][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 7, -1).\n", + "[2024-03-18 11:01:26,122][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 8, -1).\n", + "[2024-03-18 11:01:26,125][DEBUG][li.LearnedIndexBuild] Predicting model on path (1, 9, -1).\n", + "[2024-03-18 11:01:26,128][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 0, -1).\n", + "[2024-03-18 11:01:26,128][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 1, -1).\n", + "[2024-03-18 11:01:26,133][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 2, -1).\n", + "[2024-03-18 11:01:26,137][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 3, -1).\n", + "[2024-03-18 11:01:26,139][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 4, -1).\n", + "[2024-03-18 11:01:26,141][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 5, -1).\n", + "[2024-03-18 11:01:26,143][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 6, -1).\n", + "[2024-03-18 11:01:26,145][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 7, -1).\n", + "[2024-03-18 11:01:26,147][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 8, -1).\n", + "[2024-03-18 11:01:26,149][DEBUG][li.LearnedIndexBuild] Predicting model on path (2, 9, -1).\n", + "[2024-03-18 11:01:26,152][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 0, -1).\n", + "[2024-03-18 11:01:26,152][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 1, -1).\n", + "[2024-03-18 11:01:26,157][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 2, -1).\n", + "[2024-03-18 11:01:26,160][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 3, -1).\n", + "[2024-03-18 11:01:26,163][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 4, -1).\n", + "[2024-03-18 11:01:26,167][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 5, -1).\n", + "[2024-03-18 11:01:26,171][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 6, -1).\n", + "[2024-03-18 11:01:26,174][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 7, -1).\n", + "[2024-03-18 11:01:26,177][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 8, -1).\n", + "[2024-03-18 11:01:26,180][DEBUG][li.LearnedIndexBuild] Predicting model on path (3, 9, -1).\n", + " 40%|████ | 40/100 [00:00<00:00, 393.04it/s][2024-03-18 11:01:26,183][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 0, -1).\n", + "[2024-03-18 11:01:26,186][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 1, -1).\n", + "[2024-03-18 11:01:26,190][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 2, -1).\n", + "[2024-03-18 11:01:26,192][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 3, -1).\n", + "[2024-03-18 11:01:26,196][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 4, -1).\n", + "[2024-03-18 11:01:26,198][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 5, -1).\n", + "[2024-03-18 11:01:26,203][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 6, -1).\n", + "[2024-03-18 11:01:26,207][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 7, -1).\n", + "[2024-03-18 11:01:26,207][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 8, -1).\n", + "[2024-03-18 11:01:26,211][DEBUG][li.LearnedIndexBuild] Predicting model on path (4, 9, -1).\n", + "[2024-03-18 11:01:26,213][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 0, -1).\n", + "[2024-03-18 11:01:26,217][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 1, -1).\n", + "[2024-03-18 11:01:26,221][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 2, -1).\n", + "[2024-03-18 11:01:26,223][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 3, -1).\n", + "[2024-03-18 11:01:26,226][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 4, -1).\n", + "[2024-03-18 11:01:26,229][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 5, -1).\n", + "[2024-03-18 11:01:26,231][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 6, -1).\n", + "[2024-03-18 11:01:26,234][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 7, -1).\n", + "[2024-03-18 11:01:26,236][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 8, -1).\n", + "[2024-03-18 11:01:26,239][DEBUG][li.LearnedIndexBuild] Predicting model on path (5, 9, -1).\n", + "[2024-03-18 11:01:26,241][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 0, -1).\n", + "[2024-03-18 11:01:26,244][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 1, -1).\n", + "[2024-03-18 11:01:26,247][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 2, -1).\n", + "[2024-03-18 11:01:26,250][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 3, -1).\n", + "[2024-03-18 11:01:26,252][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 4, -1).\n", + "[2024-03-18 11:01:26,256][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 5, -1).\n", + "[2024-03-18 11:01:26,258][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 6, -1).\n", + "[2024-03-18 11:01:26,262][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 7, -1).\n", + "[2024-03-18 11:01:26,266][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 8, -1).\n", + "[2024-03-18 11:01:26,267][DEBUG][li.LearnedIndexBuild] Predicting model on path (6, 9, -1).\n", + "[2024-03-18 11:01:26,271][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 0, -1).\n", + "[2024-03-18 11:01:26,274][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 1, -1).\n", + "[2024-03-18 11:01:26,276][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 2, -1).\n", + "[2024-03-18 11:01:26,279][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 3, -1).\n", + "[2024-03-18 11:01:26,281][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 4, -1).\n", + "[2024-03-18 11:01:26,284][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 5, -1).\n", + "[2024-03-18 11:01:26,287][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 6, -1).\n", + "[2024-03-18 11:01:26,289][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 7, -1).\n", + "[2024-03-18 11:01:26,291][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 8, -1).\n", + "[2024-03-18 11:01:26,293][DEBUG][li.LearnedIndexBuild] Predicting model on path (7, 9, -1).\n", + " 80%|████████ | 80/100 [00:00<00:00, 368.76it/s][2024-03-18 11:01:26,297][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 0, -1).\n", + "[2024-03-18 11:01:26,298][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 1, -1).\n", + "[2024-03-18 11:01:26,301][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 2, -1).\n", + "[2024-03-18 11:01:26,303][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 3, -1).\n", + "[2024-03-18 11:01:26,305][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 4, -1).\n", + "[2024-03-18 11:01:26,309][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 5, -1).\n", + "[2024-03-18 11:01:26,311][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 6, -1).\n", + "[2024-03-18 11:01:26,312][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 7, -1).\n", + "[2024-03-18 11:01:26,314][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 8, -1).\n", + "[2024-03-18 11:01:26,317][DEBUG][li.LearnedIndexBuild] Predicting model on path (8, 9, -1).\n", + "[2024-03-18 11:01:26,320][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 0, -1).\n", + "[2024-03-18 11:01:26,322][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 1, -1).\n", + "[2024-03-18 11:01:26,324][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 2, -1).\n", + "[2024-03-18 11:01:26,327][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 3, -1).\n", + "[2024-03-18 11:01:26,329][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 4, -1).\n", + "[2024-03-18 11:01:26,332][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 5, -1).\n", + "[2024-03-18 11:01:26,334][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 6, -1).\n", + "[2024-03-18 11:01:26,336][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 7, -1).\n", + "[2024-03-18 11:01:26,339][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 8, -1).\n", + "[2024-03-18 11:01:26,341][DEBUG][li.LearnedIndexBuild] Predicting model on path (9, 9, -1).\n", + "100%|██████████| 100/100 [00:00<00:00, 382.49it/s]\n", + "[2024-03-18 11:01:26,343][DEBUG][li.LearnedIndexBuild] Trained [10, 10] internal models in 0.29s.\n" + ] + }, + { + "data": { + "text/plain": [ + "(1000, 3)" + ] + }, + "execution_count": 14, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "insert_data = data.iloc[10_000:11_000]\n", + "data_prediction_2, n_buckets_in_index_2, insert_t = builder.insert(insert_data)\n", + "data_prediction_2.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "id": "d34d5eeb", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(11000, 32)" + ] + }, + "execution_count": 15, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "builder.data.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 177, + "id": "3a8c4c6c", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(11000, 3)" + ] + }, + "execution_count": 177, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data_prediction_all = np.vstack((data_prediction, data_prediction_2))\n", + "data_prediction_all.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 179, + "id": "2e66ce5e", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[2024-03-18 10:52:01,592][INFO ][li.LearnedIndex.Lear] Precomputed bucket order time: 0.04620647430419922\n", + "100%|██████████| 1000/1000 [00:00<00:00, 14595.18it/s]\n" + ] + } + ], + "source": [ + "dists, nns, measured_time = li.search(\n", + " data_navigation=builder.data,\n", + " queries_navigation=queries[:5],\n", + " data_search=builder.data[[col for col in builder.data.columns if type(col) is int]],\n", + " queries_search=queries[:5],\n", + " data_prediction=data_prediction_all,\n", + " n_categories=n_categories,\n", + " n_buckets=1,\n", + " k=10,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7b0f6611", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 52, + "id": "540f2938-8cb8-48da-b056-04c12c3d9d5a", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "100%|██████████| 10/10 [00:06<00:00, 1.64it/s]\n", + "100%|██████████| 100/100 [00:51<00:00, 1.95it/s]" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "CPU times: total: 5min 13s\n", + "Wall time: 1min 1s\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "\n" + ] + } + ], + "source": [ + "%%time\n", + "builder = LearnedIndexBuilder(first_build_data, build_config)\n", + "li, data_prediction, n_buckets_in_index, build_t, cluster_t = builder.build()" + ] + }, + { + "cell_type": "code", + "execution_count": 54, + "id": "78fbf174", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[8, 7, 1],\n", + " [5, 7, 0],\n", + " [2, 9, 7],\n", + " ...,\n", + " [9, 5, 7],\n", + " [7, 1, 0],\n", + " [5, 5, 1]], dtype=int64)" + ] + }, + "execution_count": 54, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data_prediction" + ] + }, + { + "cell_type": "code", + "execution_count": 55, + "id": "7db9f773", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(array([[0, 0, 0],\n", + " [0, 0, 1],\n", + " [0, 0, 2],\n", + " [0, 0, 3]], dtype=int64),\n", + " array([1, 4, 4, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 4, 5,\n", + " 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 6, 3, 1, 1, 3,\n", + " 1, 1, 3, 1, 1, 1, 1, 2, 5, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 6,\n", + " 3, 1, 1, 1, 1, 1, 4, 1, 2, 1, 1, 1, 3, 1, 3, 2, 1, 2, 2, 2, 2, 2,\n", + " 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1,\n", + " 2, 3, 1, 1, 1, 1, 3, 1, 3, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 2, 3, 2,\n", + " 3, 1, 4, 4, 6, 2, 5, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 3, 4, 2,\n", + " 2, 3, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 2, 1,\n", + " 2, 1, 1, 3, 1, 4, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3,\n", + " 2, 1, 3, 4, 3, 2, 1, 3, 5, 3, 3, 2, 3, 2, 2, 1, 5, 1, 2, 2, 1, 2,\n", + " 1, 2, 1, 1, 1, 1, 1, 2, 3, 2, 1, 2, 1, 1, 1, 1, 1, 2, 2, 3, 3, 3,\n", + " 3, 3, 2, 3, 4, 2, 1, 1, 2, 1, 1, 3, 3, 2, 3, 1, 3, 3, 3, 2, 4, 1,\n", + " 2, 2, 2, 5, 3, 1, 1, 1, 1, 2, 2, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1,\n", + " 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1,\n", + " 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1,\n", + " 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 1, 8, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1,\n", + " 2, 1, 1, 2, 1, 2, 1, 2, 1, 4, 1, 5, 3, 4, 1, 1, 1, 3, 1, 1, 1, 1,\n", + " 1, 1, 2, 3, 3, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n", + " 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 4, 3, 1, 1, 6, 1, 3, 1, 5,\n", + " 4, 2, 4, 3, 4, 1, 1, 1, 1, 1, 1, 1, 4, 1, 2, 7, 1, 4, 1, 1, 1, 1,\n", + " 1, 1, 1, 1, 4, 1, 1, 2, 6, 1, 2, 2, 1, 2, 1, 1, 1, 2, 1, 5, 3, 2,\n", + " 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 3, 4, 1, 3, 1, 7, 1, 5,\n", + " 4, 1, 1, 1, 2, 1, 1, 1, 3, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,\n", + " 1, 3, 2, 4, 1, 2, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1,\n", + " 1, 1, 1, 1, 1, 1, 2, 1, 1, 6, 3, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1,\n", + " 2, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 2, 1, 2, 3, 1, 1,\n", + " 2, 1, 1, 1, 1, 1, 3, 2, 2], dtype=int64))" + ] + }, + "execution_count": 55, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "def get_unique_values_counts(arr):\n", + " # Convert the 2D array to a structured array with a view of dtype([('x', int), ('y', int)])\n", + " structured_arr = np.ascontiguousarray(arr).view(np.dtype((np.void, arr.dtype.itemsize * arr.shape[1])))\n", + "\n", + " # Find unique rows (tuples) and their counts\n", + " unique_structured_arr, counts = np.unique(structured_arr, return_counts=True)\n", + " unique_tuples = unique_structured_arr.view(arr.dtype).reshape(-1, arr.shape[1])\n", + "\n", + " return unique_tuples, counts\n", + "\n", + "unique_tuples, counts = get_unique_values_counts(data_prediction)\n", + "unique_tuples[:4], counts" + ] + }, + { + "cell_type": "markdown", + "id": "ebd0466c", + "metadata": {}, + "source": [ + "## Doing insert" + ] + }, + { + "cell_type": "code", + "execution_count": 56, + "id": "d59b6323", + "metadata": {}, + "outputs": [], + "source": [ + "import time\n", + "from itertools import product, takewhile\n", + "from logging import DEBUG\n", + "from typing import Any, Dict, List, Optional, Tuple\n", + "\n", + "import numpy as np\n", + "import numpy.typing as npt\n", + "import pandas as pd\n", + "import torch\n", + "import torch.utils.data\n", + "from li.BuildConfiguration import BuildConfiguration\n", + "from li.clustering import ClusteringAlgorithm\n", + "from li.LearnedIndex import LearnedIndex\n", + "from li.Logger import Logger\n", + "from li.model import LIDataset, ModelParameters, NeuralNetwork, data_X_to_torch\n", + "from li.PriorityQueue import EMPTY_VALUE\n", + "from li.utils import filter_path_idxs, log_runtime\n", + "from tqdm import tqdm" + ] + }, + { + "cell_type": "code", + "execution_count": 74, + "id": "ca1b2192", + "metadata": {}, + "outputs": [], + "source": [ + "data_to_insert = data.iloc[1000:2000].reset_index(drop=True)\n", + "data_to_insert.index += 1" + ] + }, + { + "cell_type": "code", + "execution_count": 75, + "id": "843d2fb4", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + " | 0 | \n", + "1 | \n", + "2 | \n", + "3 | \n", + "4 | \n", + "5 | \n", + "6 | \n", + "7 | \n", + "8 | \n", + "9 | \n", + "... | \n", + "22 | \n", + "23 | \n", + "24 | \n", + "25 | \n", + "26 | \n", + "27 | \n", + "28 | \n", + "29 | \n", + "30 | \n", + "31 | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | \n", + "0.540832 | \n", + "0.294648 | \n", + "0.170303 | \n", + "0.300801 | \n", + "-0.334042 | \n", + "0.030603 | \n", + "0.010370 | \n", + "0.064329 | \n", + "-0.099502 | \n", + "0.102232 | \n", + "... | \n", + "-0.235122 | \n", + "0.021346 | \n", + "-0.032289 | \n", + "0.133272 | \n", + "-0.248649 | \n", + "0.047122 | \n", + "0.119099 | \n", + "-0.107760 | \n", + "0.186530 | \n", + "-0.043702 | \n", + "
2 | \n", + "-0.475594 | \n", + "-0.244831 | \n", + "-0.088942 | \n", + "0.291982 | \n", + "0.047102 | \n", + "0.044693 | \n", + "-0.112934 | \n", + "0.098264 | \n", + "0.037613 | \n", + "-0.101401 | \n", + "... | \n", + "0.041023 | \n", + "-0.023160 | \n", + "-0.241260 | \n", + "0.064872 | \n", + "-0.096614 | \n", + "0.078653 | \n", + "0.024111 | \n", + "0.075076 | \n", + "-0.160184 | \n", + "-0.300525 | \n", + "
2 rows × 32 columns
\n", + "