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

 Réponse acceptée

Walter Roberson
Walter Roberson le 31 Oct 2021
Vol default %For reproducibility
What are you expecting that will do for you?
I suspect that what you want is
rng default %For reproducibility

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by