Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Before Machine Learning Volume 1 - Linear Algebra for A.I
Before Machine Learning Volume 1 - Linear Algebra for A.I

Before Machine Learning Volume 1 - Linear Algebra for A.I: The Fundamental Mathematics for Data Science and Artificial Intelligence

By Jorge Brasil
Can$12.99
Book May 2024 151 pages 1st Edition
eBook
Can$12.99
Subscription
Free Trial
eBook
Can$12.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now
Table of content icon View table of contents Preview book icon Preview Book

Before Machine Learning Volume 1 - Linear Algebra for A.I

Chapter 1
We Start Here

This book is a story about linear algebra, the main character of which is the star of this discipline, the vector. We will start by defining this concept, that prides itself on its simplicity. But don’t mistake simplicity for lack of power; from an uncomplicated vector we will arrive at complex methods like the single value decomposition and the principal component analysis.

My journey began when I was only four years old, and my father gave me my first book on equations. Since then, I have never looked back. Mathematics flowed in my mind, and calculations came out as naturally as a delicate butterfly landing on a ravishing red petal of this miracle of nature that we so often call a flower… don’t be scared already! We are just at the second paragraph, and this is not true. I am just a regular guy who was most likely kicking a ball around when he was four. But, being a typical fellow, my struggle with mathematics was real during a specific time in my life, my first couple of years at university. This was because of a combination of a bad attitude and a need for content to be structured more like a story than a manual. I was scared of equations and blamed everything I could, except myself, for my lack of success in understanding mathematics. When I look back now, I can see that it is impossible to understand anything with that attitude.

Symbols and Greek letters are the alphabets of mathematics, whereas equations are the words that represent abstract concepts. One needs to try to understand how to read this syntax, as it will bring significant benefits in the future. Unfortunately, mathematics has no sound, so I don’t think you can expect good results by using a hands-on approach where you learn by ignoring the syntax, as you might do with a musical instrument. Still, as a mathematician, I can’t say that this way is not possible. After all, the realm of uncertainty is where we do our best work. Once I overcame this first hurdle and I started to be able to read equations, another issue arose. I knew concepts in isolation, but relating them to one another seemed impossible. Different books have distinct structures and expose the same ideas in varying sequences, which became another obstacle for me. Now I say that I was lucky, but at the time, I considered myself the unluckiest person in the world. I could not have been more wrong.

The itinerary whereby I began putting concepts together and understanding mathematics started on the day I missed the meeting where we, the students, were due to meet the professors who would be supervising our university theses. I can’t provide a good reason for missing this meeting that won’t make you think I am an idiot, but hey, sometimes things have a funny way of resolving themselves.

When I finally returned to the mathematics department, my colleagues came to me with a concerned look, enquired where I had been, and told me that I was in trouble as I had landed the worst supervisor ever. This lady was famous for being extremely demanding and challenging to get along with. On that same day, the path of my life changed completely. Indeed, she was demanding, and she presented me with a project I knew very little about, but had to master. She made me study, and did not give anything back to me unless she saw that I had made an effort. I had to go back to basics, but this time I decided to start with the most elementary concept of each subject, then I studied it in such a way that everything moving forward would have to be the result of knowledge I had previously acquired. This way, I could put everything into context.

I am still a data scientist. Well, in reality, I am a mathematician. I don’t like that job title, but I also need to pay the bills. It helps me. The point is that my Master’s thesis was the hardest thing I have ever done, and the conclusion is that if you make a significant effort to learn the basics, what comes afterwards will be a smoother ride. There is a lot of talk these days about the wealth gap, but I feel that another gap is emerging, one in knowledge. We like to press buttons and obsess about whatever is the next exciting thing. Modern entertainment and social media have given us all attention deficit disorder. When this is associated with a right-now mentality, it significantly contributes to this problem.

If I go back to my first experience with a mathematics book, I can understand why this might happen. With so much information out there, the minimal hurdle presented to somebody trying to learn something new is enough to make them try something else. There are a lot of us pressing buttons. Still, only a few of us are building them. If you want to succeed as a data scientist, it would be better to take a button-builder path. What this means is that you will have to learn mathematics.

I wrote this book aiming to help the reader to start and never have to look or go anywhere else for further information. There will be no need for notebooks, pens, laptops, or pencils: just the safe blueprint, a mask, and the machine gun. Oh sorry, those last items might have come from the “bank project” list… actually, you won’t need much more than the Pythagorean theorem: my mistake.

Left arrow icon Right arrow icon

Key benefits

  • Comprehensive introduction to linear algebra for machine learning
  • Detailed exploration of vectors and matrices
  • In-depth study of principal component analysis (PCA)

Description

In this book, you'll embark on a comprehensive journey through the fundamentals of linear algebra, a critical component for any aspiring machine learning expert. Starting with an introductory overview, the course explains why linear algebra is indispensable for machine learning, setting the stage for deeper exploration. You'll then dive into the concepts of vectors and matrices, understanding their definitions, properties, and practical applications in the field. As you progress, the course takes a closer look at matrix decomposition, breaking down complex matrices into simpler, more manageable forms. This section emphasizes the importance of decomposition techniques in simplifying computations and enhancing data analysis. The final chapter focuses on principal component analysis, a powerful technique for dimensionality reduction that is widely used in machine learning and data science. By the end of the course, you will have a solid grasp of how PCA can be applied to streamline data and improve model performance. This course is designed to provide technical professionals with a thorough understanding of linear algebra's role in machine learning. By the end, you'll be well-equipped with the knowledge and skills needed to apply linear algebra in practical machine learning scenarios.

What you will learn

Understand the fundamental concepts of vectors and matrices Implement principal component analysis in data reduction Analyze the role of linear algebra in machine learning Enhance problem-solving skills through practical applications Gain the ability to interpret and manipulate high-dimensional data Build confidence in using linear algebra for data science projects

Product Details

Country selected

Publication date : May 24, 2024
Length 151 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781836208952
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : May 24, 2024
Length 151 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781836208952
Category :
Languages :
Tools :

Table of Contents

6 Chapters
1. Chapter 1: We Start Here Chevron down icon Chevron up icon
2. Chapter 2: Why Linear Algebra? Chevron down icon Chevron up icon
3. Chapter 3: What Is a Vector? Chevron down icon Chevron up icon
4. Chapter 4: But What About a Matrix? Chevron down icon Chevron up icon
5. Chapter 5: Break Them Down - Matrix Decomposition Chevron down icon Chevron up icon
6. Chapter 6: The Final Stretch - Principal Component Analysis Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Top Reviews
No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.