I am training a neural network to recognize image of a fruit(apple). I have taken 120 images of size 8x8 of which 40 are positive and remaining are negative. So my input is 64x120 and my target vector is 1x120. But what will be the values in my target vector? How do i assign it? Previously, i have assigned target = 1x120 matrix (first 40 column = 1 and last 80 column = 0) as the first 40 are positive images. Is this correct?
What value to put for the target vector in training neural network?
263 Views Asked by user48951 At
1
There are 1 best solutions below
Related Questions in MATLAB
- How to open and read video stream in Matlab
- Interpolation and replace zeroes
- How can I fix my code to do line by line conditional statements in Matlab
- matlab crash during acquisition of pointgrey images
- Calling text file
- Apply gaussian filter on text
- re-plotting of data on same GUI axes in matlab
- Issue with nume1 in MATLAB
- Multiply two variables in Matlab with vpa - high precision
- ODE - Solving Parameter Dependent on Variable [Matlab]
- Need help in detecting multiple blobs
- How does TIC TOC in matlab work?
- Image based steganography that survives resizing?
- lowering computaional cost in finding the location of minimum distance
- FFT Filtering of signal
Related Questions in IMAGE-PROCESSING
- Need help in detecting multiple blobs
- Image based steganography that survives resizing?
- WinRT Extract Thumbnail from RAW image format
- 3D B-Spline approximation
- Qualitative and Quantitative analysis of filtered back projection / iradon in matlab
- How to detect objects in an image based on colour?
- How to make sense (handle) when computes logarithm of zero in prior information
- scilab - Drawing bounding box
- Lowpass filter non working
- Get a single line representation for multiple close by lines clustered together in opencv
- error while drawing several x-marks on a binary image in matlab
- Which method should I use to find gradient direction of pixels in an image?
- Finding Circle Boundary Pixels Coordinates and RGB Intensity Values from An RGB Input Image in Matlab
- using SURF for handdetection
- Using only one tool from CLImageEditor
Related Questions in NEURAL-NETWORK
- How to choose good SURF feature keypoints?
- How to avoid overfitting (Encog3 C#)?
- Run out of VRAM using Theano on Amazon cluster
- Calculating equation from image in Java
- Print output of a Theano network
- Torch Lua: Why is my gradient descent not optimizing the error?
- How can I train a neural (pattern recognition) network multiple times in matlab?
- Using Convolution Neural Net with Lasagne in Python error
- Random number of hidden units improves accuracy/F-score on test set
- Matlab example code for deep belief network for classification
- Pybrain Reinforcement Learning Example
- How to speed up caffe classifer in python
- Opencv mlp Same Data Different Results
- Word2Vec Data Setup
- How can I construct a Neural Network in Matlab with matrix of features extracted from images?
Related Questions in TARGET
- how to target an external div in javascript
- In Xcode, how to not run certain Run Script Build Phases when running Tests?
- Use window.name to open links in emails in the same tab
- Can xcode pass compile flags to depended target from the depending one?
- Change the same css class property through javascript
- How to target form to iframe with Ajax?
- Maven project compiler-plugin target isn't activated
- •Informatica powercentre target xsd assistance
- Android make higher level API call without targeting a high level SDK
- remove img link if not target=blank
- Changed .NET target and my solution won't open
- Is there a way to avoid the target table in informatica (powercenter)?
- Matching different/multiple parts of a Makefile target
- Change entitlements for iOS application built by different development team?
- Why does a target attribute set to "_top" or "_parent" opens up in a new tab
Related Questions in NNTOOL
- How to get "mse" after "newfit" training from MATLAB command line
- How I can add more hidden layers on the nftool code that I exported from the nnstart GUI?
- Can't get neural network result in MATLAB
- How to format data for use in nntool (MATLAB)?
- Using nntool [MATLAB] from command line
- MATLAB NN toolbox: Error using trainlm
- what "target" do i put in iris dataset nntool matlab?
- Call a java function from matlab script
- Text representation for Neural training Network
- Multi Step Prediction Neural Networks
- Why does the neural network stop training because of the gradient?
- Is it necessary to initialized the weights for every time retraining the same model in matlab with nntool?
- What value to put for the target vector in training neural network?
- How to obtain new data from the given starting point?
- Why matlab neural network classification returns decimal values
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The input should be for a single image, so a 64 vector, and the output should be a yes no value, so a scalar (vector of 1 element) with a value of 1 for positive, and 0 for negative.
Other values may be used, depending on your network layers. For example +1,-1 or 0.95,0.05