Filter löschen
Filter löschen

How to use timetable in machine learning app?

5 Ansichten (letzte 30 Tage)
Ugur Acar
Ugur Acar am 22 Nov. 2019
Kommentiert: Ugur Acar am 29 Mär. 2020
I have a table T, first column is the year, second column is the month, third column is the day and fourth column is the hour. I have temperature data in the fifth column.
I make it timetable like this;
T=....%my existing table
t=datetime([T{:,1:4},zeros(size(T,1),2)]);
TT=timetable(T{:,end},'RowTimes',t);
Then i want to use this time data and temperature data in regression learner to predict missing temperature datas.
But when importing data from workspace to regression learner, it doesnt recognise the timetable but only the table T.
Is there any way to use timetable data in regression learner or machine learner ?
Thank you.

Antworten (1)

Fabrice Lambert
Fabrice Lambert am 26 Mär. 2020
Hi,
As far as I know the regression and classification learner apps do not support timetables. It doesn't matter though since you don't need the time information for these apps. Just transform them to tables using timetable2table.

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by