lucawrabetz / opti-face

A suite of tools for automating experiments in computational research.
MIT License
8 stars 1 forks source link

Default value for required numeric features. #22

Open lucawrabetz opened 1 month ago

lucawrabetz commented 1 month ago

Overview

Default value for required numeric features such as instance parameters.

Description

Example: "n" in the knapsack problem example in implementer/featureset:31 for now.

Additional context

Using -1 for now but it might not be the best thing once the database is all set up.

Peter-Sanders commented 1 month ago

we can have a global config object that we reference when we create a numeric column.

from global_file import global_config

col_1 : int = Field(default=global_config.int_default_val, null=False)