tf.compat.v1.estimator.experimental.linear_logit_fn_builder
Функция-строитель для линейной logit_fn.
tf.compat.v1.estimator.experimental.linear_logit_fn_builder(
units, feature_columns, sparse_combiner='sum'
)
| Аргументы | |
|---|---|
units | Целое число, указывающее размерность слоя logit. |
feature_columns | Итерируемый объект, содержащий все столбцы признаков, используемые моделью. |
sparse_combiner | Строка, определяющая способ сокращения, если категориальный столбец многозначный. Одно из значений "mean", "sqrtn" и "sum". |
| Возвращаемое значение | |
|---|---|
| logit_fn (см. ниже). |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/compat/v1/estimator/experimental/linear_logit_fn_builder