be73e6cacf409e7b7b4a919f630e06c3d5f4af85,mlxtend/classifier/perceptron.py,Perceptron,fit,#Perceptron#Any#Any#Any#,56
Before Change
" class labels {0, 1} or {-1, 1}.")
if init_weights:
self._init_weights(shape=X.shape[1]+1)
self.cost_ = []
// learn weights
After Change
" class labels {0, 1} or {-1, 1}.")
if init_weights:
self.w_ = self._init_weights(shape=1 + X.shape[1],
zero_init_weight=self.zero_init_weight,
seed=self.random_seed)
self.cost_ = []
// learn weights
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: rasbt/mlxtend
Commit Name: be73e6cacf409e7b7b4a919f630e06c3d5f4af85
Time: 2016-03-16
Author: mail@sebastianraschka.com
File Name: mlxtend/classifier/perceptron.py
Class Name: Perceptron
Method Name: fit
Project Name: rasbt/mlxtend
Commit Name: be73e6cacf409e7b7b4a919f630e06c3d5f4af85
Time: 2016-03-16
Author: mail@sebastianraschka.com
File Name: mlxtend/classifier/perceptron.py
Class Name: Perceptron
Method Name: fit
Project Name: rasbt/mlxtend
Commit Name: be73e6cacf409e7b7b4a919f630e06c3d5f4af85
Time: 2016-03-16
Author: mail@sebastianraschka.com
File Name: mlxtend/classifier/adaline.py
Class Name: Adaline
Method Name: fit
Project Name: rasbt/mlxtend
Commit Name: 9804bad1775b284d22e7423375df4a63364548f4
Time: 2016-03-07
Author: mail@sebastianraschka.com
File Name: mlxtend/classifier/adaline.py
Class Name: Adaline
Method Name: fit
Project Name: rasbt/mlxtend
Commit Name: 9804bad1775b284d22e7423375df4a63364548f4
Time: 2016-03-07
Author: mail@sebastianraschka.com
File Name: mlxtend/classifier/perceptron.py
Class Name: Perceptron
Method Name: fit