Module hummingbird.ml.operator_converters.constants

Constants used in the Hummingbird converters are defined here.

Expand source code
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------

"""
Constants used in the Hummingbird converters are defined here.
"""

ALPHA = "alpha"
"""Alpha"""

LEARNING_RATE = "learning_rate"
"""Learning Rate"""

GET_PARAMETERS_FOR_TREE_TRAVERSAL = "get_parameters_for_tree_trav"
"""Which function to use to extract the parameters for the tree traversal strategy"""

Global variables

var ALPHA

Alpha

var GET_PARAMETERS_FOR_TREE_TRAVERSAL

Which function to use to extract the parameters for the tree traversal strategy

var LEARNING_RATE

Learning Rate