When i try to do normalisation, it gives error

1 回表示 (過去 30 日間)
NN
NN 2020 年 10 月 22 日
回答済み: Nikhil Sonavane 2020 年 10 月 28 日
When i try to do normalisation, it gives error
Error in mapminmax.create (line 12)
xmin = nnet.array.safeGather(min(x,[],2));
input data is in the below format
Date Hour DA_LMP Dry_Bulb Dew_Point System_Load
1-Jan-19 1 25.63 37 36 11,628
1-Jan-19 2 20.49 38 37 11,103
1-Jan-19 3 18.86 39 38 10,705
Code used is mentioned below:
% importing data
T=readtable('2019_SysLoad.xlsx');
input_train=T((1:5833),1:5);
target_train=T((1:5833),6);
input_test=T((5834:end),1:5);
target_test=T((5834:end),6);
[pn,ps] = mapminmax(input_train);
[tn,ts] = mapminmax(target_train);
[pn1,ps1] = mapminmax(input_test);
[tn1,ts1] = mapminmax(target_test);
kindly advice

回答 (1 件)

Nikhil Sonavane
Nikhil Sonavane 2020 年 10 月 28 日
You may refer to a similar previously solved ML Answer which may help you solve your query.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by