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

 採用された回答

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

1 件のコメント

Anslem Ezewuzie
Anslem Ezewuzie 2021 年 10 月 31 日
rng default %For reproducibility
YES!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by