Adding Desirability functions as objectives #1527
Annotations
10 errors and 1 warning
Pyright:
bofire/data_models/objectives/desirabilities.py#L20
Cannot access member "name" for type "ndarray[Unknown, Unknown]"
Member "name" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/data_models/objectives/desirabilities.py#L21
Cannot access member "values" for type "ndarray[Unknown, Unknown]"
Member "values" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/data_models/objectives/desirabilities.py#L26
"name" is possibly unbound (reportUnboundVariable)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MaximizeObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MinimizeObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MaximizeSigmoidObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MinimizeSigmoidObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "TargetObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "CloseToTargetObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
Pyright:
bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "ConstrainedCategoricalObjective"
Member "clip" is unknown (reportGeneralTypeIssues)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading