def cost_from_X(self, data):
        self.cost_from_X_data_specs()[0].validate(data)
        X, Y = data
        Y_hat = self.fprop(X)
        return self.cost(Y, Y_hat)
Standard initialiser.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/MLP.cost_from_X--crossover with--dataset/ETHPy150Open pyjs/pyjs/examples/showcase/src/uiHelpers.py/PanelWithLabel.__init__