View source: R/libsvm_dataset.R
Create a Dataset from LibSVM files.
1 2 3 4 5 6 7 8 9 10 11 12 |
file_names |
A |
num_features |
The number of features. |
dtype |
The type of the output feature tensor. Default to |
label_dtype |
The type of the output label tensor. Default to
|
batch_size |
An integer representing the number of records to combine in a single batch, default 1. |
compression_type |
A |
buffer_size |
A |
num_parallel_parser_calls |
Number of parallel records to parse in parallel. Defaults to an automatic selection. |
drop_final_batch |
Whether the last batch should be dropped in case its
size is smaller than |
prefetch_buffer_size |
An integer specifying the number of feature batches to prefetch for performance improvement. Defaults to auto-tune. Set to 0 to disable prefetching. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.