摘要:
1 import numpy as np 2 3 4 class Perceptron(object): 5 """Perceptron classifier. 6 7 Parameters 8 9 eta : float 10 Learning rate (between 0.0 and 1.0) 阅读全文
摘要:
Python3之切片及内置切片函数slice 转自:https://www.cnblogs.com/minseo/p/11113638.html 博主:minseo 切片 取一个list或tuple的部分元素是非常常见的操作。比如,一个list 1 L=[0,1,2,3,4,5,6,7,8,9] 取 阅读全文