[Home]
MDR
A Matlab code of Minimum deviation distribution machine for large scale regression. [Code]
Reference
Ming-Zeng Liu, Yuan-Hai Shao*, Zhen Wang, Wei-Jie Chen, Chun-Na
Li. Minimum deviation distribution machine for large scale regression[J]. Submitted. [Slides]
Exam
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% exam
clc
clear all
close all
addpath('MDRCD')
addpath('MDRASGD\matlab')
%% kernel MDR
load('X23.mat')
[preY time]= mdr_cd(TestX, X, Y, [2^8 2^8 2^-8 0.05], 2^0);
time
%% primal MDR
load('E2006A1Train.mat')
load('E2006A1Test.mat')
%% model = mdr_asgd_train(trainY, trainX, [lambda1, lambda2, C, epsilon], '-s 1 -k 0')
%% preY = mdr_asgd_predict(testX, trainX, model)
%% trainX: each row represents an instance
tic
model = mdr_asgd_train(trainY, trainX, [2^-4 2^-4 2^8 0.01], '-s 1 -k 0');
preY = mdr_asgd_predict(testX, trainX, model);
toc
Any question or advice please email to mzliu@dlut.edu.cn or shaoyuanhai21@163.com.
- Last updated: March 22, 2017