Skip to content

khiops.core.api.train_predictor() returns invalid modeling dictionary path #609

Description

@MathieuCoupe

Description

python package version 11.0.1.0

khiops.core.api.train_predictor() returns an invalid modeling dictionary file path which is not the name of the actual file

results = kh.train_predictor(
            ...
            analysis_report_file_path='s3://bucket/training/analysis_report.json',
            ...
        )

khiops_report_path: str = results[0]
training_kdic_path: str = results[1]

In this sample code, we get

khiops_report_path = 's3://bucket/training/analysis_report.json'
training_kdic_path = 's3://bucket/training/analysis_report.model.kdic'

but the S3 bucket contains training/analysis_report.json and training/analysis_report.json.model.kdic

Questions/Ideas

  • the file should be named training/analysis_report.model.kdic instead of training/analysis_report.json.model.kdic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions