Country: Mexico
You are in the Mexico edition. Type your country to switch.
Nigeria
The Americas
Loading every country…
No country matches. Check the spelling, or choose "Any country" for the Global edition.
You are learning in the Mexico edition, with examples in pesos and from Mexico.
Your learning profile
AI and machine learning applied to financial data · Lesson 1 of 10
The data pipeline and features for financial machine learning
A machine learning model is only as good as the pipeline that feeds it. Raw prices, fundamentals and text must be collected, cleaned, time-stamped and turned into features, and each step can quietly introduce errors that no model can fix.
This lesson is complete in writing. A video for it is on its way.
What you will learn
- By the end you can describe the stages of a financial machine learning pipeline, from raw data to a model.
- You can explain the difference between a feature and a label, and why each needs a timestamp.
- You can name the main kinds of financial input, prices, fundamentals and text, and the typical errors in each.
- You can spot a feature that uses information nobody could have known at the time.
Key terms in this lesson
- Machine learning
- A branch of AI in which a computer learns patterns from examples in data, rather than following rules written by a person.
- Survivorship bias
- Distorted results from studying only the survivors, such as companies still listed, and ignoring those that failed.
- Feature
- In machine learning, one input a model uses to make a prediction, such as a share's past month return or a company's debt-to-equity ratio. Each feature must use only information that was known at th…
- Label
- The answer a supervised model is trained to predict, such as whether a loan was repaid or next month's return. Choosing the label is a design decision that shapes everything the model learns.
- Feature engineering
- Turning raw data into useful model inputs, for example converting a price series into returns, volatility or a ratio, and lining each value up with the time it became known.
- Look-ahead bias
- Using information in a test that would not have been known at the time.
- Step 1: Why the pipeline matters more than the model, not started
- Step 2: Three families of input: prices, fundamentals and text, not started
- Step 3: Features and labels, not started
- Step 4: Point in time: what was known, and when, not started
- Step 5: Worked example: auditing a feature table, not started
- Step 6: After launch: monitoring the pipeline, not started
About 11 min of reading
Step 1 of 6
Why the pipeline matters more than the model
Opening this step…
Step 2 of 6
Three families of input: prices, fundamentals and text
This step opens when you finish the one above.
Step 3 of 6
Features and labels
This step opens when you finish the one above.
Step 4 of 6
Point in time: what was known, and when
This step opens when you finish the one above.
Step 5 of 6
Worked example: auditing a feature table
This step opens when you finish the one above.
Step 6 of 6
After launch: monitoring the pipeline
This step opens when you finish the one above.
Key takeaways
The key takeaways open when you finish every step.
Lesson quiz
5 questions. You need 85% to pass.
The quiz opens when you finish every step.
Read first
Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.