estimator模塊

2018-09-27 17:30 更新

模塊:tf.estimator

定義在:tensorflow/python/estimator/estimator_lib.py

估算器(Estimator): 用于處理模型的高級(jí)工具.

主要模塊

export 模塊:用于導(dǎo)出估算器的實(shí)用方法.

inputs 模塊:用于創(chuàng)建簡(jiǎn)單的 input_fns 的實(shí)用方法.

class DNNClassifier:TensorFlow DNN 模型的分類器.

class DNNLinearCombinedClassifier:TensorFlow Linear 和 DNN 連接的分類模型的估計(jì)器.

class DNNLinearCombinedRegressor:TensorFlow Linear 和 DNN 連接的回歸模型的估計(jì)器.

class DNNRegressor:TensorFlow DNN 模型的回歸器.

class Estimator:用于訓(xùn)練和評(píng)估 TensorFlow 模型的估計(jì)器類.

class EstimatorSpec:從 model_fn 返回的操作和對(duì)象,并傳遞給 Estimator.

class LinearClassifier:線性分類器模型.

class LinearRegressor:TensorFlow 線性回歸問(wèn)題的估計(jì)器.

class ModeKeys:模型模式的標(biāo)準(zhǔn)名稱.

class RunConfig:此類指定 Estimator 運(yùn)行的配置.

函數(shù)

classifier_parse_example_spec(...):為 tf.parse_example 生成用于分類器的解析規(guī)范.

regressor_parse_example_spec(...):為 tf.parse_example 生成用于回歸的解析規(guī)范.


以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)