官术网_书友最值得收藏!

  • R Deep Learning Cookbook
  • Dr. PKS Prakash Achyutuni Sri Krishna Rao
  • 158字
  • 2021-07-02 20:49:07

How it works...

TensorFlow follows directed graph philosophy to set up computational models where mathematical operations are represented as nodes with each node supporting multiple input and output while the edges represent the communication of data between nodes. There are also edges known as control dependencies in TensorFlow that do not represent the data flow; rather the provide information related to control dependence such as node for the control dependence must finish processing before the destination node of control dependence starts executing.

An example TensorFlow graph for logistic regression scoring is shown in the following diagram:

TensorFlow graph for logistic regression

The preceding figure illustrates the TensorFlow graph to score logistic regression with optimized weights:

The MatMul node performs matrix multiplication between input feature matrix X and optimized weight β. The constant C is then added to the output from the MatMul node. The output from Add is then transformed using the Sigmoid function to output Pr(y=1|X).

主站蜘蛛池模板: 新干县| 拜城县| 察雅县| 攀枝花市| 水富县| 武宁县| 扎赉特旗| 称多县| 襄汾县| 遵义县| 广宗县| 会昌县| 息烽县| 十堰市| 伊吾县| 广丰县| 名山县| 微博| 南陵县| 民县| 洛宁县| 依安县| 余江县| 咸宁市| 利津县| 自贡市| 师宗县| 蓬安县| 阿拉善盟| 谢通门县| 景泰县| 惠水县| 柞水县| 财经| 台湾省| 虎林市| 江川县| 大丰市| 阿勒泰市| 融水| 东方市|