仓库源文站点原文


layout: post title: "ML4T笔记 | 03-02 Regression" date: "2019-01-23 09:13:42" categories: 计算机科学 auth: conge

tags: ML4T Machine_Learning Trading OMSCS

01 - Introduction

supervised regression learning or numerical model:

Time: 00:00:23

02 - Parametric regression

Parametric regression is a way of building a model where we represent the model with the number of parameters. Example: build a model that will predict how much it will rain today based on changes in barometric pressure.

All of these models are parametric models. In the end, after we learn these models and get our parameters (e.g. m2, m, and b), we can through away the data.

Time: 00:04:12

03 - K nearest neighbor

image.png

Data-centric or instance based approach: keep and use the data when we make a query.

Time: 00:00:45

04 - Quiz: How to predict

what should we do with these data points to find that prediction?

Time: 00:00:30

05 - Kernel regression

Time: 00:01:32

06 - Parametric vs non-parametric

the cannon ball distance can be best estimated using a parametric model, as it follows a well-defined trajectory. On the other hand, the behavior of honey bees can be hard to model mathematically. Therefore, a non-parametric approach would be more suitable.

the pros and cons of each approach.

  1. parametric approach:
  1. non-parametric approaches, or instance-based: have to store all the data points.

Time: 00:02:47

07 - Training and testing

out of sample testing: The procedure of separating testing and training data from one another.

in this class, our data is time oriented, and we typically split the data up according to time.

Time: 00:02:50

08 - Learning APIs

When write some machine learning algorithms in the class, let's standardize on what the application programmer interface ought to look like for the code.

linearregression Learner. KNNLearner: additional argument, K

Time: 00:01:14

09 - Example for linear regression

pseudo code for implementing the API for a linear regression learner.

Time: 00:02:13

Total Time: 00:18:55

2019-01-23 09:13:42