(self)
| 13 | class Softmax(object): |
| 14 | |
| 15 | def __init__(self): |
| 16 | self.learning_step = 0.000001 # 学习速率 |
| 17 | self.max_iteration = 100000 # 最大迭代次数 |
| 18 | self.weight_lambda = 0.01 # 衰退权重 |
| 19 | |
| 20 | def cal_e(self,x,l): |
| 21 | ''' |
nothing calls this directly
no outgoing calls
no test coverage detected