Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Translate to Chinese: Chap 1 #544

Conversation

daming-lu
Copy link
Contributor

No description provided.

Copy link
Contributor

@jetfuel jetfuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

```

### 创建Trainer
### 配置训练程序
训练程序的目的是定义一个训练模型的网络结构.对于线性回归来讲,它就是一个从输入到输出的简单的全连接层。更加复杂的结果,比如卷积神经网络,递归神经网络等会在随后的章节中介绍。训练程序必须返回`平均损失`作为第一个返回值,因为它会被后面反向传播算法所用到。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

网络结构.对于线性
Incorrect period.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed this. I will fix it in the next PR on Chap 4

trainer = fluid.Trainer(
train_func=train_program,
place=place,
optimizer=fluid.optimizer.SGD(learning_rate=0.001))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to use the optimizer_func later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

```

![png](./image/train_and_test.png)

### 应用模型
## 推测
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should use '预测', although I honestly don't know if that's the go to translation.

@daming-lu daming-lu merged commit 0fb0445 into PaddlePaddle:high-level-api-branch Jun 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants