chainer_chemistry.dataset.indexers.NumpyTupleDatasetFeatureIndexer¶
-
class
chainer_chemistry.dataset.indexers.
NumpyTupleDatasetFeatureIndexer
(dataset)[source]¶ FeatureIndexer for NumpyTupleDataset
Parameters: dataset (NumpyTupleDataset) – dataset instance Methods
__init__
(dataset)Initialize self. check_type_feature_index
(j)create_feature_index_list
(feature_index)extract_feature
(i, j)Extracts i-th data’s j-th feature extract_feature_by_slice
(slice_index, j)Extracts slice_index-th data’s j-th feature. features_length
()Returns length of features postprocess
(item)preprocess
(item)Attributes
dataset_length
shape