Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
/ FSAM-C-code Public archive

This is an example of Forward Stage-wise Additive Modelling which appears in the course "FOUNDATIONS OF MACHINE LEARNING" lecture 23.

Notifications You must be signed in to change notification settings

KevinOfCathay/FSAM-C-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FSAM-C-code

This is a so-called Forward Stage-wise Additive Modelling which appears in the course "FOUNDATIONS OF MACHINE LEARNING" lecture 23. https://bloomberg.github.io/foml/#lectures

This repository shows an example, which is coded by myself using C++, about using FSAM and decision stumps to do the regression on some sample datas.

In header file "randompoint.h", there is an function called quadratic which can be used to generate some points, and each point follows f(x) = x^2 + N(mean, sigma).

To run the program, you only need to call the Loop function in "boosting.h"

Note in order to do the splitting properly, you need to sort the data first. I skipped this procejure because the points are already in an ascent order.

About

This is an example of Forward Stage-wise Additive Modelling which appears in the course "FOUNDATIONS OF MACHINE LEARNING" lecture 23.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages