sigmoid函数
之前看了一篇文章,里面需要编辑一个公式

这个公式我在其他论文里也有见过。在用matlab实现这个公式时,我发现在matlab中,没有直接的sigmoid函数,而是通过设置sigmf函数的相关参数,得到sigmoid函数的效果:
以下内容摘自MATLAB的help文件。
sigmf
Sigmoidally shaped built-in membership function
Syntax
y = sigmf(x,[a
c])
Description
The sigmoidal function, sigmf(x,[a
c]), as given in the following equation by f(x,a,c) is a mapping on
a vector x, and depends on two parameters a and
c.

Depending on the sign of the parameter a, the
sigmoidal membership function is inherently open to the right or to
the left, and thus is appropriate for representing concepts such as
"very large" or "very negative." More conventional-looking
membership functions can be built by taking either the product or
difference of two different sigmoidal membership functions. For
more information
seedsigmf and psigmf.
相对于上面提到的公式,sigmf函数中,a=1,c=0;
即sigmoid(x)=sifmf(x,[1,0])
到此这篇sigmf函数(sigmond函数)的文章就 介绍到这了,更多相关内容请继续浏览下面的相关 推荐文章,希望大家都能在 编程的领域有一番成就!版权声明:
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权、违法违规、事实不符,请将相关资料发送至xkadmin@xkablog.com进行投诉反馈,一经查实,立即处理!
转载请注明出处,原文链接:https://www.xkablog.com/haskellbc/36105.html