|
123456789101112131415161718192021222324252627282930313233343536373839 |
- {
- "cells": [
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "scrolled": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "\n",
- "Acyclic\n",
- "\n",
- "--- This is a regression problem ---\n",
- "\n",
- "\n",
- "I. Loading dataset from file...\n",
- "\n",
- "2. Calculating gram matrices. This could take a while...\n",
- "getting shortest paths: 100%|██████████| 183/183 [00:00<00:00, 3803.50it/s]\n",
- "calculating kernels: 100%|█████████▉| 16817/16836.0 [00:13<00:00, 484.77it/s] \n",
- " --- mean average path kernel matrix of size 183 built in 13.229421854019165 seconds ---\n",
- "calculating kernels: 100%|██████████| 16836/16836.0 [00:13<00:00, 1277.44it/s]\n",
- "\n",
- "the gram matrix is: \n",
- "[[1. 0.74535599 0.4 ... 0.33709993 0.35355339 0.35028472]\n",
- " [0.74535599 1. 0.2981424 ... 0.25125945 0.26352314 0.26108682]\n",
- " [0.4 0.2981424 1. ... 0.43822991 0.45961941 0.45537014]\n",
- " ...\n",
- " [0.33709993 0.25125945 0.43822991 ... 1. 0.80150449 0.76752621]\n",
- " [0.35355339 0.26352314 0.45961941 ... 0.80150449 1. 0.81737272]\n",
- " [0.35028472 0.26108682 0.45537014 ... 0.76752621 0.81737272 1. ]]\n"
- ]
- },
- {
- "data": {
|