Skip to content

RBF_TRAIN.py中注释和代码不相同的问题 #1

Description

@Helenology

您在linear函数里面的注释显示要将输入的x进行Sigmoid变换后再输出,但是代码里显示的是直接输出x了:
您的原代码如下:
def linear(x):
'''Sigmoid函数(输出层神经元激活函数)
input: x(mat/float):自变量,可以是矩阵或者是任意实数
output: Sigmoid值(mat/float):Sigmoid函数的值
'''
return x

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions