def test_all_hyperparameters(sagemaker_session):
    randomcutforest = RandomCutForest(sagemaker_session=sagemaker_session, num_trees=NUM_TREES,
                                      num_samples_per_tree=NUM_SAMPLES_PER_TREE,
                                      eval_metrics=EVAL_METRICS, **ALL_REQ_ARGS)
    assert randomcutforest.hyperparameters() == dict(
        num_samples_per_tree=str(NUM_SAMPLES_PER_TREE),
        num_trees=str(NUM_TREES),
        eval_metrics="{}".format(EVAL_METRICS)
    )
def test_all_hyperparameters(sagemaker_session):
    randomcutforest = RandomCutForest(sagemaker_session=sagemaker_session, num_trees=NUM_TREES,
                                      num_samples_per_tree=NUM_SAMPLES_PER_TREE,
                                      eval_metrics=EVAL_METRICS, **ALL_REQ_ARGS)
    assert randomcutforest.hyperparameters() == dict(
        num_samples_per_tree=str(NUM_SAMPLES_PER_TREE),
        num_trees=str(NUM_TREES),
        eval_metrics="{}".format(EVAL_METRICS)
    )
def test_all_hyperparameters(sagemaker_session):
    randomcutforest = RandomCutForest(
        sagemaker_session=sagemaker_session,
        num_trees=NUM_TREES,
        num_samples_per_tree=NUM_SAMPLES_PER_TREE,
        eval_metrics=EVAL_METRICS,
        **ALL_REQ_ARGS)
    assert randomcutforest.hyperparameters() == dict(
        num_samples_per_tree=str(NUM_SAMPLES_PER_TREE),
        num_trees=str(NUM_TREES),
        eval_metrics='["accuracy", "precision_recall_fscore"]',
    )