How to use the already trained neural network

조회 수: 4 (최근 30일)
Luís Dias
Luís Dias 2016년 1월 5일
댓글: Sandeep Arora 2017년 12월 30일
I recently used Neural Network toolbox from Matlab to train a neural network for detecting violence in movies. After training the network and obtaining a good performance I've been searching for the function that let me use the network and I can't find it. Can you help me on using the network after training it?
PS: I just want to try the network giving one input and getting an output
  댓글 수: 1
Sandeep Arora
Sandeep Arora 2017년 12월 30일
Dude, can I ask a question not related to this. How did you get the network or your script to read the screen, let alone detect violence for your data. What I need specifically is to open up a game saved on my desktop and let my neural network train on it, could you please help?

댓글을 달려면 로그인하십시오.

채택된 답변

Sean de Wolski
Sean de Wolski 2016년 1월 5일
편집: Sean de Wolski 2016년 1월 5일
y = net(x)
where net is your trained network and x is your new input.
  댓글 수: 3
Greg Heath
Greg Heath 2016년 1월 6일
Better yet, what are the sizes of the matrices you used for training
[ I N ] = size(input)
[ O N ] = size(target)
Then, for each I-dimensional column input test vector, x, you should get an O-dimensional column output vector y.
Luís Dias
Luís Dias 2016년 1월 8일
I did it! I had to traspose one of the matrixes! Thanks man

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by