フィルターのクリア

Is it possible to add a second source of data in the lstm ?

1 回表示 (過去 30 日間)
aryan ramesh
aryan ramesh 2022 年 2 月 8 日
コメント済み: aryan ramesh 2022 年 2 月 18 日
Is there a way to use the train Network or any other function in the lstm to add a second source of data?
For Example:
net1 = trainNetwork(XTrain, XTrain2, labelTrain, labelTrain2, layers, options );
layers = [ ...
sequenceInputLayer(1)
bilstmLayer(100,"OutputMode","sequence", XTrain2, labelTrain2)
dropoutLayer(0.2)
bilstmLayer(90,"OutputMode","last", XTrain2, labelTrain2)
dropoutLayer(0.2)
batchNormalizationLayer
fullyConnectedLayer(2)
softmaxLayer
classificationLayer];

回答 (1 件)

yanqi liu
yanqi liu 2022 年 2 月 10 日
yes,sir,may be use combine to make multi data to one object
  1 件のコメント
aryan ramesh
aryan ramesh 2022 年 2 月 18 日
I was wondering if matlab has input flexibility like in keras functional API
visible1 = Input(shape=(n_steps, n_features))
cnn1 = Conv1D(filters=64, kernel_size=2, activation=‘relu’)(visible1)
cnn1 = MaxPooling1D(pool_size=2)(cnn1)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by