Skip to content
Permalink
242615d4ba
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
12 lines (11 sloc) 582 Bytes
%%______________________________________________________________________________
%% This function is to map the datasets into orginal space once prediction is done
%% Method 1: normalize to standard normal distribution; Method 2: scale to [0 1]
%% This function is created by Kai Zhou 7/31/2019
%%______________________________________________________________________________
function DataobjT = DataPreProcessBack(Dataobj,para1,para2,dataProcessMethod)
if dataProcessMethod == 1
DataobjT = Dataobj*para2+para1;
else
DataobjT = Dataobj*(para2-para1)+para1;
end