Ejemplo n.º 1
0
    def test_pipeline_parameters(self):
        pgo = PGO.load_pgo_file(example_pgo_fp)

        trainable = PCA() >> LogisticRegression()
        parameters = get_grid_search_parameter_grids(trainable,
                                                     num_samples=2,
                                                     pgo=pgo)
Ejemplo n.º 2
0
    def test_lr_parameters(self):
        pgo = PGO.load_pgo_file(example_pgo_fp)

        lr = LogisticRegression()
        parameters = get_grid_search_parameter_grids(lr,
                                                     num_samples=2,
                                                     pgo=pgo)