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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:08:40+00:00 2026-05-29T08:08:40+00:00

The output layer of my neural network (3 layered) is using sigmoid as activation

  • 0

The output layer of my neural network (3 layered) is using sigmoid as activation which outputs only in range [0-1]. However, if I want to train it for outputs that are beyond [0-1], say in thousands, what should I do?

For example if I want to train

input —-> output

0 0 ——> 0

0 1 ——> 1000

1000 1 —-> 1

1 1 ——-> 0

My program works for AND, OR, XOR etc. As input output are all in binary.

There were some suggestion to use,

Activation:


y = lambda*(abs(x)1/(1+exp(-1(x))))

Derivative of activation:


lambda*(abs(y)y(1-y))

This did not converge for the mentioned training pattern (if I have not done anything wrong). Are there any suggestion please?

  • 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-29T08:08:40+00:00Added an answer on May 29, 2026 at 8:08 am

    For classification problems, it is customary to use a sigmoid/logistic activation function in the output layer to get proper probability values in the range [0,1]; coupled with 1-of-N encoding for multi-class classification, each node output would represent the probability of the instance belonging to each class value.

    On the other hand, if you have a regression problem, there is no need to apply additional functions on the output, and you can just take the raw linear combination output. The network will automatically learn the weights to give whatever output values you have (even in the thousands).

    What you should also be careful about is to scale the input features (by normalizing all features to the range [-1,1] for example).

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

Sidebar

Related Questions

I have a neural network n pybrain,with two inputs,a hidden layer and a output
I have to implement a single layer neural network or perceptron.For this, I have
Below is my code for a neural network,with 3 inputs and 1 hidden layer
Is it a good practice to use sigmoid or tanh output layers in Neural
I am creating a neural network using MATLAB (version specified in title). After reading
I guess my question is very simple, but anyway... I've created neural network using
When designing a feed forward neural network with multiple outputs, is there a conceptual
How to create a common DAL layer method for stored procedure which has output
I got a neural network that is meant to do backpropagation. I've been using
If I have a three layer neural network and if I have 3 input

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.