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

 채택된 답변

Walter Roberson
Walter Roberson 2021년 10월 31일

0 개 추천

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에 대해 자세히 알아보기

질문:

2021년 10월 31일

댓글:

2021년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by