Skip to content

Commit

Permalink
v0.1.15 release
Browse files Browse the repository at this point in the history
  • Loading branch information
zihuaihuai committed Oct 30, 2024
2 parents 8327f19 + bb060fc commit 235333b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions brainspace/gradient/gradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class GradientMaps(BaseEstimator):
Kernel function to build the affinity matrix. Possible options:
{'pearson', 'spearman', 'cosine', 'normalized_angle', 'gaussian'}.
If callable, must receive a 2D array and return a 2D square array.
If None, use input matrix. Default is None.
If None, use input matrix. Default is 'normalized_angle'.
alignment : {'procrustes', 'joint'}, object or None
Alignment approach. Only used when two or more datasets are provided.
If None, no alignment is performed. If `object`, it accepts an instance
Expand All @@ -110,7 +110,7 @@ class GradientMaps(BaseEstimator):
is used.
"""

def __init__(self, n_components=10, approach='dm', kernel=None,
def __init__(self, n_components=10, approach='dm', kernel='normalized_angle',
alignment=None, random_state=None):
self.n_components = n_components
self.approach = approach
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ numpy>=1.11.0
scipy>=0.17.0
scikit-learn>=0.22.0
matplotlib>=2.0.0
vtk>=8.1.0
vtk>=9.1.0
nibabel
nilearn

0 comments on commit 235333b

Please sign in to comment.