FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Books & courses

What Andrew Ng’s machine learning course gives an FDE

The remade beginner program swaps Octave for Python, the language of customer notebooks, and takes about two months at 10 hours a week.

Andrew Ng, who teaches the Machine Learning Specialization, speaks on stage at TechCrunch Disrupt SF 2017 in San Francisco.
Photo: TechCrunch / CC BY 2.0
ShareLinkedInFacebookX

In brief

  • The program consists of three beginner courses from DeepLearning.AI and Stanford Online; Coursera estimates two months at 10 hours a week
  • The new version redesigns the lectures and assignments in Python, replacing the original's Octave and bringing it closer to the tools you will use at a customer site
  • For FDEs, courses 1 and 2 are the core; take course 3 selectively, with priority on recommenders
Slope chart linking accuracy to technical-group recall for three hypothetical models. The neural network has 84% accuracy but only 40% technical recall. LogisticRegression reaches 81% accuracy and 47% recall. DummyClassifier reaches 70% accuracy and 0% recall.
On accuracy alone, the neural network is the best model. But on recall for the "technical" group, it trails LogisticRegression. Source: hypothetical results in the article (1,000 support tickets split into 4 groups).

Ten years after the original Machine Learning course launched, DeepLearning.AI redesigned its lectures and assignments. The team explained on its blog that the field had advanced considerably since the course first appeared. The most visible change is that lectures and assignments now use Python in place of the original’s Octave.

That may look like a small detail, but it matters to anyone who wants to become an FDE. You will rarely meet Octave at a customer site; you are far more likely to open a Python notebook with NumPy, scikit-learn or TensorFlow. Taking the new version doubles as practice with the tools you will use in the first week of a project.

A true beginner program

The official name is the Machine Learning Specialization. It was created jointly by DeepLearning.AI and Stanford Online, and is hosted on Coursera.

It has three courses, which Coursera rates at beginner level, with an estimated duration of two months at 10 hours a week. A developer with a full-time job can manage that pace by keeping to a regular schedule.

DeepLearning.AI describes it as a beginner-friendly, three-course program. It also says no heavy math background is required: what matters most is that you want to learn AI and ML, and the program will help you fill in the rest along the way. For a developer who has not touched linear algebra in years, this is the entry point with the least friction.

Which order should you follow?

Take the courses in order, 1, 2, 3, but do not divide your time equally among them. Course 1 teaches you to build ML models with NumPy and scikit-learn. Course 2 covers training neural networks in TensorFlow for multiclass classification.

Course 3 is titled Unsupervised Learning, Recommenders, Reinforcement Learning, and includes building a deep reinforcement learning model. If your goal is FDE work, spend most of your time on courses 1 and 2.

In course 3, the recommender section deserves close study because recommendations are a familiar request from commerce businesses. For reinforcement learning, grasp the concepts and avoid getting bogged down.

Don’t take shortcuts through NumPy

Course 1 uses both NumPy and scikit-learn. Resist skimming the NumPy material to get straight to the library: those hand-written calculations are what show you how a model works inside. When a customer asks why the model made a prediction, you need to answer with the mechanism; a function name will not do.

scikit-learn is what gets you results quickly. Your first job at a customer site should be to build a baseline on the first afternoon, setting a mark that every more complex proposal has to beat.

When 70% accuracy means nothing

Course 2 teaches multiclass classification with TensorFlow, a type of problem that comes up often in deployments. Say a company needs to sort 1,000 support tickets automatically into four groups, and 700 of them belong to “billing”.

A lazy model that guesses “billing” for every ticket still scores 70% accuracy without classifying a single technical ticket correctly. In scikit-learn, it takes only a few lines to build that lazy model, add a real logistic regression baseline and print recall for each group:

from sklearn.dummy import DummyClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import classification_report

lazy = DummyClassifier(strategy="most_frequent").fit(X_train, y_train)
print(lazy.score(X_test, y_test))   # ~0.70: the starting line

model = LogisticRegression(max_iter=1000).fit(X_train, y_train)
print(classification_report(y_test, model.predict(X_test)))  # recall and F1 per group

The hypothetical results below show the trap. The neural network has the highest accuracy, yet catches fewer technical tickets than logistic regression.

Model (hypothetical) Accuracy Recall, “billing” Recall, “technical”
DummyClassifier (guesses the majority class) 70% 100% 0%
LogisticRegression 81% 93% 47%
TensorFlow neural network 84% 97% 40%

If the customer needs technical tickets to reach the right person, the neural network in this table is the worse choice, despite its better-looking accuracy. An FDE should therefore first ask how the classes are distributed, and which group the customer truly needs to get right.

A practical rule: propose a neural network only when it beats both DummyClassifier and LogisticRegression on accuracy and also on recall or F1 for the group the customer cares about. The course gives you the tools to train the network; this comparison table is your part of the job.

Recommenders are a problem customers bring

The recommender section in course 3 connects theory to the kind of request FDEs are likely to meet: “recommend products to our users”.

When such a request arrives, first ask to see the real interaction data, before promising any model.

Who should take it, and how should it appear on a CV?

The program suits backend or full-stack developers who want to move into FDE work and have never trained a model. Anyone with a few years of ML experience need only skim it. Do not list the certificate on your CV with nothing beside it.

Write a line such as “Classified support tickets into 4 groups with TensorFlow, compared with a scikit-learn baseline”, and add the accuracy and the recall for the most important group. That line shows you can evaluate a model against a minimum standard as well as run it.

The program will not turn you into a data scientist. It gives you enough grounding to hold your own when you sit down with a customer, and for an FDE that is already a considerable advantage.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
3 sources
Read next on the roadmap · Stage 1: FoundationsThe week of Harvard's free Python course that matters most for FDEsWeek 5 of CS50P teaches assert, pytest and packaging, the baseline for code that runs on client data and that someone else will inherit.