Module ImportFrom alias alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults Num Num Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr Num Num keyword Num body Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad BinOpAdd NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr Num Num keyword Num body Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index ListLoad Num Num Num Num Num Num Num Num Num Num Num Num Assign SubscriptStore NameLoad Slice Num Num Assign SubscriptStore NameLoad Slice Num Num Assign SubscriptStore NameLoad Slice Num Num Num Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Num Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults vararg kwarg TupleLoad Call NameLoad NameLoad BinOpMult NameLoad NameLoad Call NameLoad keyword NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpAdd Call NameLoad NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore ListLoad Num Num body For NameStore ListLoad Num Num body For NameStore ListLoad Num NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Num NameLoad keyword NameLoad keyword Lambda arguments args NameParam defaults NameLoad keyword NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad For NameStore ListLoad Str Str Str Str body Expr Call NameLoad CompareIn NameLoad NameLoad decorator_list
N/A nose.tools assert_equal assert_true N/A numpy np nilearn.decoding.fista mfista nilearn.decoding.proximal_operators _prox_l1 nilearn.decoding.objective_functions _squared_loss _logistic _squared_loss_grad _logistic_loss_lipschitz_constant spectral_norm_squared nilearn.decoding.fista _check_lipschitz_continuous test_logistic_lipschitz N/A N/A n_samples n_features random_state N/A 4 2 42 N/A N/A rng N/A N/A N/A np random RandomState random_state N/A scaling N/A N/A np logspace -3 3 num 7 N/A N/A X N/A N/A N/A rng randn n_samples n_features scaling N/A y N/A N/A rng randn n_samples N/A n_features N/A N/A X shape N/A 1 N/A L N/A _logistic_loss_lipschitz_constant X N/A N/A _check_lipschitz_continuous N/A N/A N/A w N/A N/A _logistic X y w N/A n_features 1 L N/A test_squared_loss_lipschitz N/A N/A n_samples n_features random_state N/A 4 2 42 N/A N/A rng N/A N/A N/A np random RandomState random_state N/A scaling N/A N/A np logspace -3 3 num 7 N/A N/A X N/A N/A N/A rng randn n_samples n_features scaling N/A y N/A N/A rng randn n_samples N/A n_features N/A N/A X shape N/A 1 N/A L N/A spectral_norm_squared X N/A N/A _check_lipschitz_continuous N/A N/A N/A w N/A N/A _squared_loss_grad X y w n_features L N/A test_input_args_and_kwargs N/A N/A N/A N/A N/A rng N/A N/A N/A np random RandomState 42 N/A p 125 N/A noise_std 0.1 N/A sig N/A N/A np zeros p N/A N/A sig N/A N/A 0 2 13 4 25 32 80 89 91 93 -1 1 N/A N/A sig N/A 6 2 N/A N/A sig N/A -7 2 N/A N/A sig N/A 60 75 1 N/A y N/A sig N/A noise_std N/A N/A rng randn N/A sig shape N/A X N/A N/A np eye p N/A mask N/A N/A N/A N/A np ones N/A p astype N/A np bool N/A alpha 0.01 N/A alpha_ N/A alpha N/A N/A X shape N/A 0 N/A l1_ratio 0.2 N/A l1_weight N/A alpha_ l1_ratio N/A f1 N/A N/A N/A w N/A N/A _squared_loss X y w compute_grad False N/A f1_grad N/A N/A N/A w N/A N/A _squared_loss X y w compute_grad True compute_energy False N/A f2_prox N/A N/A N/A w l N/A args kwargs N/A N/A _prox_l1 w N/A l l1_weight N/A dict converged True N/A total_energy N/A N/A N/A w N/A N/A N/A f1 w N/A l1_weight N/A N/A np sum N/A N/A np abs w N/A cb_retval N/A 0 1 N/A N/A verbose N/A 0 1 N/A N/A dgap_factor N/A 1.0 None N/A N/A N/A best_w objective init N/A mfista f1_grad f2_prox total_energy 1.0 p dgap_factor dgap_factor callback N/A N/A N/A _ N/A cb_retval verbose verbose max_iter 100 N/A N/A assert_equal N/A best_w shape N/A mask shape N/A N/A assert_true N/A isinstance objective list N/A N/A assert_true N/A isinstance init dict N/A key N/A w t dgap_tol stepsize N/A N/A N/A assert_true N/A key init N/A