<jupyter_start><jupyter_text>Table of Contents This is a mini "test" Jupyter notebook just to make sure all 4 main toolboxes we will need for the summer school are at least callable<jupyter_code>import numpy as np
import scipy
import pygsp
from matplotlib import pyplot as plt
import sklearn
import networkx as nx
W = scipy.sparse.rand(10, 10, 0.2)
W = W.toarray()
W = W - np.diag(np.diag(W))
W = W + np.transpose(W)
G = pygsp.graphs.Graph(W)
degree_vector = G.d
print(degree_vector)
G = pygsp.graphs.Logo()
G.estimate_lmax()
g = pygsp.filters.Heat(G, tau=100)
DELTAS = [20, 30, 1090]
s = np.zeros(G.N)
s[DELTAS] = 1
s = g.filter(s)
G.plot_signal(s, highlight=DELTAS, backend='matplotlib')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12100139082058414, 'fraction_numerical': 0.02642559109874826, 'mean_word_length': 5.101694915254237, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '60626', 'license': 'MIT', 'n_tokens_mistral': 311, 'n_tokens_neox': 292, 'n_words': 84, 'path': 'mini_test.ipynb', 'repo_name': 'mdeff/pygsp_tutorial_graphsip', 'size': '719'}