@skipif(sys.modules not in 'pylearn2', 'this test requires pylearn2')
    def test_pylearn2_classifier(self):
        config = """
estimator:
  entry_point: osprey.plugins.plugin_pylearn2.Pylearn2Classifier
  params:
    yaml_string: "!obj:pylearn2.train.Train {
  dataset: null,
  model: !obj:pylearn2.models.mlp.MLP {
    nvis: 4,
    layers: [
      !obj:pylearn2.models.mlp.Sigmoid {
        layer_name: h0,
        dim: $dim,
        irange: 0.05,
      },
      !obj:pylearn2.models.mlp.Softmax {
        layer_name: y,
        n_classes: 3,
        irange: 0.,
      },
    ],
  },
  algorithm: !obj:pylearn2.training_algorithms.bgd.BGD {
    batch_size: 10,
    termination_criterion: !obj:pylearn2.termination_criteria.EpochCounter {
      max_epochs: 1,
    },
  },
}"

dataset_loader:
  name: sklearn_dataset
  params:
    method: load_iris

strategy:
  name: random

search_space:
  dim:
    min: 1
    max: 10
    type: int

cv:
  name: stratifiedkfold

trials:
  uri: sqlite:///test.db
"""
        self.run_osprey(config)
dataset/ETHPy150Open msmbuilder/osprey/osprey/plugins/tests/test_plugin_pylearn2.py/TestPluginPylearn2.test_pylearn2_classifier/swapped operands of `not in`