Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program that generates 10 random number between [-1,1] to compute sigmoid function 1/1+exp(-av) where (a) is slop and value of (a) will

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Write a C++ program that generates 10 random number between [-1,1] to compute sigmoid function 1/1+exp(-av) where (a) is slop and value of (a) will be get from the user? example for output Enter the value of slop 2 The random number generated between [-1,1] are: 0.1 -0.2 -1 10.7 -0.3 0.5 0.6 0.8 0.8 0.9 The result of the the sigmoid function: V- 0.1 computed sigmoid function 0.549834 -0.2 computed sigmoid function 0.40131234 -1 computed sigmoid function computed sigmoid function 0.11920292 computed sigmoid function 0.88079708 0.7 computed sigmoid function 0.80218389 -0.3 computed sigmoid function 0.35434369 computed sigmoid function 0.35434369 VF 0.5 computed sigmoid function 0.73105858 0.6 computed sigmoid functions 0.76852478 0.8 computed sigmoid function 0.16798161 -0.8 computed sigmoid function- 0.16798161 0.9 computed sigmoid function = 0.85814894

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A Complete Guide To Data Science Essentials

Authors: Miguel

1st Edition

9358684992, 978-9358684995

More Books

Students also viewed these Databases questions

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago

Question

2. Discuss the types of messages that are communicated nonverbally.

Answered: 1 week ago