You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

run_marginalizedkernel_acyclic.ipynb 556 kB

8 years ago
1234567891011121314151617181920212223242526272829303132
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "code",
  5. "execution_count": 1,
  6. "metadata": {},
  7. "outputs": [
  8. {
  9. "name": "stdout",
  10. "output_type": "stream",
  11. "text": [
  12. "\n",
  13. "--- This is a regression problem ---\n",
  14. "\n",
  15. "1. Loading dataset from file...\n",
  16. "\n",
  17. "2. Calculating gram matrices. This could take a while...\n",
  18. "\n",
  19. " --- marginalized kernel matrix of size 183 built in 440.4844558238983 seconds ---\n",
  20. "\n",
  21. "gram matrix with parameters {'p_quit': 0.1} is: \n",
  22. "[[0.0287062 0.0124634 0.00444444 ... 0.00606061 0.00606061 0.00606061]\n",
  23. " [0.0124634 0.01108958 0.00333333 ... 0.00454545 0.00454545 0.00454545]\n",
  24. " [0.00444444 0.00333333 0.0287062 ... 0.00819912 0.00819912 0.00975875]\n",
  25. " ...\n",
  26. " [0.00606061 0.00454545 0.00819912 ... 0.02846735 0.02836907 0.02896354]\n",
  27. " [0.00606061 0.00454545 0.00819912 ... 0.02836907 0.02831424 0.0288712 ]\n",
  28. " [0.00606061 0.00454545 0.00975875 ... 0.02896354 0.0288712 0.02987915]]\n"
  29. ]
  30. },
  31. {
  32. "data": {

A Python package for graph kernels, graph edit distances and graph pre-image problem.