Package: tfdatasets 2.9.0.9000

Tomasz Kalinowski

tfdatasets: Interface to 'TensorFlow' Datasets

Interface to 'TensorFlow' Datasets, a high-level library for building complex input pipelines from simple, re-usable pieces. See <https://www.tensorflow.org/guide> for additional details.

Authors:Tomasz Kalinowski [ctb, cph, cre], Daniel Falbel [ctb, cph], JJ Allaire [aut, cph], Yuan Tang [aut], Kevin Ushey [aut], RStudio [cph, fnd], Google Inc. [cph]

tfdatasets_2.9.0.9000.tar.gz
tfdatasets_2.9.0.9000.zip(r-4.5)tfdatasets_2.9.0.9000.zip(r-4.4)tfdatasets_2.9.0.9000.zip(r-4.3)
tfdatasets_2.9.0.9000.tgz(r-4.4-any)tfdatasets_2.9.0.9000.tgz(r-4.3-any)
tfdatasets_2.9.0.9000.tar.gz(r-4.5-noble)tfdatasets_2.9.0.9000.tar.gz(r-4.4-noble)
tfdatasets_2.9.0.9000.tgz(r-4.4-emscripten)tfdatasets_2.9.0.9000.tgz(r-4.3-emscripten)
tfdatasets.pdf |tfdatasets.html
tfdatasets/json (API)
NEWS

# Install tfdatasets in R:
install.packages('tfdatasets', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/tfdatasets/issues

Datasets:
  • hearts - Heart Disease Data Set

On CRAN:

105 exports 34 stars 3.49 score 31 dependencies 9 dependents 2.6k downloads

Last updated 5 months agofrom:4d92774ae9fcf1b4b286a64c8db9f432d1c82c1b

Exports:%>%all_nominalall_numericas_array_iteratoras_iteratoras_tensoras_tf_datasetchoose_from_datasetscontainscsv_record_specdataset_batchdataset_bucket_by_sequence_lengthdataset_cachedataset_collectdataset_concatenatedataset_decode_delimdataset_enumeratedataset_filterdataset_flat_mapdataset_group_by_windowdataset_interleavedataset_mapdataset_map_and_batchdataset_optionsdataset_padded_batchdataset_prefetchdataset_prefetch_to_devicedataset_preparedataset_reducedataset_rejection_resampledataset_repeatdataset_scandataset_sharddataset_shuffledataset_shuffle_and_repeatdataset_skipdataset_snapshotdataset_takedataset_take_whiledataset_unbatchdataset_uniquedataset_use_specdataset_windowdelim_record_specdense_featuresends_witheverythingfeature_specfile_list_datasetfitfixed_length_record_datasethas_typeinput_fn.tf_datasetinstall_tensorflowiter_nextiterateiterator_get_nextiterator_initializeriterator_make_initializeriterator_string_handlelayer_input_from_datasetmake_csv_datasetmake_iterator_from_string_handlemake_iterator_from_structuremake_iterator_initializablemake_iterator_one_shotmatchesnext_batchnum_rangeone_ofout_of_range_handleroutput_shapesoutput_typesrandom_integer_datasetrange_datasetread_filessample_from_datasetsscaler_min_maxscaler_standardshapesparse_tensor_slices_datasetsql_datasetsql_record_specsqlite_datasetstarts_withstep_bucketized_columnstep_categorical_column_with_hash_bucketstep_categorical_column_with_identitystep_categorical_column_with_vocabulary_filestep_categorical_column_with_vocabulary_liststep_crossed_columnstep_embedding_columnstep_indicator_columnstep_numeric_columnstep_remove_columnstep_shared_embeddings_columntensor_slices_datasettensors_datasettext_line_datasettftfrecord_datasettsv_record_specuntil_out_of_rangewith_datasetzip_datasets

Dependencies:backportsbase64enccliconfiggenericsglueherejsonlitelatticelifecyclemagrittrMatrixpngprocessxpsR6rappdirsRcppRcppTOMLreticulaterlangrprojrootrstudioapitensorflowtfautographtfrunstidyselectvctrswhiskerwithryaml

Feature columns

Rendered fromfeature_columns.Rmdusingknitr::rmarkdownon Jun 03 2024.

Last update: 2021-03-31
Started: 2019-07-05

Feature Spec Interface

Rendered fromfeature_spec.Rmdusingknitr::rmarkdownon Jun 03 2024.

Last update: 2020-05-25
Started: 2019-07-05

Introduction

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Jun 03 2024.

Last update: 2021-03-31
Started: 2018-01-09

Readme and manuals

Help Manual

Help pageTopics
Find all nominal variables.all_nominal
Speciy all numeric variables.all_numeric
Convert tf_dataset to an iterator that yields R arrays.as_array_iterator
Get the single element of the dataset.as.array.tensorflow.python.data.ops.dataset_ops.DatasetV2 as_tensor.tensorflow.python.data.ops.dataset_ops.DatasetV2 get_single_element
Creates a dataset that deterministically chooses elements from datasets.choose_from_datasets
Combines consecutive elements of this dataset into batches.dataset_batch
A transformation that buckets elements in a 'Dataset' by lengthdataset_bucket_by_sequence_length
Caches the elements in this dataset.dataset_cache
Collects a datasetdataset_collect
Creates a dataset by concatenating given dataset with this dataset.dataset_concatenate
Transform a dataset with delimted text lines into a dataset with named columnsdataset_decode_delim
Enumerates the elements of this datasetdataset_enumerate
Filter a dataset by a predicatedataset_filter
Maps map_func across this dataset and flattens the result.dataset_flat_map
Group windows of elements by key and reduce themdataset_group_by_window
Maps map_func across this dataset, and interleaves the resultsdataset_interleave
Map a function across a dataset.dataset_map
Fused implementation of dataset_map() and dataset_batch()dataset_map_and_batch
Get or Set Dataset Optionsdataset_options
Combines consecutive elements of this dataset into padded batches.dataset_padded_batch
Creates a Dataset that prefetches elements from this dataset.dataset_prefetch
A transformation that prefetches dataset values to the given 'device'dataset_prefetch_to_device
Prepare a dataset for analysisdataset_prepare
Reduces the input dataset to a single element.dataset_reduce
A transformation that resamples a dataset to a target distribution.dataset_rejection_resample
Repeats a dataset count times.dataset_repeat
A transformation that scans a function across an input datasetdataset_scan
Creates a dataset that includes only 1 / num_shards of this dataset.dataset_shard
Randomly shuffles the elements of this dataset.dataset_shuffle
Shuffles and repeats a dataset returning a new permutation for each epoch.dataset_shuffle_and_repeat
Creates a dataset that skips count elements from this datasetdataset_skip
Persist the output of a datasetdataset_snapshot
Creates a dataset with at most count elements from this datasetdataset_take
A transformation that stops dataset iteration based on a predicate.dataset_take_while
Unbatch a datasetdataset_unbatch
A transformation that discards duplicate elements of a Dataset.dataset_unique
Transform the dataset using the provided spec.dataset_use_spec
Combines input elements into a dataset of windows.dataset_window
Specification for reading a record from a text file with delimited valuescsv_record_spec delim_record_spec tsv_record_spec
Dense Featuresdense_features
Creates a feature specification.feature_spec
A dataset of all files matching a patternfile_list_dataset
Fits a feature specification.fit.FeatureSpec
A dataset of fixed-length records from one or more binary files.fixed_length_record_dataset
Identify the type of the variable.has_type
Heart Disease Data Sethearts
Construct a tfestimators input function from a datasetinput_fn input_fn.tf_dataset
Get next element from iteratoriterator_get_next
An operation that should be run to initialize this iterator.iterator_initializer
Create an operation that can be run to initialize this iteratoriterator_make_initializer
String-valued tensor that represents this iteratoriterator_string_handle
Creates a list of inputs from a datasetlayer_input_from_dataset
Get Dataset lengthlength.tensorflow.python.data.ops.dataset_ops.DatasetV2 length.tf_dataset
Reads CSV files into a batched datasetmake_csv_dataset
Creates an iterator for enumerating the elements of this dataset.make-iterator make_iterator_from_string_handle make_iterator_from_structure make_iterator_initializable make_iterator_one_shot
Tensor(s) for retrieving the next batch from a datasetnext_batch
Output types and shapesoutput_shapes output_types
Creates a 'Dataset' of pseudorandom valuesrandom_integer_dataset
Creates a dataset of a step-separated range of values.range_dataset
Read a dataset from a set of filesread_files
Samples elements at random from the datasets in 'datasets'.sample_from_datasets
List of pre-made scalersscaler
Creates an instance of a min max scalerscaler_min_max
Creates an instance of a standard scalerscaler_standard
Selectorscur_info_env selectors
Splits each rank-N 'tf$SparseTensor' in this dataset row-wise.sparse_tensor_slices_dataset
A dataset consisting of the results from a SQL querysqlite_dataset sql_dataset sql_record_spec
Creates bucketized columnsstep_bucketized_column
Creates a categorical column with hash buckets specificationstep_categorical_column_with_hash_bucket
Create a categorical column with identitystep_categorical_column_with_identity
Creates a categorical column with vocabulary filestep_categorical_column_with_vocabulary_file
Creates a categorical column specificationstep_categorical_column_with_vocabulary_list
Creates crosses of categorical columnsstep_crossed_column
Creates embeddings columnsstep_embedding_column
Creates Indicator Columnsstep_indicator_column
Creates a numeric column specificationstep_numeric_column
Creates a step that can remove columnsstep_remove_column
Creates shared embeddings for categorical columnsstep_shared_embeddings_column
Steps for feature columns specification.steps
Creates a dataset whose elements are slices of the given tensors.tensor_slices_dataset
Creates a dataset with a single element, comprising the given tensors.tensors_dataset
A dataset comprising lines from one or more text files.text_line_dataset
A dataset comprising records from one or more TFRecord files.tfrecord_dataset
Execute code that traverses a dataset until an out of range condition occursout_of_range_handler until_out_of_range
Execute code that traverses a datasetwith_dataset
Creates a dataset by zipping together the given datasets.zip_datasets