按照数据预处理脚本变更修正其他相应脚本

This commit is contained in:
RYDE-WORK 2026-02-26 18:07:39 +08:00
parent 72c292a91f
commit b74f3ab4b2
5 changed files with 5 additions and 5 deletions

View File

@ -366,7 +366,7 @@ def run_optuna_cv(
@app.command()
def main(
input_path: Path = INTERIM_DATA_DIR / "internal_corrected.csv",
input_path: Path = INTERIM_DATA_DIR / "internal.csv",
output_dir: Path = MODELS_DIR / "final_optuna",
# CV 参数
n_folds: int = 3,

View File

@ -486,7 +486,7 @@ def run_inner_optuna(
@app.command()
def main(
input_path: Path = INTERIM_DATA_DIR / "internal_corrected.csv",
input_path: Path = INTERIM_DATA_DIR / "internal.csv",
output_dir: Path = MODELS_DIR / "nested_cv",
# CV 参数
n_outer_folds: int = 5,

View File

@ -26,7 +26,7 @@ app = typer.Typer()
@app.command()
def main(
input_path: Path = INTERIM_DATA_DIR / "internal_corrected.csv",
input_path: Path = INTERIM_DATA_DIR / "internal.csv",
output_dir: Path = PROCESSED_DATA_DIR,
train_ratio: float = 0.56,
val_ratio: float = 0.14,

View File

@ -166,7 +166,7 @@ def amine_based_cv_split(
@app.command()
def main(
input_path: Path = INTERIM_DATA_DIR / "internal_corrected.csv",
input_path: Path = INTERIM_DATA_DIR / "internal.csv",
output_dir: Path = PROCESSED_DATA_DIR / "cv",
n_folds: int = 5,
seed: int = 42,

View File

@ -26,7 +26,7 @@ app = typer.Typer()
@app.command()
def main(
input_path: Path = INTERIM_DATA_DIR / "internal_corrected.csv",
input_path: Path = INTERIM_DATA_DIR / "internal.csv",
output_dir: Path = PROCESSED_DATA_DIR / "final",
train_ratio: float = 0.9,
seed: int = 42,