The AI Delusion: Using Models Doesn't Make You an Expert

May 28, 2024 (7mo ago)

AI DELUSION

Introduction

Ah, the modern developer’s favorite pastime: pretending to be a machine learning expert because they used an OpenAI or Gemini model once. It’s like calling yourself a master chef because you microwaved a frozen pizza. Let’s dive into the world of AI and machine learning, where the real magic happens with complex math and not just some pre-trained models.

The Myth of the AI Expert

In today’s tech world, it seems like everyone and their dog is an AI expert. Just ask them – they’ll tell you all about how they used an OpenAI API to generate text or a Gemini model to recognize images. “Look, Ma! I’m doing machine learning!” Except, no, you’re not. You’re just using someone else’s hard work without understanding the underlying principles.

The Mathematics of Machine Learning

Real machine learning is filled with math. And not just any math – we’re talking about the deep, complex stuff that makes your head spin. Let’s take a look at one of the fundamental concepts in machine learning: linear regression.

Linear regression is a basic yet powerful model used to predict a continuous outcome based on one or more input variables. The formula looks something like this:

$$ Y = \beta_0 + \beta_1X_1 + \beta_2X_2 + \ldots + \beta_nX_n + \epsilon $$

Where:

Here’s a simple example: predicting house prices based on the size of the house. Your linear regression model might look something like this:

$$ \text{House Price} = \beta_0 + \beta_1 \times (\text{House Size} + \epsilon) $$

For those who think they know AI just because they used a pre-trained model, try deriving the coefficients ( \beta_0 ) and ( \beta_1 ) from scratch. Spoiler alert: it involves calculus and linear algebra. Fun times, right?

Financial Analytics with Machine Learning

Let’s look at a math model that helps with financial analytics: the Capital Asset Pricing Model (CAPM). It’s used to determine the expected return on an investment given its risk compared to the market.

The CAPM formula is:

$$ \text{Expected Return} = R_f + \beta(R_m - R_f) $$

Where:

This model helps in making informed financial decisions by assessing the potential return of an investment based on its risk. Understanding and applying such models require a solid grasp of finance and mathematics, far beyond the realm of simply using pre-trained AI models.

The Great Pretenders

Most people who claim to know AI have never ventured beyond using high-level APIs. They’ve never trained a model from scratch, dealt with overfitting, or even touched a confusion matrix. They think AI is just about plugging in data and getting magical results. In reality, it’s about understanding the algorithms, tweaking hyperparameters, and battling with data preprocessing.

My Learning Journey

I must confess, I was once in this camp too. I thought using OpenAI meant I was really using AI. But as I delved deeper into the world of machine learning, I humbled myself. I realized there’s so much more to learn and understand. That doesn’t mean I’ll ever stop using OpenAI – this stuff makes me code even faster! But I now appreciate the depth and complexity of real machine learning.

Conclusion

So, next time you meet someone bragging about their AI expertise because they used a pre-trained model, just smile and nod. And remember, real machine learning involves more than just playing with fancy tools – it’s a deep, complex field grounded in mathematics and continuous learning.

Here’s to the journey of learning and discovering the real magic behind AI, beyond the surface-level hype. Cheers!

PS: If you want a good source for Machine Learning, read the book below:

Machine Learning Book