ガウス過程回帰の予測​曲線を延長させたい(​外挿したい)

조회 수: 9 (최근 30일)
moooo
moooo 2021년 1월 6일
편집: moooo 2021년 1월 6일
学習させたデータ内での予測はできていますが、外挿がうまくいきません。
1週間程度延長させたいのですが、やり方がわからずに困っています。
外挿をさせるための指示を追加すれば解決するのか、それともこのコマンドではそもそも不可能なのか。
それすらわからない状況です。
テーブル内のデータの使用による GPR モデルの学習
を参考にコマンドを作成しました。以下URLです。
以下コマンドです。を参考にコマンドを作成しました。
%データの挿入
addpath '/Users/XXX/Documents'
T=readtable(['file.txt'])
%ガウスモデル(カーネルの選択)
gprMdl = fitrgp(T,'kg','KernelFunction','ardexponential',...
'FitMethod','sr','PredictMethod','fic','Standardize',1)
ypred = resubPredict(gprMdl);
figure();
x=T(:,1)
%データのプロット
plot(T.day,T.kg,'r.');
%グラフ内データの追加
hold on
%予測値のプロット
plot(T.day,ypred,'b');
xlabel('x');
ylabel('y');
%凡例の追加
legend({'data','predictions'},'Location','Best');
%グラフの幅の設定
axis([0 30 0 100]);
hold off;

답변 (0개)

카테고리

Help CenterFile Exchange에서 ガウス過程回帰에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!