Skip to Content
机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)
book

机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)

by Aurélien Géron
October 2020
Intermediate to advanced
693 pages
16h 26m
Chinese
China Machine Press
Content preview from 机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)
强化学习
|
565
观察值都是 84
×
84
×
4。类似地,step_type 张量的形状为 [2,3] :在此示例中,两
个轨迹在一个回合的中间都包含三个连续步骤(类型 1、1、1 )。在第二个轨迹中,你几
乎看不到第一个观测值的左下角的球,并且在接下来的两个观测值中球消失了,因此智
能体即将要失去生命,但是该回合不会立即结束,因为还有几条生命。
图 18-15:两个包含三个连续步骤的轨迹
每个轨迹都是连续时间步骤和动作步骤序列的简明表示,旨在避免冗余。为何如此?如
图 18-16 所示,转换
n
由时间步骤
n
、
动作步骤
n
和时间步骤
n
+ 1 组成,而转换
n
+1
由时间步骤
n
+ 1、动作步骤
n
+ 1 和时间步长
n
+ 2 组成。如果我们将这两个转换直接
存储在重播缓冲区中,则时间步骤
n
+ 1 会有重复。为了避免这种重复,第
n
个轨迹步
骤仅包含时间步骤
n
的类型和观察结果(不包括其奖励和折扣),不包含时间步骤
n
+ 1
的观察结果(但是,它确实包含了下一步骤的类型的副本,这是唯一的重复)。
注意
:
轨迹步骤
n
也包括
图 18-16:轨迹、转换、时间步骤和动作步骤
566
|
第
18
章
因此,如果你有一批轨迹,其中每条轨迹有
t
+ 1 步(从时间步骤
n
到时间步骤
n
+
t
),
那么它包含从时间步骤
n
到时间步骤
n
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

算法技术手册(原书第2 版)

算法技术手册(原书第2 版)

George T.Heineman, Gary Pollice, Stanley Selkow
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey

Publisher Resources

ISBN: 9787111665977