Function Reference
Creating Datasets |
|
---|---|
A dataset comprising lines from one or more text files. |
|
A dataset comprising records from one or more TFRecord files. |
|
A dataset consisting of the results from a SQL query |
|
Creates a dataset with a single element, comprising the given tensors. |
|
Creates a dataset whose elements are slices of the given tensors. |
|
Splits each rank-N |
|
A dataset of fixed-length records from one or more binary files. |
|
A dataset of all files matching a pattern |
|
Creates a dataset of a step-separated range of values. |
|
Read a dataset from a set of files |
|
Specification for reading a record from a text file with delimited values |
|
Reads CSV files into a batched dataset |
|
Transforming Datasets |
|
Map a function across a dataset. |
|
Fused implementation of dataset_map() and dataset_batch() |
|
Prepare a dataset for analysis |
|
Creates a dataset that skips count elements from this dataset |
|
Filter a dataset by a predicate |
|
Creates a dataset that includes only 1 / num_shards of this dataset. |
|
Randomly shuffles the elements of this dataset. |
|
Shuffles and repeats a dataset returning a new permutation for each epoch. |
|
Creates a Dataset that prefetches elements from this dataset. |
|
Combines consecutive elements of this dataset into batches. |
|
Repeats a dataset count times. |
|
Caches the elements in this dataset. |
|
Creates a dataset with at most count elements from this dataset |
|
Maps map_func across this dataset and flattens the result. |
|
Combines consecutive elements of this dataset into padded batches |
|
Transform a dataset with delimted text lines into a dataset with named columns |
|
Creates a dataset by concatenating given dataset with this dataset. |
|
Maps map_func across this dataset, and interleaves the results |
|
A transformation that prefetches dataset values to the given |
|
Combines input elements into a dataset of windows. |
|
Collects a dataset |
|
Creates a dataset by zipping together the given datasets. |
|
Samples elements at random from the datasets in |
|
Execute code that traverses a dataset |
|
Dataset Properites |
|
Output types and shapes |
|
Dataset Iterators |
|
Construct a tfestimators input function from a dataset |
|
|
Creates an iterator for enumerating the elements of this dataset. |
Get next element from iterator |
|
An operation that should be run to initialize this iterator. |
|
String-valued tensor that represents this iterator |
|
Create an operation that can be run to initialize this iterator |
|
Execute code that traverses a dataset until an out of range condition occurs |
|
Tensor(s) for retreiving the next batch from a dataset |
|
Feature Spec API |
|
Creates a feature specification. |
|
Dense Features |
|
Transform the dataset using the provided spec. |
|
Fits a feature specification. |
|
List of pre-made scalers |
|
Creates an instance of a min max scaler |
|
Creates an instance of a standard scaler |
|
Creates bucketized columns |
|
Creates a categorical column with hash buckets specification |
|
Create a categorical column with identity |
|
Creates a categorical column with vocabulary file |
|
Creates a categorical column specification |
|
Creates crosses of categorical columns |
|
Creates embeddings columns |
|
Creates Indicator Columns |
|
Creates a numeric column specification |
|
Creates a step that can remove columns |
|
Creates shared embeddings for categorical columns |
|
Steps for feature columns specification. |
|
Find all nominal variables. |
|
Speciy all numeric variables. |
|
Identify the type of the variable. |
|
Selectors |
|
Creates a list of inputs from a dataset |
|
Data |
|
Heart Disease Data Set |