Home
last modified time | relevance | path

Searched refs:feature_column (Results 1 – 25 of 109) sorted by relevance

12345

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column_ops_test.py26 from tensorflow.contrib.layers.python.layers import feature_column
30 from tensorflow.python.feature_column import feature_column_lib as fc_core
49 real_valued = feature_column.real_valued_column("price")
56 sparse_real_valued = feature_column._real_valued_var_len_column(
74 sparse_real_valued = feature_column._real_valued_var_len_column(
90 bucket = feature_column.bucketized_column(
91 feature_column.real_valued_column("price"), boundaries=[0., 10., 100.])
104 bucket = feature_column.bucketized_column(
105 feature_column.real_valued_column("price", 2),
116 bucket = feature_column.bucketized_column(
[all …]
Dfeature_column_ops.py26 from tensorflow.contrib.layers.python.layers import feature_column as fc
830 def transform(self, feature_column): argument
843 logging.debug('Transforming feature_column %s', feature_column)
844 if feature_column in self._columns_to_tensors:
846 return self._columns_to_tensors[feature_column]
848 feature_column.insert_transformed_feature(self._columns_to_tensors)
850 if feature_column not in self._columns_to_tensors:
852 feature_column.name))
854 return self._columns_to_tensors[feature_column]
886 def _get_parent_columns(feature_column): argument
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Ddnn_linear_combined_test.py27 from tensorflow.contrib.layers.python.layers import feature_column
39 from tensorflow.python.feature_column import feature_column_lib as fc_core
114 one_hot_language = feature_column.one_hot_column(
115 feature_column.sparse_column_with_hash_bucket('language', 10))
142 embedding_language = feature_column.embedding_column(
143 feature_column.sparse_column_with_hash_bucket('language', 10),
146 embedding_wire = feature_column.embedding_column(
147 feature_column.sparse_column_with_hash_bucket('wire', 10),
211 feature_column.real_valued_column('feature', dimension=4)]
212 bucketized_feature = [feature_column.bucketized_column(
[all …]
Dsvm_test.py21 from tensorflow.contrib.layers.python.layers import feature_column
40 feature1 = feature_column.real_valued_column('feature1')
41 feature2 = feature_column.real_valued_column('feature2')
66 feature1 = feature_column.real_valued_column('feature1')
67 feature2 = feature_column.real_valued_column('feature2')
98 multi_dim_feature = feature_column.real_valued_column(
121 feature1 = feature_column.real_valued_column('feature1')
122 feature2 = feature_column.real_valued_column('feature2')
149 feature1 = feature_column.real_valued_column('feature1')
150 feature2 = feature_column.real_valued_column('feature2')
[all …]
Ddnn_test.py27 from tensorflow.contrib.layers.python.layers import feature_column
41 from tensorflow.python.feature_column import feature_column_lib as fc_core
58 one_hot_language = feature_column.one_hot_column(
59 feature_column.sparse_column_with_hash_bucket('language', 10))
83 embedding_language = feature_column.embedding_column(
84 feature_column.sparse_column_with_hash_bucket('language', 10),
87 embedding_wire = feature_column.embedding_column(
88 feature_column.sparse_column_with_hash_bucket('wire', 10),
132 embedding_language = feature_column.embedding_column(
133 feature_column.sparse_column_with_hash_bucket('language', 10),
[all …]
Dstate_saving_rnn_estimator_test.py26 from tensorflow.contrib.layers.python.layers import feature_column
76 feature_column.real_valued_column(
78 feature_column.real_valued_column(
108 feature_column.real_valued_column(
110 feature_column.real_valued_column(
139 feature_column.real_valued_column(
141 feature_column.real_valued_column(
176 wire_cast = feature_column.sparse_column_with_keys(
179 feature_column.embedding_column(
222 wire_cast = feature_column.sparse_column_with_keys(
[all …]
Dnonlinear_test.py23 from tensorflow.contrib.layers.python.layers import feature_column
40 feature_columns = [feature_column.real_valued_column("", dimension=4)]
66 feature_columns = [feature_column.real_valued_column("", dimension=13)]
96 feature_columns = [feature_column.real_valued_column("", dimension=4)]
108 feature_columns = [feature_column.real_valued_column("", dimension=4)]
120 feature_columns = [feature_column.real_valued_column("", dimension=4)]
Dcomposable_model_test.py22 from tensorflow.contrib.layers.python.layers import feature_column
131 language = feature_column.sparse_column_with_hash_bucket('language', 100)
132 age = feature_column.real_valued_column('age')
157 language = feature_column.sparse_column_with_hash_bucket('language', 100)
158 age = feature_column.sparse_column_with_hash_bucket('age', 2)
172 cont_features = [feature_column.real_valued_column('feature', dimension=4)]
Ddynamic_rnn_estimator_test.py26 from tensorflow.contrib.layers.python.layers import feature_column
105 INPUTS_COLUMN = feature_column.real_valued_column(
114 location = feature_column.sparse_column_with_keys(
116 location_onehot = feature_column.one_hot_column(location)
119 wire_cast = feature_column.sparse_column_with_keys(
121 wire_cast_embedded = feature_column.embedding_column(wire_cast, dimension=8)
122 measurements = feature_column.real_valued_column(
389 seq_columns = [feature_column.real_valued_column('inputs', dimension=1)]
444 seq_columns = [feature_column.real_valued_column('inputs', dimension=1)]
541 feature_column.real_valued_column(
[all …]
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dfeature_column.py22 from tensorflow.python.tpu.feature_column import *
24 from tensorflow.python.tpu.feature_column import _is_running_on_cpu
25 from tensorflow.python.tpu.feature_column import _record_variable_scope_and_name
26 from tensorflow.python.tpu.feature_column import _TPU_FC_TO_SCOPE
27 from tensorflow.python.tpu.feature_column import _TPUBaseEmbeddingColumn
28 from tensorflow.python.tpu.feature_column import _TPUEmbeddingColumn
29 from tensorflow.python.tpu.feature_column import _TPUSharedEmbeddingColumn
/external/tensorflow/tensorflow/contrib/feature_column/
DBUILD23 srcs = ["python/feature_column/sequence_feature_column.py"],
35 "//tensorflow/python/feature_column:feature_column_py",
36 "//tensorflow/python/feature_column:utils",
42 srcs = ["python/feature_column/sequence_feature_column_test.py"],
55 "//tensorflow/python/feature_column:feature_column_py",
62 srcs = ["python/feature_column/sequence_feature_column_integration_test.py"],
70 "//tensorflow/python/feature_column:feature_column_py",
D__init__.py22 from tensorflow.contrib.feature_column.python.feature_column.sequence_feature_column import *
/external/tensorflow/tensorflow/examples/get_started/regression/
Ddnn_regression.py61 body_style = tf.feature_column.categorical_column_with_vocabulary_list(
63 make = tf.feature_column.categorical_column_with_hash_bucket(
67 tf.feature_column.numeric_column(key="curb-weight"),
68 tf.feature_column.numeric_column(key="highway-mpg"),
73 tf.feature_column.indicator_column(body_style),
76 tf.feature_column.embedding_column(make, dimension=3),
Dcustom_regression.py33 top = tf.feature_column.input_layer(features, params["feature_columns"])
116 body_style = tf.feature_column.categorical_column_with_vocabulary_list(
118 make = tf.feature_column.categorical_column_with_hash_bucket(
122 tf.feature_column.numeric_column(key="curb-weight"),
123 tf.feature_column.numeric_column(key="highway-mpg"),
128 tf.feature_column.indicator_column(body_style),
131 tf.feature_column.embedding_column(make, dimension=3),
Dlinear_regression_categorical.py64 body_style_column = tf.feature_column.categorical_column_with_vocabulary_list(
72 make_column = tf.feature_column.categorical_column_with_hash_bucket(
77 tf.feature_column.numeric_column(key="curb-weight"),
78 tf.feature_column.numeric_column(key="highway-mpg"),
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_lib.py22 from tensorflow.python.feature_column.feature_column import *
23 from tensorflow.python.feature_column.feature_column_v2 import *
24 from tensorflow.python.feature_column.sequence_feature_column import *
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Dcustom_export_strategy.py156 feature_id = split.feature_column
165 feature_id = split.feature_column + num_dense
182 feature_id = split.feature_column + num_dense
196 feature_id = split.feature_column + num_dense + num_sparse_float
226 split_column = feature_names[split.feature_column]
230 feature_names[split.feature_column + num_dense_floats],
235 feature_names[split.feature_column + num_dense_floats],
239 split_column = feature_names[split.feature_column + num_dense_floats +
243 split_column = feature_names[split.feature_column]
246 split_column = feature_names[split.feature_column + num_dense_floats +
[all …]
Ddnn_tree_combined_estimator_test.py25 from tensorflow.contrib.layers.python.layers import feature_column
32 from tensorflow.python.feature_column import feature_column_lib as core_feature_column
97 dnn_feature_columns=[feature_column.real_valued_column("x")],
106 tree_feature_columns=[feature_column.real_valued_column("x")])
120 dnn_feature_columns=[feature_column.real_valued_column("x")],
129 tree_feature_columns=[feature_column.real_valued_column("x")],
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/trees/
Ddecision_tree.cc43 node_id = example.dense_float_features[split.feature_column()] <= in Traverse()
53 example.sparse_float_features[split.feature_column()]; in Traverse()
69 example.sparse_float_features[split.feature_column()]; in Traverse()
83 example.sparse_int_features[split.feature_column()]; in Traverse()
96 example.sparse_int_features[split.feature_column()]) { in Traverse()
108 if (example.dense_float_features[split.feature_column()] > in Traverse()
120 example.sparse_int_features[split.feature_column()]; in Traverse()
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
Dkernel_estimators.py82 for feature_column in kernel_mappers_dict:
83 column_name = feature_column.name
85 …if not isinstance(feature_column, layers.feature_column._RealValuedColumn): # pylint: disable=pro…
92 column_kernel_mappers = kernel_mappers_dict[feature_column]
95 layers.feature_column.real_valued_column(mapped_column_name, new_dim))
/external/tensorflow/tensorflow/python/tpu/
DBUILD71 ":feature_column",
115 ":feature_column",
319 name = "feature_column",
320 srcs = ["feature_column.py"],
326 "//tensorflow/python/feature_column",
327 "//tensorflow/python/feature_column:feature_column_py",
337 ":feature_column",
347 "//tensorflow/python/feature_column",
348 "//tensorflow/python/feature_column:feature_column_py",
/external/tensorflow/tensorflow/contrib/distribute/python/
Destimator_integration_test.py36 from tensorflow.python.feature_column import feature_column_lib as feature_column unknown
90 feature_column.numeric_column('x', shape=(input_dimension,))
93 feature_column.numeric_column('x', shape=(input_dimension,))
127 feature_spec = feature_column.make_parse_example_spec(feature_columns)
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
Dsdca_optimizer.py154 …if isinstance(column, layers.feature_column._RealValuedColumn): # pylint: disable=protected-access
172 …elif isinstance(column, layers.feature_column._BucketizedColumn): # pylint: disable=protected-acc…
194 layers.feature_column._WeightedSparseColumn, # pylint: disable=protected-access
195 layers.feature_column._CrossedColumn, # pylint: disable=protected-access
196 layers.feature_column._SparseColumn)): # pylint: disable=protected-access
198 …if isinstance(column, layers.feature_column._WeightedSparseColumn): # pylint: disable=protected-a…
/external/tensorflow/tensorflow/contrib/tpu/
DBUILD58 ":feature_column",
96 ":feature_column",
199 name = "feature_column",
200 srcs = ["python/tpu/feature_column.py"],
203 "//tensorflow/python/tpu:feature_column",
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
Dsplit_handler_ops_test.py93 self.assertEqual(0, split_node.feature_column)
109 self.assertEqual(0, split_node.feature_column)
151 self.assertEqual(0, split_node.feature_column)
246 self.assertEqual(0, split_node.split.feature_column)
269 self.assertEqual(0, split_node.split.feature_column)
379 self.assertEqual(0, split_node.split.feature_column)
402 self.assertEqual(0, split_node.split.feature_column)
512 self.assertEqual(0, split_node.split.feature_column)
571 self.assertEqual(0, split_node.feature_column)
606 self.assertEqual(0, split_node.feature_column)
[all …]

12345