7b396c3afd79e294694af0200c4bf5b5674707e4,spectral/tests/spymath.py,SpyMathTest,setup,#SpyMathTest#,47
Before Change
import spectral as spy
self.data = spy.open_image("92AV3C.lan").open_memmap()
self.C = spy.calc_stats(self.data).cov
self.X = np.random.rand(100, 100)
def test_matrix_sqrt(self):
from spectral.algorithms.spymath import matrix_sqrt
S = matrix_sqrt(self.X)
After Change
import spectral as spy
self.data = spy.open_image("92AV3C.lan").open_memmap()
self.C = spy.calc_stats(self.data).cov
self.X = np.array([[2., 1.],[1., 2.]])
def test_matrix_sqrt(self):
from spectral.algorithms.spymath import matrix_sqrt
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: spectralpython/spectral
Commit Name: 7b396c3afd79e294694af0200c4bf5b5674707e4
Time: 2014-09-07
Author: thomas.boggs@gmail.com
File Name: spectral/tests/spymath.py
Class Name: SpyMathTest
Method Name: setup
Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1d62b0c431c821671ef8f251d14cc8ae79b93c76
Time: 2017-03-30
Author: g.lemaitre58@gmail.com
File Name: examples/ensemble/plot_balance_cascade.py
Class Name:
Method Name:
Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1d62b0c431c821671ef8f251d14cc8ae79b93c76
Time: 2017-03-30
Author: g.lemaitre58@gmail.com
File Name: examples/ensemble/plot_easy_ensemble.py
Class Name:
Method Name: