unrecognized function or variable 'vol'

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);

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by