Skip to content

Commit

Permalink
correct float param constant value format
Browse files Browse the repository at this point in the history
  • Loading branch information
GCS-ZHN committed Oct 7, 2022
1 parent 65a43cb commit 5deb279
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/socube/task/doublet/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def _check(x: pd.Series):
@parallel
def createTrainData(samples: pd.DataFrame,
output_path: str,
ratio: float = 1,
adj: float = 1,
ratio: float = 1.0,
adj: float = 1.0,
seed: Optional[int] = None,
mode: Optional[int] = "balance") -> Tuple[NDFrame]:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/socube/task/doublet/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def fit(home_dir: str,
step: int = 5,
model_id: str = None,
pretrain_model_path: str = None,
max_acc_limit: float = 1,
max_acc_limit: float = 1.0,
multi_process: bool = False,
**kwargs) -> str:
"""
Expand Down

0 comments on commit 5deb279

Please sign in to comment.