Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #1

Open
cgdsss opened this issue Aug 31, 2018 · 0 comments
Open

error #1

cgdsss opened this issue Aug 31, 2018 · 0 comments

Comments

@cgdsss
Copy link

cgdsss commented Aug 31, 2018

 /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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant