Sequence Sequence iterable objects visited through index __len__() len() Sequence's basic operation Sequence objects have a method named __getite ...
Numpy Note 2
Ndarray object's internal principle a pointer to array dtype shape (tuple) stride np.ones((3, 4, 5), dtype = np.float64).stride Advanced array opera ...
Network Segment
A example of network class Network(object): def __init__(self, *arg, **kwargs): # .. yada yada, initialize weight and biases def feedforward(self, a) ...
Numpy Note 1
Numpy is the fundamental package for scientific computing with Python. It contains among other things: a powerful N-dimensional array object sophisti ...
Elo Rating System
If Player \(A\) has a rating of \(R_{A}\) and Player \(B\) a rating of \(R_{B}\), the exact formula (using the logistic curve) for the expected score ...