Please I'm new here and need some help. I am working on my project using Brent oil dataset.
I keep receiving UNRECOGNIZED FUNCTION OR VARIABLE 'VOL'
Here are the codes.
('Brent.csv',dat);
varnames = {'Date'; 'Open'; 'High'; 'Low'; 'Close'; 'Adj_Close';...
'Volume'};
%Tbl = readtable ('Brent.csv', 'dat', 'open', 'Hight', 'Low', 'Close','Adj_Close', 'Volume', false);
Tbl.Properties.VariableNames = varnames;
'Date'; 'Open'; 'High'; 'Low'; 'Close'; 'Adj_Close'; 'Volume'
Vol default %For reproducibility
unrecognized function or variable 'vol'
Mdl = fitrsvm(Tbl,'volume','KernelFunction','gaussian','KernelScale','auto',...
'Standardize',true);

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 31 Okt. 2021

0 Stimmen

Vol default %For reproducibility
What are you expecting that will do for you?
I suspect that what you want is
rng default %For reproducibility

Weitere Antworten (0)

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by