def test_random_grid_search_for_glm():
    '\n    Create and instantiate classes, call test methods to test randomize grid search for GLM Gaussian\n    or Binomial families.\n\n    :return: None\n    '
    test_glm_gaussian_random_grid = Test_glm_random_grid_search('gaussian')
    test_glm_gaussian_random_grid.test1_glm_random_grid_search_model_number('mse(xval=True)')
    test_glm_gaussian_random_grid.test2_glm_random_grid_search_max_model()
    test_glm_gaussian_random_grid.test3_glm_random_grid_search_max_runtime_secs()
    test_glm_gaussian_random_grid.test4_glm_random_grid_search_metric('MSE', False)
    if (test_glm_gaussian_random_grid.test_failed > 0):
        sys.exit(1)
    else:
        pyunit_utils.remove_files(os.path.join(test_glm_gaussian_random_grid.current_dir, test_glm_gaussian_random_grid.json_filename))
Create and instantiate classes, call test methods to test randomize grid search for GLM Gaussian
or Binomial families.

:return: None
def test_random_grid_search_for_glm():
    '\n    Create and instantiate classes, call test methods to test randomize grid search for GLM Gaussian\n    or Binomial families.\n\n    :return: None\n    '
    test_glm_gaussian_random_grid = Test_glm_random_grid_search('gaussian')
    test_glm_gaussian_random_grid.test1_glm_random_grid_search_model_number('mse(xval=True)')
    test_glm_gaussian_random_grid.test2_glm_random_grid_search_max_model()
    test_glm_gaussian_random_grid.test3_glm_random_grid_search_max_runtime_secs()
    test_glm_gaussian_random_grid.test4_glm_random_grid_search_metric('MSE', False)
    if (test_glm_gaussian_random_grid.test_failed > 0):
        sys.exit(1)
    else:
        pyunit_utils.remove_files(os.path.join(test_glm_gaussian_random_grid.current_dir, test_glm_gaussian_random_grid.json_filename))