Skip to content

How to config function_params when function_name == 'ranking' #111

Description

@channing2222

when I run the exampel 《Rating Movie Reviews (Scoring task)》, and change config_default.yml like this:

eval:
function_name: 'ranking'
num_large_errors: 4
num_boundary_predictions : 0
error_threshold: 0.5

but function_params is needded
elif config.function_name == 'ranking':
return utils.set_ranking_function(config.function_params)
else:

how to config function_params?
thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions