878be5344a7cca66858ba82981713099bde5f12f,python/examples/hypertools_demo-PPCA.py,,,#,4

Before Change



data1 = np.array(np.random.random((10,10)))
data1[1,0]=np.nan
data2 = np.array(np.random.random((10,10)))
data2[5,5]=np.nan
hyp.plot([data1,data2])

After Change


from copy import copy
import hypertools as hyp

K = 10 - toeplitz(np.arange(10))

data1 = np.cumsum(np.random.multivariate_normal(np.zeros(10), K, 250), axis=0)
data2 = copy(data1)
sample_inds = np.random.choice(data2.shape[0], data2.shape[0]*.1)
for sample in sample_inds:
    data2[sample,:]=np.nan

print(data2[sample,0])
hyp.plot([data1,data2])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: ContextLab/hypertools
Commit Name: 878be5344a7cca66858ba82981713099bde5f12f
Time: 2016-12-19
Author: andrew.heusser@gmail.com
File Name: python/examples/hypertools_demo-PPCA.py
Class Name:
Method Name:


Project Name: osmr/imgclsmob
Commit Name: 09e4a76102ff4a06a835180237ea171eb475985c
Time: 2018-09-19
Author: osemery@gmail.com
File Name: keras_/models/mobilenet.py
Class Name:
Method Name: _test


Project Name: ContextLab/hypertools
Commit Name: edaf3f4c2303b8c0364266d092335733b66ffbd0
Time: 2016-12-19
Author: andrew.heusser@gmail.com
File Name: python/examples/hypertools_demo-PPCA.py
Class Name:
Method Name: