LSTM_tsc icon indicating copy to clipboard operation
LSTM_tsc copied to clipboard

will it work for multivariate time series prediction both regression and classification

Open Sandy4321 opened this issue 4 years ago • 2 comments

great code thanks may you clarify : will it work for multivariate time series prediction both regression and classification 1 where all values are continues values weight height age target 1 56 160 34 1.2 2 77 170 54 3.5 3 87 167 43 0.7 4 55 198 72 0.5 5 88 176 32 2.3

2 or even will it work for multivariate time series where values are mixture of continues and categorical values for example 2 dimensions have continues values and 3 dimensions are categorical values

color        weight     gender  height  age  target 

1 black 56 m 160 34 yes 2 white 77 f 170 54 no 3 yellow 87 m 167 43 yes 4 white 55 m 198 72 no 5 white 88 f 176 32 yes

Sandy4321 avatar Jan 10 '21 23:01 Sandy4321

Thanks for reaching out, Sandy.

Yes, the LSTM will work for both ordinal, categorical, and real-valued targets. In the case of a categorical, you might choose a Multinomial likelihood function.

On Mon, 11 Jan 2021 at 00:28, Sandy4321 [email protected] wrote:

great code thanks may you clarify : will it work for multivariate time series prediction both regression and classification 1 where all values are continues values weight height age target 1 56 160 34 1.2 2 77 170 54 3.5 3 87 167 43 0.7 4 55 198 72 0.5 5 88 176 32 2.3

2 or even will it work for multivariate time series where values are mixture of continues and categorical values for example 2 dimensions have continues values and 3 dimensions are categorical values

color weight gender height age target

1 black 56 m 160 34 yes 2 white 77 f 170 54 no 3 yellow 87 m 167 43 yes 4 white 55 m 198 72 no 5 white 88 f 176 32 yes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RobRomijnders/LSTM_tsc/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3MXROPRBX7DDGHOEA52ZLSZIZ2BANCNFSM4V4Z3X5A .

RobRomijnders avatar Jan 11 '21 12:01 RobRomijnders

super, do you have code example?

Sandy4321 avatar Jan 19 '21 15:01 Sandy4321