train a Neural network with different input output sizes

Hi, I would like to train a Neural Network (pattern-recognition) where I have vectors of 500 points (input) each belong to single output value.
The input vectors of 500 points are a timeseries, contains the Info about a sharp peak on a certain posistion which belongs a single Value.
So how to tran a network where I have hundrets of
Inputs (1x500) and outputs (1x1).
Thx,
Chris

 Accepted Answer

Matt J
Matt J on 2 Feb 2024
Edited: Matt J on 3 Feb 2024
If it's a sequence-to-one regression then this syntax of trainNetwork would be appropriate,

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2023b

Asked:

on 2 Feb 2024

Edited:

on 3 Feb 2024

Community Treasure Hunt

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

Start Hunting!