Practical Artificial Intelligence with Swift
by Mars Geldard, Jonathon Manning, Paris Buttfield-Addison, Tim Nugent
Chapter 1. Artificial Intelligence!?
Much of the literature on artificial intelligence (AI), machine learning, and deep learning is full of horrifyingly complicated-looking mathematics and dense academic jargon. It’s a bit scary to dive into if you’re a relatively solid software engineering type who wants to get their feet wet in the world of AI and implement some AI-driven features in their apps.
Don’t worry. AI is easy now (well, easier), and we’re here to show you how to implement it in your Swift apps.
This book introduce concepts and processes to implement AI in various practical ways with Swift.
Note
Before we get into all that, some groundwork is required: primarily, this book is about AI and Swift (hopefully you saw the large friendly letters on the front cover). Swift is an amazing programming language, and is all you need to build iOS, macOS, tvOS, watchOS, or even web apps.
There is a plot twist, though the world of AI has been in a symbiotic relationship with another language for a very long time—Python. So, although this book focuses on Swift, it is not the only programming language that we use in it. We wanted to get that out of the way up front: we do use Python, sometimes.
It’s impossible to avoid Python when doing machine learning and artificial intelligence. The meat of the book is in Swift, though, and we explain why whenever we’re using Python. We’re going to remind you about this a few times.
Something that we need to establish right up front (as we said ...
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