What layers to use for data classifcation?

Hi,
I am very new to MATLAB. I am using it to (hopefully) create a neural network to classify images with or without steganography. I have created histograms for each of these images, half or which are stegged, and half not. I have then put that data into a 256x3 matrix for each of the images, the 3 being each colour channel of the image. I want to be able to output a value of between 1 and 0 as that will be able to determine whether an image is stegged or not. The features I want to pick up on is that on the stegged images the histogram data fluctuates along the graph line, where the normal images don't. I understand I'll need a sequence input layer, however from there I am completely lost and have no idea what layer(s) to use next.
Many thanks

回答 (1 件)

Srivardhan Gadila
Srivardhan Gadila 2020 年 3 月 16 日

0 投票

You can use an imageInputLayer or an sequenceInputLayer followed by Convolution and Fully Connected Layers or Sequence Layers with other layers like Activation, Normalization, Pooling layers etc. followed by softmaxLayer and classificationLayer at the end.

この質問は閉じられています。

製品

リリース

R2019b

質問済み:

2020 年 3 月 10 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by