Module Expr Str Import alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body TryExcept body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad TupleLoad Num Num AttributeLoad NameLoad attr Expr Call NameLoad TupleLoad Num Num AttributeLoad NameLoad attr Expr Call NameLoad TupleLoad Num AttributeLoad NameLoad attr Expr Call NameLoad Num Call NameLoad NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Expr Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore TupleLoad Str Str Str Assign NameStore TupleLoad Num Num Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index NameLoad attr attr Assign NameStore Call NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Num Num Num For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice attr Expr Call NameLoad NameLoad NameLoad decorator_list
N/A N/A Test the rcv1 loader.

Skipped if rcv1 is not already downloaded to data_home.
 N/A errno N/A scipy.sparse sp N/A numpy np sklearn.datasets fetch_rcv1 sklearn.utils.testing assert_almost_equal sklearn.utils.testing assert_array_equal sklearn.utils.testing assert_equal sklearn.utils.testing assert_true sklearn.utils.testing SkipTest test_fetch_rcv1 N/A N/A N/A N/A N/A N/A N/A data1 N/A fetch_rcv1 shuffle False download_if_missing False N/A N/A N/A IOError N/A e N/A N/A N/A N/A e errno N/A errno ENOENT N/A N/A N/A SkipTest Download RCV1 dataset to run this test. N/A N/A X1 Y1 N/A N/A data1 data N/A data1 target N/A N/A cat_list s1 N/A N/A N/A N/A data1 target_names tolist N/A data1 sample_id N/A N/A assert_true N/A N/A sp issparse X1 N/A N/A assert_true N/A N/A sp issparse Y1 N/A N/A assert_equal 60915113 N/A N/A X1 data size N/A N/A assert_equal 2606875 N/A N/A Y1 data size N/A N/A assert_equal N/A 804414 47236 N/A X1 shape N/A N/A assert_equal N/A 804414 103 N/A Y1 shape N/A N/A assert_equal N/A 804414 N/A s1 shape N/A N/A assert_equal 103 N/A len cat_list N/A first_categories N/A C11 C12 C13 C14 C15 C151 N/A N/A assert_array_equal first_categories N/A cat_list N/A 6 N/A some_categories N/A GMIL E143 CCAT N/A number_non_zero_in_cat N/A 5 1206 381327 N/A N/A num cat N/A zip number_non_zero_in_cat some_categories N/A N/A j N/A N/A cat_list index cat N/A N/A assert_equal num N/A N/A N/A Y1 N/A N/A N/A j data size N/A data2 N/A fetch_rcv1 shuffle True subset train random_state 77 download_if_missing False N/A N/A X2 Y2 N/A N/A data2 data N/A data2 target N/A s2 N/A data2 sample_id N/A N/A assert_array_equal N/A N/A np sort N/A s1 N/A 23149 N/A N/A np sort s2 N/A some_sample_ids N/A 2286 3274 14042 N/A sample_id some_sample_ids N/A N/A idx1 N/A N/A N/A N/A s1 tolist index sample_id N/A idx2 N/A N/A N/A N/A s2 tolist index sample_id N/A feature_values_1 N/A N/A N/A X1 N/A N/A idx1 N/A toarray N/A feature_values_2 N/A N/A N/A X2 N/A N/A idx2 N/A toarray N/A N/A assert_almost_equal feature_values_1 feature_values_2 N/A target_values_1 N/A N/A N/A Y1 N/A N/A idx1 N/A toarray N/A target_values_2 N/A N/A N/A Y2 N/A N/A idx2 N/A toarray N/A N/A assert_almost_equal target_values_1 target_values_2 N/A