To Miss Urhan:
I am a beginner in the soft sensor yield and thanks gratitude for your code in the git for me to learn the concerning knowledge.
When I attempted to run the "Demo.M" in the code file, the issue that the “auto” function wa missed in "Subprediction.M" in Line 4. Therein, I tried to create another M file as follow:
function [Xsc, mx, sx] = auto(Xtrain)
mx = zeros(1, size(Xtrain,2));
sx = zeros(1, size(Xtrain,2));
Xsc = zeros(size(Xtrain,1), size(Xtrain,2));
for i = 1 : size(Xtrain, 2)
mx(1, i) = mean(Xtrain(:, i));
sx(1, i) = std(Xtrain(:, i));
end
for i = 1 : size(Xtrain, 2)
Xsc(:, i) = (Xtrain(:, i) - mx(1, i))/ sx(1, i);
end
After solving this, another issued occured that the “scale.m” function is missed. Therefore, I have two problems as follow:
1, Is the “auto.M” I wrote in a proper way?
2, Would you like to provide other missing function in the Code file?
With great appreciate for reading my issue. I am looking forward to your favourable reply,
Sincerely, Justus
July 2nd, 2020