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
213
12
使用 Firebase 产品化应用程序
到目前为止,在本书中,你已经探索了使用机器学习来创建模型,并且你研究了如何使
用各种技术将它们集成到 Android iOS 应用程序中。你可以使用 TensorFlow Lite
行底层操作,直接使用模型,并处理与模型之间的数据转换过程。或者对于许多常见场
景,你可以利用 ML Kit 使用具有异步编程方法的高级 API 来更轻松地构建响应式应用
程序。但是在所有这些情况下,你只是构建了一个非常简单的应用程序,它在单个活动
或视图中进行推理。
在将应用程序产品化时,你当然必须走得更远,而 Firebase 是一种跨平台解决方案,旨
在帮助你构建、发展应用并从应用中获利。
虽然对 Firebase 的全面讨论超出了本书的范围,但 Firebase 中有一个重要功能可在免费
(又 Spark)层中使用,你可以真正利用它:自定义模型托管。
12.1
为什么要使用
Firebase
自定义模型托管
正如你在本书中所看到的,创建一个 ML 模型来为你的用户解决问题并不困难。它相对
简单,这要归功于 TensorFlow TensorFlow Lite Model Maker 等工具,它们可以根据
你的数据快速训练模型。很难做的是创建正确的模型,基于明显的假设,要能够做到这
一点,你需要不断地与用户一起测试和更新你的模型,验证它的性能,而不仅是从速度
或准确性的角度思考,要考虑它如何影响人们对你的应用程序的使用。正确的模型会带
来更好的表现吗?错误的模型是否意味着用户会退出你的应用 ...
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