Skip to content

Regularized linear basic function model with Guassion kernal, A 1D least square regression comparing to SVM using RBF

Notifications You must be signed in to change notification settings

JinScientist/Gaussion-Kernal-Least-Squares-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gaussion-Kernal-Least-Squares-Regression

Regularized linear basic function model with Guassion kernal; A 1D least square regression comparing to SVM using linear, polynomial and RBF kernal.

M is the number of Gaussion kernal functions and lamda is the regularization coefficent,Mu is the array of kernal functions' means( Locations of the basis functions in input space).

The the kernal means are chosen equaly distributed in the data space, and spacial scale of kernal funtion is set to one.

Below is generated plot from the python code Gaussion_kernal_Least_square.py with M=20 and lamda=1:

plot There are overfitting when chosing large number of M for unregularized least squares with Gaussion basis function

About

Regularized linear basic function model with Guassion kernal, A 1D least square regression comparing to SVM using RBF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages