class_docstr: Unit tests for the MFGPFitter class. 
class_docstr_tok: ["Unit","tests","for","the","MFGPFitter","class","."]
docstr: Tests if everything has been set up properly. 
docstr_tok: ["Tests","if","everything","has","been","set","up","properly","."]
code: def test_set_up(self):
      """Tests if everything has been set up properly."""
      for ds in self.datasets:
          options = _get_mf_gp_options(ds.tune_noise)
          fitter = euclidean_gp.EuclideanMFGPFitter(
              ds.Z_tr, ds.X_tr, ds.Y_tr, options
          )
          # The number of hyperparameters should be 1 for the kernel, the total dimensionality
          # of the fidelity space and domain plus one more if we are tuning options.
          num_hps = (
              1 + ds.Z_tr.shape[1] + ds.X_tr.shape[1] + ds.tune_noise
          )
          constructed_hp_bounds = (
              [fitter.scale_log_bounds]
              + fitter.fidel_bandwidth_log_bounds
              + fitter.domain_bandwidth_log_bounds
          )
          if ds.tune_noise:
              constructed_hp_bounds = [
                  fitter.noise_var_log_bounds
              ] + constructed_hp_bounds
          constructed_hp_bounds = np.array(constructed_hp_bounds)
          assert fitter.cts_hp_bounds.shape == (num_hps, 2)
          assert (
              np.linalg.norm(
                  constructed_hp_bounds - fitter.cts_hp_bounds
              )
              < 1e-5
          )
  
imports: from __future__ import division
  from argparse import Namespace
  from copy import deepcopy
  import numpy
  from .None import kernel
  from .unittest_euclidean_gp import fit_se_gp_with_dataset, fit_matern_gp_with_dataset, fit_poly_gp_with_dataset
  from .None import euclidean_gp
  from ..utils.base_test_class import BaseTestClass, execute_tests
  from ..utils.general_utils import compute_average_sq_prediction_error
  from ..utils.option_handler import load_options
label_desc: Use image node_id 1 for calling the EuclideanMFGPFitterTestCase obj's underlying member method code with example usage: obj.test_set_up() without return types