[Neuroimaging] what's the problem??????

נתי שטרן nsh531 at gmail.com
Wed Jul 13 13:47:18 EDT 2022

```CODE:

from nilearn import plotting
from nilearn import datasets
atlas = datasets.fetch_atlas_msdl()
a=labels.to_dict()
b=a["Difumo_names"]
memory='nilearn_cache', verbose=5)

+nii)
try:
from sklearn.covariance import GraphicalLassoCV
except ImportError:
# for Scitkit-Learn < v0.20.0
from sklearn.covariance import GraphLassoCV as GraphicalLassoCV

estimator = GraphicalLassoCV()
estimator.fit(time_series)
# Display the covariancec
aas={}
jsa=0
for i in estimator.covariance_:
r=list(a["Difumo_names"].values())[jsa]
jsa=jsa+1
a=dict()

for x in range(64):
g=list(a["Difumo_names"].values())[x]

print(aas)
t=   nilearn.plotting.plot_img(estimator.covariance_, labels=list(a[
"Difumo_names"].values()),
figure=(9, 7), vmax=1, vmin=-1,
title='Covariance')# The covariance can be found at
estimator.covariance_

# The covariance can be found at estimator.covariance_
t2=  nilearn.plotting.plot_matrix(estimator.covariance_, labels=list(a[
"Difumo_names"].values()),
figure=(9, 7), vmax=1, vmin=-1,
title='Covariance')

--
<https://netanel.ml>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/neuroimaging/attachments/20220713/80dfc7cf/attachment.html>
```