perceptron.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:AI-PacMan-Projects 作者: deepeshmittal 项目源码 文件源码
def __init__( self, legalLabels, max_iterations):
        self.legalLabels = legalLabels
        self.type = "perceptron"
        self.max_iterations = max_iterations
        self.weights = {}
        for label in legalLabels:
            self.weights[label] = util.Counter() # this is the data-structure you should use
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号