Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6472811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:23:27+00:00 2026-05-25T06:23:27+00:00

For object recognition propose I’ve to use a neural network in MATLAB. I have

  • 0

For object recognition propose I’ve to use a neural network in MATLAB. I have 30 objects and 20 images for each object, so I have 600 input data and 20 different classes. Input matrix is 100×600 and target is 1×600. Input matrix columns is a histogram of keypoints’ Hue in 100 bins like this: (m,n)=hist(hue_val,100) that I took m.
If I chose MLP network, how many layers and neurons for those layers are needed, which transfer functions is suitable for each layer?

And for last question, do I need negative samples?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:23:27+00:00Added an answer on May 25, 2026 at 6:23 am
    • Number of layers – In general a single hidden layer is sufficient since (so long your using a non-linear activation function) a single layer can approximate an arbitrary number of layers.
    • Transfer function – I’m not used to this term, but I assume you mean the activation function (what you do to the net input before passing it to the next layer). I answered a slight variant of that question here, but the gist is that a standard choice like hyperbolic tangent or logistic works in most cases.
    • Number of neurons in your hidden layer – crodriguezo’s link fielded this one quite nicely. All I can really add is that with your input size, I’d probably base this quantity a lot on training time.
    • Negative samples – If you just need to classify which of the 30 objects an input belongs too, then negative samples aren’t needed. But, if a test input might be none of the 30 objects, then definitely use lots of negative example so the network doesn’t think everything is an object.

    Some General Tips:

    Remember to consider leave-one-out and similar forms cross validation as ways of combating overfitting. Limiting your hidden layer’s unit count does this also, but at the cost of representational richness.

    Other parameters you haven’t mentioned are also very important to any successful ANN application. These include learning rate, error function, annealing schedule, momentum, and weight decay. Setting all of these is more of an art than a science at this point (one of the best arguments against using ANNs vs. support vector machinces), but this link has been a godsend for me in this area.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have you any idea about implementing 2D object recognition with MATLAB? Which characteristics of
I have a list of objects, each with a bool ShouldRun() method on them.
I want to use dynamic object recognition (descriptive programming) to find the first button
Object-Relational-Mappers have been created to help applications (which think in terms of objects) deal
I'm interested in writing some basic computerized object recognition application, so I figure I
Object-relational mapping has been well discussed, including on here. I have experience with a
I have successfully implemented face detection part in my Face Recognition project.Now i have
I have a picture with a known, simple object, e.g. chessboard. The camera can
I have been playing around with Facial recognition in PHP via the face.com API.
I have quite an specific question about image recognition. I have to write a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.