Closed armand33 closed 2 years ago
The verbose mode must be set when the object is created:
dirichlet = Dirichlet(verbose=True)
Still the same issue with dirichlet = Dirichlet(verbose=True)
import numpy as np
from sknetwork.regression import Dirichlet
from sknetwork.data import house
dirichlet = Dirichlet(verbose=True)
adjacency = house()
seeds = {0: 1, 2: 0}
values = dirichlet.fit_transform(adjacency, seeds)
np.round(values, 2)
Output:
array([1. , 0.54, 0. , 0.31, 0.62])
Ha ! My bad, thanks for the reply.
Description
outputs