Home
last modified time | relevance | path

Searched refs:feature_columns (Results 1 – 25 of 100) sorted by relevance

1234

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column_ops.py95 feature_columns,
104 check_feature_columns(feature_columns)
116 for column in sorted(set(feature_columns), key=lambda x: x.key):
156 feature_columns,
215 feature_columns,
226 feature_columns,
257 _check_supported_sequence_columns(feature_columns)
258 _check_forbidden_sequence_columns(feature_columns)
262 feature_columns,
361 feature_columns,
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dnonlinear_test.py40 feature_columns = [feature_column.real_valued_column("", dimension=4)]
42 feature_columns=feature_columns,
66 feature_columns = [feature_column.real_valued_column("", dimension=13)]
68 feature_columns=feature_columns,
96 feature_columns = [feature_column.real_valued_column("", dimension=4)]
98 feature_columns=feature_columns,
108 feature_columns = [feature_column.real_valued_column("", dimension=4)]
110 feature_columns=feature_columns,
120 feature_columns = [feature_column.real_valued_column("", dimension=4)]
122 feature_columns=feature_columns,
Ddnn_test.py171 feature_columns=[
208 feature_columns=[feature_column.real_valued_column('x')],
223 feature_columns=[
245 feature_columns=[embedding_language],
267 feature_columns = [
277 feature_columns=feature_columns,
299 feature_columns=cont_features,
323 feature_columns=cont_features,
336 feature_columns = [feature_column.real_valued_column('', dimension=4)]
338 feature_columns=feature_columns,
[all …]
Dlinear_test.py71 n_classes=3, feature_columns=cont_features),
96 classifier = linear.LinearClassifier(feature_columns=[age, language])
122 _joint_weight=True, feature_columns=[age, language])
136 n_classes=3, feature_columns=[feature_column])
158 n_classes=3, feature_columns=[feature_column])
171 n_classes=3, feature_columns=[feature_column])
201 feature_columns=[language_column],
234 classifier = linear.LinearClassifier(feature_columns=[feature_column])
259 feature_columns = [language_column, fc_core.numeric_column('age')]
261 classifier = linear.LinearClassifier(feature_columns=feature_columns)
[all …]
Dlinear.py77 def _add_bias_column(feature_columns, columns_to_tensors, bias_variable, argument
82 if any(col.name is bias_column_name for col in feature_columns):
84 if not feature_columns:
140 feature_columns = params["feature_columns"]
141 optimizer = params.get("optimizer") or _get_default_optimizer(feature_columns)
159 for fc in feature_columns):
166 feature_columns=feature_columns,
173 feature_columns=feature_columns,
225 feature_columns = params["feature_columns"]
251 features.update(layers.transform_features(features, feature_columns))
[all …]
Dcomposable_model_test.py47 feature_columns = params['feature_columns']
51 logits = model.build_model(features, feature_columns, is_training=True)
53 logits = model.build_model(features, feature_columns, is_training=False)
74 def _linear_estimator(head, feature_columns): argument
82 feature_columns,
88 def _joint_linear_estimator(head, feature_columns): argument
96 feature_columns,
102 def _dnn_estimator(head, feature_columns, hidden_units): argument
111 feature_columns,
135 classifier = _linear_estimator(head, feature_columns=[age, language])
[all …]
Dsvm_test.py42 svm_classifier = svm.SVM(feature_columns=[feature1, feature2],
68 svm_classifier = svm.SVM(feature_columns=[feature1, feature2],
100 svm_classifier = svm.SVM(feature_columns=[multi_dim_feature],
123 svm_classifier = svm.SVM(feature_columns=[feature1, feature2],
151 svm_classifier = svm.SVM(feature_columns=[feature1, feature2],
186 svm_classifier = svm.SVM(feature_columns=[price, country],
210 svm_classifier = svm.SVM(feature_columns=[price_bucket, sq_footage_bucket],
247 feature_columns=[price, sq_footage_bucket, country, sq_footage_country],
Ddnn.py126 feature_columns = params["feature_columns"]
155 for fc in feature_columns
159 feature_columns=feature_columns,
165 feature_columns=feature_columns,
303 feature_columns, argument
367 self._feature_columns = tuple(feature_columns or [])
592 feature_columns, argument
650 self._feature_columns = tuple(feature_columns or [])
873 feature_columns, argument
927 "feature_columns": feature_columns,
Dcomposable_model.py90 def build_model(self, features, feature_columns, is_training): argument
228 def build_model(self, features, feature_columns, is_training): argument
230 self._feature_columns = feature_columns
239 feature_columns=self._get_feature_columns(),
247 feature_columns=self._get_feature_columns(),
355 def build_model(self, features, feature_columns, is_training): argument
357 self._feature_columns = feature_columns
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
Dkernel_estimators.py58 def _update_features_and_columns(features, feature_columns, argument
77 return features, feature_columns
109 feature_columns = set(feature_columns)
110 feature_columns.update(mapped_columns)
112 return features, feature_columns
141 feature_columns = params[_FEATURE_COLUMNS]
145 features, feature_columns, kernel_mappers)
156 feature_columns=None, argument
164 if not feature_columns and not kernel_mappers:
177 _FEATURE_COLUMNS: feature_columns or [],
[all …]
Dkernel_estimators_test.py69 feature_columns=[feature], kernel_mappers=kernel_mappers)
77 feature_columns=[feature], n_classes=1)
86 feature_columns=[feature1, feature2])
117 feature_columns=[multi_dim_feature])
139 feature_columns=[], kernel_mappers=kernel_mappers)
155 feature_columns=[multi_dim_feature])
169 feature_columns=[], kernel_mappers=kernel_mappers)
210 feature_columns=[price, country])
221 feature_columns=[price, country], kernel_mappers=kernel_mappers)
241 feature_columns=[feature_column], n_classes=3)
[all …]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
Dsdca_estimator.py44 def _add_bias_column(feature_columns, columns_to_tensors, bias_variable, argument
49 if any(col.name is bias_column_name for col in feature_columns):
51 if not feature_columns:
112 feature_columns = params["feature_columns"]
149 features.update(layers.transform_features(features, feature_columns))
153 feature_columns=feature_columns,
157 _add_bias_column(feature_columns, features, bias, columns_to_variables)
211 feature_columns, argument
257 self._feature_columns = tuple(feature_columns or [])
269 "feature_columns": feature_columns,
[all …]
Dsdca_estimator_test.py58 feature_columns=[maintenance_cost, sq_footage],
81 example_id_column='example_id', feature_columns=[dense_feature])
106 feature_columns=[price_bucket, sq_footage_bucket],
137 feature_columns=[price, country],
169 feature_columns=[country_weighted_by_price])
201 example_id_column='example_id', feature_columns=[age, gender])
233 example_id_column='example_id', feature_columns=[country_language])
269 feature_columns=[
308 feature_columns=[
345 feature_columns=[x_column],
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Destimator.py48 feature_columns=None, argument
131 'feature_columns': feature_columns,
156 feature_columns=None, argument
224 'feature_columns': feature_columns,
252 feature_columns=None, argument
306 'feature_columns': feature_columns,
332 feature_columns=None, argument
398 'feature_columns': feature_columns,
428 feature_columns=None, argument
501 'feature_columns': feature_columns,
[all …]
Dcustom_export_strategy_test.py136 feature_columns = [
142 return dtec, feature_columns
145 dtec, feature_columns = self._make_trees()
150 dtec, feature_columns, 1, 2, 1)
350 dtec, feature_columns = self._make_trees()
352 dtec, feature_columns, 1, 2, 1)
Destimator_test.py157 feature_columns=[contrib_feature_column.real_valued_column("x")])
176 feature_columns=[contrib_feature_column.real_valued_column("x")],
203 feature_columns=[core_feature_column.numeric_column("x")],
223 feature_columns=[core_feature_column.numeric_column("x")],
243 feature_columns=[core_feature_column.numeric_column("x")],
268 feature_columns=[
291 feature_columns=[contrib_feature_column.real_valued_column("x")],
311 feature_columns=[contrib_feature_column.real_valued_column("x")],
335 feature_columns=[contrib_feature_column.real_valued_column("x")])
362 feature_columns=[contrib_feature_column.real_valued_column("x")])
[all …]
Dmodel.py78 feature_columns = params["feature_columns"]
123 feature_columns=feature_columns,
241 feature_columns = params["feature_columns"]
308 feature_columns=feature_columns,
330 feature_columns=feature_columns,
/external/tensorflow/tensorflow/python/tpu/
D_tpu_estimator_embedding.py105 def get_tpu_embedding_config_from_feature_columns(feature_columns): argument
121 for column in feature_columns:
129 for column in feature_columns:
155 feature_columns, argument
178 if not feature_columns:
187 for column in feature_columns:
200 feature_columns=feature_columns,
224 embedding_config_spec.feature_columns))
/external/tensorflow/tensorflow/contrib/boosted_trees/examples/
Dboston.py70 feature_columns=feature_cols,
102 feature_columns = [
106 feature_columns)
114 feature_columns=feature_columns,
117 estimator=_get_tfbt(output_dir, feature_columns),
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dexport_test.py92 regressor = learn.LinearRegressor(feature_columns=cont_features)
110 regressor = learn.LinearRegressor(feature_columns=cont_features)
131 regressor = learn.LinearRegressor(feature_columns=[_X_COLUMN])
149 regressor = learn.LinearRegressor(feature_columns=[_X_COLUMN])
173 regressor = learn.LinearRegressor(feature_columns=[_X_COLUMN])
194 regressor = learn.LinearRegressor(feature_columns=[_X_COLUMN])
218 regressor = learn.LinearRegressor(feature_columns=[_X_COLUMN])
234 regressor = learn.LinearRegressor(feature_columns=cont_features)
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dkmeans.py109 def _parse_features_if_necessary(features, feature_columns): argument
129 if feature_columns:
130 return fc.input_layer(features, feature_columns)
143 feature_columns): argument
152 self._feature_columns = feature_columns
330 feature_columns=None): argument
421 feature_columns).model_fn,
/external/tensorflow/tensorflow/contrib/tensor_forest/client/
Drandom_forest.py154 feature_columns=None, argument
177 if feature_columns:
181 features.update(layers.transform_features(features, feature_columns))
183 for fc in feature_columns:
368 feature_columns=None, argument
458 feature_columns=feature_columns,
558 feature_columns=None, argument
639 feature_columns=None, argument
731 feature_columns=feature_columns,
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column.py172 feature_columns, argument
181 feature_columns = _normalize_feature_columns(feature_columns)
182 for column in feature_columns:
198 for column in sorted(feature_columns, key=lambda x: x.name):
235 feature_columns, argument
298 feature_columns,
313 feature_columns, argument
321 self._feature_columns = feature_columns
333 feature_columns=self._feature_columns,
370 feature_columns, argument
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgrid_search_test.py45 feature_columns = learn.infer_real_valued_columns_from_input(iris.data)
47 feature_columns=feature_columns,
/external/tensorflow/tensorflow/examples/get_started/regression/
Dlinear_regression_categorical.py75 feature_columns = [
86 model = tf.estimator.LinearRegressor(feature_columns=feature_columns)

1234