sigmoid function value for parameter a and b

Please can someone help me with sigmoid function. Please can anyone tell me what values i should give for a and b so that i get for
y0=sigmf(0,[a b]) % y0 value less than 0.5
and for
y1=sigmf(1,[a b]) % y1 value greater than 0.5

 채택된 답변

Jan
Jan 2013년 8월 21일
편집: Jan 2013년 8월 21일

1 개 추천

According to my calculations you have to pick 0<b<1 and a>0.
E.g. b=1/2 and a=1

댓글 수: 2

Jan
Jan 2013년 8월 21일
Laurent was obviously a bit faster than me doing the math, but it's nice to have a result double checked :)
Elysi Cochin
Elysi Cochin 2013년 8월 22일
thank you all

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Laurent
Laurent 2013년 8월 21일
편집: Laurent 2013년 8월 21일

1 개 추천

Well, if the only requirement is that y0 < 0.5 for x=0 and y1 > 0.5 for x=1, then for 0 < b < 1 and a > 0 it should work.

댓글 수: 1

Elysi Cochin
Elysi Cochin 2013년 8월 21일
sir for x = 0, it should be a value less than 0.5 and for x = 1, it should be a value greater than 0.5
such a value i need for a and b

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Functions에 대해 자세히 알아보기

태그

질문:

2013년 8월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by