Skip to content

A bit unclear on the dimensions of the "times" array #9

Description

@hedgy123

Hello,

I am trying to reproduce your drosophila example. I was unable to get the kalinka dataset through urlretrieve but I got it from a thread on the GP's github page. Unfortunately, I get stuck here:

replicates, times = np.loadtxt('/Users/n593117/GPclust/data/kalinka09_pdata.csv', delimiter=',').T

with this error:

  /Library/Python/2.7/site-packages/numpy/lib/npyio.pyc in floatconv(x)
    657         if b'0x' in x:
    658             return float.fromhex(asstr(x))
--> 659         return float(x)
    660 
    661     typ = dtype.type

 ValueError: could not convert string to float: an

This is too bad because now I can't print out 'times', and I am a bit confused as to what the dimensions of 'times' are supposed to be. At first I thought it would be just a 57x1 array for the 57 time values, but I think it's a bit more involved than that. Could you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions