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 4330226
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:56:02+00:00 2026-05-21T09:56:02+00:00

I have trained ancient coin images using feed forward neural network. Now, I want

  • 0

I have trained ancient coin images using feed forward neural network. Now, I want to use that trained network to use for testing images. I did as follows;

load net.mat;
load Features.mat; %this is the test image's features file
testInputs = features_set';
out = sim(net,testInputs);

[dummy, I]=max(out);
if (I == 1)
    h = msgbox('type 1','Description','none');
elseif (I == 2)
    h = msgbox('type 2','Description','none');
else
    h = msgbox('unclassified','Description','none');
end;

Problem is, even when I input another image, say a face of a person, it says either type 1 or type 2. It doesn’t display unclassified. Always, gives either type 1 or type 2 for any image, not only for coin images.

Can someone please help me?

  • 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-21T09:56:03+00:00Added an answer on May 21, 2026 at 9:56 am

    You trained your neural network on only coins, I assume.

    That is the problem. If you want your neural network to classify things that are not coins. You have to train it with images that are not coins. This is a big problem, because there are infinitely many images that are not coins. Neural networks, despite its misleading name, is only as smart as your training data.

    The easier way to do this would be to come up with some algorithms to classify things that are not coins before you use your neural network. (For example, you could detect to see if there are any circles in the image)

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

Sidebar

Related Questions

I have trained xor neural network in MATLAB and got these weights: iw: [-2.162
I have a well trained neural network consisting of about 40 input neurons and
I have a restfull webservice that requires loading trained model files and to create
I have an AI project, which uses a Backpropagation neural network. It is training
For my graduate research I am creating a neural network that trains to recognize
I have a neural network n pybrain,with two inputs,a hidden layer and a output
i have a trained j48 classifier and i want to classify one record by
I have trained a NN with Back Propagation algorithm and calculated the MSE. Now
I have a trained and pickled NLTK tagger (Brill's transformational rule-based tagger). I want
I have trained a bunch of RBF SVMs using scikits.learn in Python and then

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.