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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:35:01+00:00 2026-05-30T04:35:01+00:00

I need to train a network to multiply or add 2 inputs, but it

  • 0

I need to train a network to multiply or add 2 inputs, but it doesn’t seem to approximate well for all points after 20000
iterations. More specifically, I train it on the whole dataset and it approximates well for the last points, but it seems
like it isn’t getting any better for the first endpoints. I normalize the data so that it is between -0.8 and 0.8. The
network itself consists of 2 inputs 3 hidden neurons and 1 output neuron. I also set the network’s learning rate to 0.25,
and use as a learning function tanh(x).

It approximates really well for points that are trained last in the dataset, but for the first points it seems like it
can’t approximate well. I wonder what it is, that isn’t helping it adjust well, whether it is the topology I am using, or
something else?

Also how many neurons are appropriate in the hidden layer for this network?

  • 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-30T04:35:03+00:00Added an answer on May 30, 2026 at 4:35 am

    Think about what would happen if you replaced your tanh(x) threshold function with a linear function of x – call it a.x – and treat a as the sole learning parameter in each neuron. That’s effectively what your network will be optimising towards; it’s an approximation of the zero-crossing of the tanh function.

    Now, what happens when you layer neurons of this linear type? You multiply the output of each neuron as the pulse goes from input to output. You’re trying to approximate addition with a set of multiplications. That, as they say, does not compute.

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

Sidebar

Related Questions

I need to train a neural network with 2-4 hidden layers, not sure yet
I have someone I need to train in Java. That person is well versed
The code below does what I need it to do, but it looks like
I developed a neural network to train for face detection of the extracted images.
I need help modeling a train system (like a subway system) in SimPy, the
I need to download jasper reports professional trail version, can anyone help?
I'm writing a report view of an audit trail, and I need to display
Need a function that takes a character as a parameter and returns true if
Need a way to allow sorting except for last item with in a list.
Need to an expression that returns only things with an I followed by either

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.