Skip to content

Commit

Permalink
update parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
xingzhongyu committed Jun 14, 2024
1 parent 76825d7 commit d4f410f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dance/transforms/cell_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class WeightedFeaturePCA(BaseTransform):

_DISPLAY_ATTRS = ("n_components", "split_name", "feat_norm_mode", "feat_norm_axis")

def __init__(self, n_components: Union[float, int] = 0.9, split_name: Optional[str] = None,
def __init__(self, n_components: Union[float, int] = 400, split_name: Optional[str] = None,
feat_norm_mode: Optional[str] = None, feat_norm_axis: int = 0, **kwargs):
super().__init__(**kwargs)

Expand Down Expand Up @@ -86,7 +86,7 @@ class WeightedFeatureSVD(BaseTransform):

_DISPLAY_ATTRS = ("n_components", "split_name", "feat_norm_mode", "feat_norm_axis")

def __init__(self, n_components: Union[float, int] = 0.9, split_name: Optional[str] = None,
def __init__(self, n_components: Union[float, int] = 400, split_name: Optional[str] = None,
feat_norm_mode: Optional[str] = None, feat_norm_axis: int = 0, **kwargs):
super().__init__(**kwargs)

Expand Down Expand Up @@ -139,7 +139,7 @@ class CellPCA(BaseTransform):

_DISPLAY_ATTRS = ("n_components", )

def __init__(self, n_components: Union[float, int] = 0.9, *, channel: Optional[str] = None,
def __init__(self, n_components: Union[float, int] = 400, *, channel: Optional[str] = None,
mod: Optional[str] = None, **kwargs):
super().__init__(**kwargs)

Expand Down Expand Up @@ -179,7 +179,7 @@ class CellSVD(BaseTransform):

_DISPLAY_ATTRS = ("n_components", )

def __init__(self, n_components: Union[float, int] = 0.9, *, channel: Optional[str] = None,
def __init__(self, n_components: Union[float, int] = 400, *, channel: Optional[str] = None,
mod: Optional[str] = None, **kwargs):
super().__init__(**kwargs)

Expand Down

0 comments on commit d4f410f

Please sign in to comment.