Skip to Content
移动端AI与ML应用开发:基于iOS和Android
book

移动端AI与ML应用开发:基于iOS和Android

by Laurence Moroney
January 2023
Intermediate to advanced
288 pages
6h 6m
Chinese
China Machine Press
Content preview from 移动端AI与ML应用开发:基于iOS和Android
人工智能和机器学习简介
|
9
子,并找出它们之间的区别,然后学习如何区分它们,他以前从未接触过这两者,因此
通过被告知哪些是 T 恤哪些是鞋子,他就能获得有关新知识。从这些信息中,他能够通
过学习新的东西来继续前进。
当以相同的方式对计算机进行编程时,我们使用术语“机器学习”。与人工智能类似,
该术语会造成一种错误印象,即计算机是一个智能实体,通过学习、评估、理论化、测
试和记忆来学习人类的学习方式。从表面上看,它确实如此,但它的工作方式远比人脑
的工作方式简单得多。
也就是说,机器学习可以简单地描述为让代码函数通过反复试验计算出它们自己的参
数,而不是由人类程序员提供这些参数。同时,可通过智能优化过程来减少整体误差并
提高模型的准确性和性能。
下面让我们来探索一下具体的实践样例。
1.2.1
从传统编程转向机器学习
为了详细了解机器学习编码与传统编码之间的核心区别,让我们来看一个例子。
考虑描述一条线的函数:
这描述了对于一条线,线上的每个点
y
都可以通过将
x
乘以值
W
(用于权重)并添加值
B
(用于偏置)来导出。
(注 AI 文献往往是非常重视数学的。如果你刚刚开始,那么这是不必要的。这是我
在本书中使用的极少数数学示例之一!
现在,假设这条线上有两个点,并且它们位于
x
= 2
y
= 3 处和
x
= 3
y
= 5 处。我们如
何编写计算
W
B
值的代码来描述连接这两个点的线?
让我们从
W
开始,其中
W
称为权重,但在几何学中,它也被称为斜率(或梯度)。具体
情况如图 1-2 所示。
计算很简单: ...
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

人工智能驱动的商业智能

人工智能驱动的商业智能

Tobias Zwingmann
Lua游戏AI开发指南

Lua游戏AI开发指南

Posts & Telecom Press, David Young
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9787111713081