ヘルプ センターヘルプ センター
このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
線形回帰のプロット
plotregression(targets,outputs)
plotregression(targs1,outs1,'name1',targs2,outs2,'name2',...)
例
plotregression(targets,outputs) は、outputs に対する targets の線形回帰をプロットします。
targets
outputs
plotregression(targs1,outs1,'name1',targs2,outs2,'name2',...) は、複数のプロットを生成します。
すべて折りたたむ
この例では、フィードフォワード ネットの線形回帰をプロットする方法を示します。
[x,t] = simplefit_dataset; net = feedforwardnet(10); net = train(net,x,t);
y = net(x); plotregression(t,y,'Regression')
ネットワークのターゲット。行列または cell 配列として指定します。
ネットワークの出力。行列または cell 配列として指定します。
R2008a で導入
plottrainstate
この例の変更されたバージョンがあります。編集された方の例を開きますか?
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office