Skip to content

error #1

@cgdsss

Description

@cgdsss
 /usr/local/lib/python2.7/dist-packages/sklearn/cross_validation.py:41: DeprecationWarning:This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
Traceback (most recent call last):
  File "experiments_explore.py", line 1441, in <module>
    survival_experiments = [Experiment(s, f, M, fZ, f_b, g_b, f_l, g_l, g_m, f_v, d_name, student_t=False, survival=True, optimize_df=False) for f in folds for M in Ms for fZ in fix_Zs for f_b in f_bias_vars for g_b in g_bias_vars for f_l in f_rbf_lens for g_l in g_rbf_lens for g_m in g_means for s in seeds for f_v in f_rbf_vars for d_name in survival_dataset_names]
  File "experiments_explore.py", line 1307, in __init__
    self.dataset = load_simulated_survival(fold=self.fold, seed=seed)
  File "experiments_explore.py", line 1222, in load_simulated_survival
    Y[random_censoring_inds] = censored_times
ValueError: shape mismatch: value array of shape (200,1,1) could not be broadcast to indexing result of shape (200,1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions