Skip to content

woctezuma/regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Regression

Code Quality

This repository contains Python code to perform 1-D regression with:

Requirements

  • Install the latest version of Python 3.X.
  • Install the required packages:
pip install -r requirements.txt
pip install https://github.com/JamesRitchie/scikit-rvm/archive/master.zip

Usage

python main.py

Results

The ground truth is the sinc function.

Influence of the number of training samples

The variable noise_level is set to 0.1. The variable training_data_range is set to a large value (15).

The results are shown with increasing number of training samples.

10 samples 50 samples 100 samples 200 samples 500 samples

Influence of the noise level

The variable num_samples is set to 100. The variable training_data_range is set to a large value (15).

The results are shown with increasing noise level.

noise 0.0 noise 0.1 noise 0.5 noise 1.0

Influence of range of training data

The variable num_samples is set to 100. The variable noise_level is set to 0.1.

The results are shown with increasing range of training data

range 1 range 2 range 5 range 10 range 15

References