9302d6f56cb836b95e357ed533a3d3aaed4f4016,pyriemann/tangentspace.py,FGDA,fit_transform,#FGDA#,58

Before Change


       W = self._lda.coef_
       self._W = numpy.dot(numpy.dot(W.T,numpy.linalg.pinv(numpy.dot(W,W.T))),W)
       ts = numpy.dot(ts,self._W)
       cov = self._ts.inverse_transform(ts)
       return cov

After Change



    def fit_transform(self,X,y=None):
        ts = self._fit_lda(X,y)
        return self._retro_project(ts)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: alexandrebarachant/pyRiemann
Commit Name: 9302d6f56cb836b95e357ed533a3d3aaed4f4016
Time: 2015-05-16
Author: alexandre.barachant@gmail.com
File Name: pyriemann/tangentspace.py
Class Name: FGDA
Method Name: fit_transform


Project Name: alexandrebarachant/pyRiemann
Commit Name: 9302d6f56cb836b95e357ed533a3d3aaed4f4016
Time: 2015-05-16
Author: alexandre.barachant@gmail.com
File Name: pyriemann/tangentspace.py
Class Name: FGDA
Method Name: transform


Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: d68beca6f553622b92f2709cf984023dbf284e98
Time: 2016-12-23
Author: alfred.francis@pearldatadirect.com
File Name: core/intentClassifier.py
Class Name: IntentClassifier
Method Name: predict