\n", " | image_name | \n", "tags | \n", "
---|---|---|
0 | \n", "train_31112 | \n", "clear primary | \n", "
1 | \n", "train_4300 | \n", "partly_cloudy primary water | \n", "
2 | \n", "train_39539 | \n", "clear primary water | \n", "
3 | \n", "train_12498 | \n", "agriculture clear primary road | \n", "
4 | \n", "train_9320 | \n", "clear primary | \n", "
\n", " | image_name | \n", "tags | \n", "
---|---|---|
0 | \n", "train_31112 | \n", "clear primary | \n", "
1 | \n", "train_4300 | \n", "partly_cloudy primary water | \n", "
2 | \n", "train_39539 | \n", "clear primary water | \n", "
3 | \n", "train_12498 | \n", "agriculture clear primary road | \n", "
4 | \n", "train_9320 | \n", "clear primary | \n", "
idx | \n", "text | \n", "
---|---|
0 | \n", "! ! ! xxmaj finally this was directed by the guy who did xxmaj big xxmaj xxunk ? xxmaj must be a replay of xxmaj jonestown - hollywood style . xxmaj xxunk ! xxbos xxmaj this is a extremely well - made film . xxmaj the acting , script and camera - work are all first - rate . xxmaj the music is good , too , though it is | \n", "
1 | \n", ", co - billed with xxup the xxup xxunk xxup vampire . a xxmaj spanish - xxmaj italian co - production where a series of women in a village are being murdered around the same time a local count named xxmaj yanos xxmaj xxunk is seen on xxunk , riding off with his ' man - eating ' dog behind him . \\n \\n xxmaj the xxunk already suspect | \n", "
2 | \n", "sad relic that is well worth seeing . xxbos i caught this on the dish last night . i liked the movie . i xxunk to xxmaj russia 3 different times ( xxunk our 2 kids ) . i ca n't put my finger on exactly why i liked this movie other than seeing \" bad \" turn \" good \" and \" good \" turn \" semi - bad | \n", "
3 | \n", "pushed him along . xxmaj the story ( if it can be called that ) is so full of holes it 's almost funny , xxmaj it never really explains why the hell he survived in the first place , or needs human flesh in order to survive . xxmaj the script is poorly written and the dialogue xxunk on just plane stupid . xxmaj the climax to movie ( | \n", "
4 | \n", "the xxunk of the xxmaj xxunk xxmaj race and had the xxunk of some of those racist xxunk . xxmaj fortunately , nothing happened like the incident in the movie where the young xxmaj caucasian man went off and started shooting at a xxunk gathering . \\n \\n i can only hope and pray that nothing like that ever will happen . \\n \\n xxmaj so is \" | \n", "
text | \n", "target | \n", "
---|---|
xxbos xxmaj raising xxmaj victor xxmaj vargas : a xxmaj review \\n \\n xxmaj you know , xxmaj raising xxmaj victor xxmaj vargas is like sticking your hands into a big , xxunk bowl of xxunk . xxmaj it 's warm and gooey , but you 're not sure if it feels right . xxmaj try as i might , no matter how warm and gooey xxmaj raising xxmaj | \n", "negative | \n", "
xxbos xxup the xxup shop xxup around xxup the xxup corner is one of the xxunk and most feel - good romantic comedies ever made . xxmaj there 's just no getting around that , and it 's hard to actually put one 's feeling for this film into words . xxmaj it 's not one of those films that tries too hard , nor does it come up with | \n", "positive | \n", "
xxbos xxmaj now that xxmaj che(2008 ) has finished its relatively short xxmaj australian cinema run ( extremely limited xxunk screen in xxmaj xxunk , after xxunk ) , i can xxunk join both xxunk of \" xxmaj at xxmaj the xxmaj movies \" in taking xxmaj steven xxmaj soderbergh to task . \\n \\n xxmaj it 's usually satisfying to watch a film director change his style / | \n", "negative | \n", "
xxbos xxmaj this film sat on my xxmaj xxunk for weeks before i watched it . i xxunk a self - indulgent xxunk flick about relationships gone bad . i was wrong ; this was an xxunk xxunk into the screwed - up xxunk of xxmaj new xxmaj xxunk . \\n \\n xxmaj the format is the same as xxmaj max xxmaj xxunk ' \" xxmaj la xxmaj xxunk | \n", "positive | \n", "
xxbos xxmaj many neglect that this is n't just a classic due to the fact that it 's the first xxup 3d game , or even the first xxunk - up . xxmaj it 's also one of the first xxunk games , one of the xxunk definitely the first ) truly claustrophobic games , and just a pretty well - xxunk gaming experience in general . xxmaj with graphics | \n", "positive | \n", "
workclass | \n", "education | \n", "marital-status | \n", "occupation | \n", "relationship | \n", "race | \n", "sex | \n", "native-country | \n", "education-num_na | \n", "education-num | \n", "hours-per-week | \n", "age | \n", "capital-loss | \n", "fnlwgt | \n", "capital-gain | \n", "target | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
? | \n", "Doctorate | \n", "Married-civ-spouse | \n", "? | \n", "Husband | \n", "Amer-Indian-Eskimo | \n", "Male | \n", "United-States | \n", "False | \n", "2.3157 | \n", "-0.0356 | \n", "1.7161 | \n", "-0.2164 | \n", "-1.1496 | \n", "-0.1459 | \n", ">=50k | \n", "
Private | \n", "Some-college | \n", "Never-married | \n", "Sales | \n", "Own-child | \n", "White | \n", "Male | \n", "United-States | \n", "False | \n", "-0.0312 | \n", "-0.4406 | \n", "-1.4357 | \n", "-0.2164 | \n", "-0.1893 | \n", "-0.1459 | \n", "<50k | \n", "
Private | \n", "Some-college | \n", "Never-married | \n", "Protective-serv | \n", "Own-child | \n", "White | \n", "Male | \n", "United-States | \n", "False | \n", "-0.0312 | \n", "-2.0606 | \n", "-1.2891 | \n", "-0.2164 | \n", "1.1154 | \n", "-0.1459 | \n", "<50k | \n", "
Private | \n", "HS-grad | \n", "Married-civ-spouse | \n", "Handlers-cleaners | \n", "Wife | \n", "White | \n", "Female | \n", "Mexico | \n", "False | \n", "-0.4224 | \n", "-0.0356 | \n", "-0.7027 | \n", "-0.2164 | \n", "0.0779 | \n", "-0.1459 | \n", ">=50k | \n", "
Private | \n", "HS-grad | \n", "Married-civ-spouse | \n", "Tech-support | \n", "Husband | \n", "White | \n", "Male | \n", "United-States | \n", "False | \n", "-0.4224 | \n", "3.2043 | \n", "-0.1163 | \n", "-0.2164 | \n", "-0.6858 | \n", "-0.1459 | \n", ">=50k | \n", "
class
ItemList
[source][test]ItemList
(**`items`**:`Iterator`\\[`T_co`\\], **`path`**:`PathOrStr`=***`'.'`***, **`label_cls`**:`Callable`=***`None`***, **`inner_df`**:`Any`=***`None`***, **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **`x`**:`ItemList`=***`None`***, **`ignore_empty`**:`bool`=***`False`***)\n",
"\n",
"Tests found for ItemList
:
Some other tests where ItemList
is used:
pytest -sv tests/test_data_block.py::test_category
[source]pytest -sv tests/test_data_block.py::test_category_processor_existing_class
[source]pytest -sv tests/test_data_block.py::test_category_processor_non_existing_class
[source]pytest -sv tests/test_data_block.py::test_filter_by_folder
[source]pytest -sv tests/test_data_block.py::test_multi_category
[source]pytest -sv tests/test_data_block.py::test_regression
[source]pytest -sv tests/test_data_block.py::test_split_subsets
[source]pytest -sv tests/test_data_block.py::test_splitdata_datasets
[source]To run tests please refer to this guide.
from_folder
[source][test]from_folder
(**`path`**:`PathOrStr`, **`extensions`**:`StrList`=***`None`***, **`recurse`**:`bool`=***`True`***, **`include`**:`OptStrList`=***`None`***, **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **`presort`**:`Optional`\\[`bool`\\]=***`False`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"from_df
[source][test]from_df
(**`df`**:`DataFrame`, **`path`**:`PathOrStr`=***`'.'`***, **`cols`**:`IntsOrStrs`=***`0`***, **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"Tests found for from_df
:
Some other tests where from_df
is used:
pytest -sv tests/test_data_block.py::test_category
[source]pytest -sv tests/test_data_block.py::test_category_processor_existing_class
[source]pytest -sv tests/test_data_block.py::test_category_processor_non_existing_class
[source]pytest -sv tests/test_data_block.py::test_multi_category
[source]pytest -sv tests/test_data_block.py::test_regression
[source]To run tests please refer to this guide.
\n", " | name | \n", "label | \n", "
---|---|---|
0 | \n", "train/3/7463.png | \n", "0 | \n", "
1 | \n", "train/3/21102.png | \n", "0 | \n", "
2 | \n", "train/3/31559.png | \n", "0 | \n", "
3 | \n", "train/3/46882.png | \n", "0 | \n", "
4 | \n", "train/3/26209.png | \n", "0 | \n", "
from_csv
[source][test]from_csv
(**`path`**:`PathOrStr`, **`csv_name`**:`str`, **`cols`**:`IntsOrStrs`=***`0`***, **`delimiter`**:`str`=***`None`***, **`header`**:`str`=***`'infer'`***, **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"No tests found for from_csv
. To contribute a test please refer to this guide and this discussion.
filter_by_func
[source][test]filter_by_func
(**`func`**:`Callable`) → `ItemList`\n",
"\n",
"No tests found for filter_by_func
. To contribute a test please refer to this guide and this discussion.
\n", " | name | \n", "label | \n", "
---|---|---|
0 | \n", "train/3/7463.png | \n", "0 | \n", "
1 | \n", "train/3/21102.png | \n", "0 | \n", "
2 | \n", "train/3/31559.png | \n", "0 | \n", "
3 | \n", "train/3/46882.png | \n", "0 | \n", "
4 | \n", "train/3/26209.png | \n", "0 | \n", "
filter_by_folder
[source][test]filter_by_folder
(**`include`**=***`None`***, **`exclude`**=***`None`***)\n",
"\n",
"filter_by_rand
[source][test]filter_by_rand
(**`p`**:`float`, **`seed`**:`int`=***`None`***)\n",
"\n",
"No tests found for filter_by_rand
. To contribute a test please refer to this guide and this discussion.
to_text
[source][test]to_text
(**`fn`**:`str`)\n",
"\n",
"No tests found for to_text
. To contribute a test please refer to this guide and this discussion.
\n", " | name | \n", "label | \n", "
---|---|---|
0 | \n", "train/3/7463.png | \n", "0 | \n", "
1 | \n", "train/3/21102.png | \n", "0 | \n", "
2 | \n", "train/3/31559.png | \n", "0 | \n", "
3 | \n", "train/3/46882.png | \n", "0 | \n", "
4 | \n", "train/3/26209.png | \n", "0 | \n", "
use_partial_data
[source][test]use_partial_data
(**`sample_pct`**:`float`=***`0.01`***, **`seed`**:`int`=***`None`***) → `ItemList`\n",
"\n",
"No tests found for use_partial_data
. To contribute a test please refer to this guide and this discussion.
analyze_pred
[source][test]analyze_pred
(**`pred`**:`Tensor`)\n",
"\n",
"No tests found for analyze_pred
. To contribute a test please refer to this guide and this discussion.
get
[source][test]get
(**`i`**) → `Any`\n",
"\n",
"No tests found for get
. To contribute a test please refer to this guide and this discussion.
new
[source][test]new
(**`items`**:`Iterator`\\[`T_co`\\], **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"No tests found for new
. To contribute a test please refer to this guide and this discussion.
reconstruct
[source][test]reconstruct
(**`t`**:`Tensor`, **`x`**:`Tensor`=***`None`***)\n",
"\n",
"No tests found for reconstruct
. To contribute a test please refer to this guide and this discussion.
split_none
[source][test]split_none
()\n",
"\n",
"No tests found for split_none
. To contribute a test please refer to this guide and this discussion.
split_by_rand_pct
[source][test]split_by_rand_pct
(**`valid_pct`**:`float`=***`0.2`***, **`seed`**:`int`=***`None`***) → `ItemLists`\n",
"\n",
"split_subsets
[source][test]split_subsets
(**`train_size`**:`float`, **`valid_size`**:`float`, **`seed`**=***`None`***) → `ItemLists`\n",
"\n",
"split_by_files
[source][test]split_by_files
(**`valid_names`**:`ItemList`) → `ItemLists`\n",
"\n",
"No tests found for split_by_files
. To contribute a test please refer to this guide and this discussion.
split_by_fname_file
[source][test]split_by_fname_file
(**`fname`**:`PathOrStr`, **`path`**:`PathOrStr`=***`None`***) → `ItemLists`\n",
"\n",
"No tests found for split_by_fname_file
. To contribute a test please refer to this guide and this discussion.
split_by_folder
[source][test]split_by_folder
(**`train`**:`str`=***`'train'`***, **`valid`**:`str`=***`'valid'`***) → `ItemLists`\n",
"\n",
"split_by_idx
[source][test]split_by_idx
(**`valid_idx`**:`Collection`\\[`int`\\]) → `ItemLists`\n",
"\n",
"Tests found for split_by_idx
:
Some other tests where split_by_idx
is used:
pytest -sv tests/test_data_block.py::test_category
[source]pytest -sv tests/test_data_block.py::test_category_processor_existing_class
[source]pytest -sv tests/test_data_block.py::test_category_processor_non_existing_class
[source]pytest -sv tests/test_data_block.py::test_multi_category
[source]To run tests please refer to this guide.
\n", " | name | \n", "label | \n", "
---|---|---|
0 | \n", "train/3/7463.png | \n", "0 | \n", "
1 | \n", "train/3/21102.png | \n", "0 | \n", "
2 | \n", "train/3/31559.png | \n", "0 | \n", "
3 | \n", "train/3/46882.png | \n", "0 | \n", "
4 | \n", "train/3/26209.png | \n", "0 | \n", "
split_by_idxs
[source][test]split_by_idxs
(**`train_idx`**, **`valid_idx`**)\n",
"\n",
"No tests found for split_by_idxs
. To contribute a test please refer to this guide and this discussion.
split_by_list
[source][test]split_by_list
(**`train`**, **`valid`**)\n",
"\n",
"No tests found for split_by_list
. To contribute a test please refer to this guide and this discussion.
split_by_valid_func
[source][test]split_by_valid_func
(**`func`**:`Callable`) → `ItemLists`\n",
"\n",
"No tests found for split_by_valid_func
. To contribute a test please refer to this guide and this discussion.
split_from_df
[source][test]split_from_df
(**`col`**:`IntsOrStrs`=***`2`***)\n",
"\n",
"No tests found for split_from_df
. To contribute a test please refer to this guide and this discussion.
\n", " | name | \n", "label | \n", "is_valid | \n", "
---|---|---|---|
2071 | \n", "train/3/28571.png | \n", "0 | \n", "True | \n", "
9382 | \n", "train/7/24434.png | \n", "1 | \n", "False | \n", "
6399 | \n", "train/7/56604.png | \n", "1 | \n", "True | \n", "
130 | \n", "train/3/4740.png | \n", "0 | \n", "True | \n", "
9226 | \n", "train/7/18876.png | \n", "1 | \n", "False | \n", "
get_label_cls
[source][test]get_label_cls
(**`labels`**, **`label_cls`**:`Callable`=***`None`***, **`label_delim`**:`str`=***`None`***, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for get_label_cls
. To contribute a test please refer to this guide and this discussion.
\n", " | x | \n", "y | \n", "
---|---|---|
0 | \n", "train/7/9243.png | \n", "7 | \n", "
1 | \n", "train/7/9519.png | \n", "7 | \n", "
2 | \n", "train/7/7534.png | \n", "7 | \n", "
3 | \n", "train/7/9082.png | \n", "7 | \n", "
4 | \n", "train/7/8377.png | \n", "7 | \n", "
label_empty
[source][test]label_empty
(**\\*\\*`kwargs`**)\n",
"\n",
"No tests found for label_empty
. To contribute a test please refer to this guide and this discussion.
label_from_df
[source][test]label_from_df
(**`cols`**:`IntsOrStrs`=***`1`***, **`label_cls`**:`Callable`=***`None`***, **\\*\\*`kwargs`**)\n",
"\n",
"Tests found for label_from_df
:
Some other tests where label_from_df
is used:
pytest -sv tests/test_data_block.py::test_category
[source]pytest -sv tests/test_data_block.py::test_category_processor_existing_class
[source]pytest -sv tests/test_data_block.py::test_category_processor_non_existing_class
[source]pytest -sv tests/test_data_block.py::test_multi_category
[source]pytest -sv tests/test_data_block.py::test_regression
[source]To run tests please refer to this guide.
label_const
[source][test]label_const
(**`const`**:`Any`=***`0`***, **`label_cls`**:`Callable`=***`None`***, **\\*\\*`kwargs`**) → `LabelList`\n",
"\n",
"label_from_folder
[source][test]label_from_folder
(**`label_cls`**:`Callable`=***`None`***, **\\*\\*`kwargs`**) → `LabelList`\n",
"\n",
"Tests found for label_from_folder
:
pytest -sv tests/test_text_data.py::test_filter_classes
[source]pytest -sv tests/test_text_data.py::test_from_folder
[source]Some other tests where label_from_folder
is used:
pytest -sv tests/test_data_block.py::test_wrong_order
[source]To run tests please refer to this guide.
label_from_func
[source][test]label_from_func
(**`func`**:`Callable`, **`label_cls`**:`Callable`=***`None`***, **\\*\\*`kwargs`**) → `LabelList`\n",
"\n",
"No tests found for label_from_func
. To contribute a test please refer to this guide and this discussion.
label_from_re
[source][test]label_from_re
(**`pat`**:`str`, **`full_path`**:`bool`=***`False`***, **`label_cls`**:`Callable`=***`None`***, **\\*\\*`kwargs`**) → `LabelList`\n",
"\n",
"No tests found for label_from_re
. To contribute a test please refer to this guide and this discussion.
class
CategoryList
[source][test]CategoryList
(**`items`**:`Iterator`\\[`T_co`\\], **`classes`**:`Collection`\\[`T_co`\\]=***`None`***, **`label_delim`**:`str`=***`None`***, **\\*\\*`kwargs`**) :: [`CategoryListBase`](/data_block.html#CategoryListBase)\n",
"\n",
"No tests found for CategoryList
. To contribute a test please refer to this guide and this discussion.
class
MultiCategoryList
[source][test]MultiCategoryList
(**`items`**:`Iterator`\\[`T_co`\\], **`classes`**:`Collection`\\[`T_co`\\]=***`None`***, **`label_delim`**:`str`=***`None`***, **`one_hot`**:`bool`=***`False`***, **\\*\\*`kwargs`**) :: [`CategoryListBase`](/data_block.html#CategoryListBase)\n",
"\n",
"No tests found for MultiCategoryList
. To contribute a test please refer to this guide and this discussion.
class
FloatList
[source][test]FloatList
(**`items`**:`Iterator`\\[`T_co`\\], **`log`**:`bool`=***`False`***, **`classes`**:`Collection`\\[`T_co`\\]=***`None`***, **\\*\\*`kwargs`**) :: [`ItemList`](/data_block.html#ItemList)\n",
"\n",
"No tests found for FloatList
. To contribute a test please refer to this guide and this discussion.
class
EmptyLabelList
[source][test]EmptyLabelList
(**`items`**:`Iterator`\\[`T_co`\\], **`path`**:`PathOrStr`=***`'.'`***, **`label_cls`**:`Callable`=***`None`***, **`inner_df`**:`Any`=***`None`***, **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **`x`**:`ItemList`=***`None`***, **`ignore_empty`**:`bool`=***`False`***) :: [`ItemList`](/data_block.html#ItemList)\n",
"\n",
"No tests found for EmptyLabelList
. To contribute a test please refer to this guide and this discussion.
class
PreProcessor
[source][test]PreProcessor
(**`ds`**:`Collection`\\[`T_co`\\]=***`None`***)\n",
"\n",
"No tests found for PreProcessor
. To contribute a test please refer to this guide and this discussion.
process_one
[source][test]process_one
(**`item`**:`Any`)\n",
"\n",
"process
[source][test]process
(**`ds`**:`Collection`\\[`T_co`\\])\n",
"\n",
"No tests found for process
. To contribute a test please refer to this guide and this discussion.
class
CategoryProcessor
[source][test]CategoryProcessor
(**`ds`**:[`ItemList`](/data_block.html#ItemList)) :: [`PreProcessor`](/data_block.html#PreProcessor)\n",
"\n",
"No tests found for CategoryProcessor
. To contribute a test please refer to this guide and this discussion.
generate_classes
[source][test]generate_classes
(**`items`**)\n",
"\n",
"No tests found for generate_classes
. To contribute a test please refer to this guide and this discussion.
process
[source][test]process
(**`ds`**)\n",
"\n",
"No tests found for process
. To contribute a test please refer to this guide and this discussion.
class
MultiCategoryProcessor
[source][test]MultiCategoryProcessor
(**`ds`**:[`ItemList`](/data_block.html#ItemList), **`one_hot`**:`bool`=***`False`***) :: [`CategoryProcessor`](/data_block.html#CategoryProcessor)\n",
"\n",
"No tests found for MultiCategoryProcessor
. To contribute a test please refer to this guide and this discussion.
generate_classes
[source][test]generate_classes
(**`items`**)\n",
"\n",
"No tests found for generate_classes
. To contribute a test please refer to this guide and this discussion.
transform
[source][test]transform
(**`tfms`**:`Optional`\\[`Tuple`\\[`Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\], `Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\]\\]\\]=***`(None, None)`***, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for transform
. To contribute a test please refer to this guide and this discussion.
add_test
[source][test]add_test
(**`items`**:`Iterator`\\[`T_co`\\], **`label`**:`Any`=***`None`***)\n",
"\n",
"No tests found for add_test
. To contribute a test please refer to this guide and this discussion.
add_test_folder
[source][test]add_test_folder
(**`test_folder`**:`str`=***`'test'`***, **`label`**:`Any`=***`None`***)\n",
"\n",
"No tests found for add_test_folder
. To contribute a test please refer to this guide and this discussion.
databunch
[source][test]databunch
(**`path`**:`PathOrStr`=***`None`***, **`bs`**:`int`=***`64`***, **`val_bs`**:`int`=***`None`***, **`num_workers`**:`int`=***`4`***, **`dl_tfms`**:`Optional`\\[`Collection`\\[`Callable`\\]\\]=***`None`***, **`device`**:[`device`](https://pytorch.org/docs/stable/tensor_attributes.html#torch-device)=***`None`***, **`collate_fn`**:`Callable`=***`'data_collate'`***, **`no_check`**:`bool`=***`False`***, **\\*\\*`kwargs`**) → `DataBunch`\n",
"\n",
"class
LabelList
[source][test]LabelList
(**`x`**:[`ItemList`](/data_block.html#ItemList), **`y`**:[`ItemList`](/data_block.html#ItemList), **`tfms`**:`Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\]=***`None`***, **`tfm_y`**:`bool`=***`False`***, **\\*\\*`kwargs`**) :: [`Dataset`](https://pytorch.org/docs/stable/data.html#torch.utils.data.Dataset)\n",
"\n",
"No tests found for LabelList
. To contribute a test please refer to this guide and this discussion.
export
[source][test]export
(**`fn`**:`PathOrStr`, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for export
. To contribute a test please refer to this guide and this discussion.
transform_y
[source][test]transform_y
(**`tfms`**:`Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\]=***`None`***, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for transform_y
. To contribute a test please refer to this guide and this discussion.
get_state
[source][test]get_state
(**\\*\\*`kwargs`**)\n",
"\n",
"No tests found for get_state
. To contribute a test please refer to this guide and this discussion.
load_empty
[source][test]load_empty
(**`path`**:`PathOrStr`, **`fn`**:`PathOrStr`)\n",
"\n",
"No tests found for load_empty
. To contribute a test please refer to this guide and this discussion.
load_state
[source][test]load_state
(**`path`**:`PathOrStr`, **`state`**:`dict`) → `LabelList`\n",
"\n",
"No tests found for load_state
. To contribute a test please refer to this guide and this discussion.
process
[source][test]process
(**`xp`**:[`PreProcessor`](/data_block.html#PreProcessor)=***`None`***, **`yp`**:[`PreProcessor`](/data_block.html#PreProcessor)=***`None`***, **`name`**:`str`=***`None`***)\n",
"\n",
"No tests found for process
. To contribute a test please refer to this guide and this discussion.
set_item
[source][test]set_item
(**`item`**)\n",
"\n",
"No tests found for set_item
. To contribute a test please refer to this guide and this discussion.
to_df
[source][test]to_df
()\n",
"\n",
"No tests found for to_df
. To contribute a test please refer to this guide and this discussion.
to_csv
[source][test]to_csv
(**`dest`**:`str`)\n",
"\n",
"No tests found for to_csv
. To contribute a test please refer to this guide and this discussion.
transform
[source][test]transform
(**`tfms`**:`Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\], **`tfm_y`**:`bool`=***`None`***, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for transform
. To contribute a test please refer to this guide and this discussion.
class
ItemLists
[source][test]ItemLists
(**`path`**:`PathOrStr`, **`train`**:[`ItemList`](/data_block.html#ItemList), **`valid`**:[`ItemList`](/data_block.html#ItemList))\n",
"\n",
"No tests found for ItemLists
. To contribute a test please refer to this guide and this discussion.
label_from_lists
[source][test]label_from_lists
(**`train_labels`**:`Iterator`\\[`T_co`\\], **`valid_labels`**:`Iterator`\\[`T_co`\\], **`label_cls`**:`Callable`=***`None`***, **\\*\\*`kwargs`**) → `LabelList`\n",
"\n",
"No tests found for label_from_lists
. To contribute a test please refer to this guide and this discussion.
transform
[source][test]transform
(**`tfms`**:`Optional`\\[`Tuple`\\[`Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\], `Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\]\\]\\]=***`(None, None)`***, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for transform
. To contribute a test please refer to this guide and this discussion.
transform_y
[source][test]transform_y
(**`tfms`**:`Optional`\\[`Tuple`\\[`Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\], `Union`\\[`Callable`, `Collection`\\[`Callable`\\]\\]\\]\\]=***`(None, None)`***, **\\*\\*`kwargs`**)\n",
"\n",
"No tests found for transform_y
. To contribute a test please refer to this guide and this discussion.
class
LabelLists
[source][test]LabelLists
(**`path`**:`PathOrStr`, **`train`**:[`ItemList`](/data_block.html#ItemList), **`valid`**:[`ItemList`](/data_block.html#ItemList)) :: [`ItemLists`](/data_block.html#ItemLists)\n",
"\n",
"No tests found for LabelLists
. To contribute a test please refer to this guide and this discussion.
get_processors
[source][test]get_processors
()\n",
"\n",
"No tests found for get_processors
. To contribute a test please refer to this guide and this discussion.
load_empty
[source][test]load_empty
(**`path`**:`PathOrStr`, **`fn`**:`PathOrStr`=***`'export.pkl'`***)\n",
"\n",
"No tests found for load_empty
. To contribute a test please refer to this guide and this discussion.
load_state
[source][test]load_state
(**`path`**:`PathOrStr`, **`state`**:`dict`)\n",
"\n",
"No tests found for load_state
. To contribute a test please refer to this guide and this discussion.
process
[source][test]process
()\n",
"\n",
"No tests found for process
. To contribute a test please refer to this guide and this discussion.
process
[source][test]process
(**`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***)\n",
"\n",
"No tests found for process
. To contribute a test please refer to this guide and this discussion.
get_files
[source][test]get_files
(**`path`**:`PathOrStr`, **`extensions`**:`StrList`=***`None`***, **`recurse`**:`bool`=***`False`***, **`include`**:`OptStrList`=***`None`***, **`presort`**:`bool`=***`False`***) → `FilePathList`\n",
"\n",
"No tests found for get_files
. To contribute a test please refer to this guide and this discussion.
new
[source][test]new
(**`items`**:`Iterator`\\[`T_co`\\], **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"No tests found for new
. To contribute a test please refer to this guide and this discussion.
new
[source][test]new
(**`x`**, **`y`**, **\\*\\*`kwargs`**) → `LabelList`\n",
"\n",
"No tests found for new
. To contribute a test please refer to this guide and this discussion.
get
[source][test]get
(**`i`**)\n",
"\n",
"No tests found for get
. To contribute a test please refer to this guide and this discussion.
predict
[source][test]predict
(**`res`**)\n",
"\n",
"No tests found for predict
. To contribute a test please refer to this guide and this discussion.
new
[source][test]new
(**`items`**:`Iterator`\\[`T_co`\\], **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"No tests found for new
. To contribute a test please refer to this guide and this discussion.
process_one
[source][test]process_one
(**`item`**:[`ItemBase`](/core.html#ItemBase), **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***)\n",
"\n",
"process_one
[source][test]process_one
(**`item`**)\n",
"\n",
"get
[source][test]get
(**`i`**)\n",
"\n",
"No tests found for get
. To contribute a test please refer to this guide and this discussion.
process_one
[source][test]process_one
(**`item`**)\n",
"\n",
"create_classes
[source][test]create_classes
(**`classes`**)\n",
"\n",
"No tests found for create_classes
. To contribute a test please refer to this guide and this discussion.
get
[source][test]get
(**`i`**)\n",
"\n",
"No tests found for get
. To contribute a test please refer to this guide and this discussion.
new
[source][test]new
(**`items`**:`Iterator`\\[`T_co`\\], **`processor`**:`Union`\\[[`PreProcessor`](/data_block.html#PreProcessor), `Collection`\\[[`PreProcessor`](/data_block.html#PreProcessor)\\]\\]=***`None`***, **\\*\\*`kwargs`**) → `ItemList`\n",
"\n",
"No tests found for new
. To contribute a test please refer to this guide and this discussion.
reconstruct
[source][test]reconstruct
(**`t`**)\n",
"\n",
"No tests found for reconstruct
. To contribute a test please refer to this guide and this discussion.
analyze_pred
[source][test]analyze_pred
(**`pred`**, **`thresh`**:`float`=***`0.5`***)\n",
"\n",
"No tests found for analyze_pred
. To contribute a test please refer to this guide and this discussion.
reconstruct
[source][test]reconstruct
(**`t`**)\n",
"\n",
"No tests found for reconstruct
. To contribute a test please refer to this guide and this discussion.
reconstruct
[source][test]reconstruct
(**`t`**)\n",
"\n",
"No tests found for reconstruct
. To contribute a test please refer to this guide and this discussion.
analyze_pred
[source][test]analyze_pred
(**`pred`**, **`thresh`**:`float`=***`0.5`***)\n",
"\n",
"No tests found for analyze_pred
. To contribute a test please refer to this guide and this discussion.
reconstruct
[source][test]reconstruct
(**`t`**:`Tensor`, **`x`**:`Tensor`=***`None`***)\n",
"\n",
"No tests found for reconstruct
. To contribute a test please refer to this guide and this discussion.
get
[source][test]get
(**`i`**)\n",
"\n",
"No tests found for get
. To contribute a test please refer to this guide and this discussion.
databunch
[source][test]databunch
(**\\*\\*`kwargs`**)\n",
"\n",
"add
[source][test]add
(**`items`**:`ItemList`)\n",
"\n",
"No tests found for add
. To contribute a test please refer to this guide and this discussion.