MCPcopy Create free account
hub / github.com/WenDesi/lihang_book_algorithm / __init__

Method __init__

softmax/softmax.py:15–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13class 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 '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected