def METHOD_NAME(
    algorithm_functionality: AlgorithmFunctionality, n_classes: int = N_CLASSES
) -> dict:
    if algorithm_functionality.is_classification():
        if algorithm_functionality.is_single_output():
            return {"objective": "binary"}
        if algorithm_functionality.is_binary_classification():
            return {"objective": "multiclass", "num_class": 2}
        return {"objective": "multiclass", "num_class": n_classes}
    return {"objective": "regression"}