Phil 4.7.17

7:15 – 8:15 Research

  • So this happened: Dozens of U.S. Missiles Hit Air Base in Syria. Wonder how it will play out. Like Infinite Reach? That actually had more justification, since Americans were killed in the preceding events…
  • Direction matching for sparse movement datasets: determining interaction rules in social groups Data is here, in the very cool Movebank. Reminds me of GLOBE
  • Still working on getting paper submitted. Word is hanging, which is weird.
  • The APS journal submissions login page is here
  • Length Check
    Please be aware that this is only an estimate and meant to help avoid delays associated with excessive length.
    
    Journal/article type is not length constrained (4281)
    
     *** Word count calculation may be inaccurate for the following reasons ***
       * No acknowledgment environment found - acknowledgments may have been counted
       * No bibliography environment found - references may have been counted
    
      Figure   Aspect Ratio   Wide?   Word Equivalent
         1         1.33         No        132
         2         0.98         No        173
         3         0.93         No        181
         4         1.01         No        168
         5         1.75         No        105
         6         1.67         No        109
         7         2.99         No         70
         8         1.22         No        142
         9         0.95         No        177
        10         1.66         No        110
    
    WORD COUNT SUMMARY
        Note: Text word count excludes title, abstract, byline, PACS,
              receipt date, acknowledgments, and references.
    
                  Text word count   2914 
            Equations word equiv.      0 
              Figures word equiv.   1367
               Tables word equiv.      0
                                  ------
                           TOTAL    4281 (Maximum length is unlimited)
  • Getting PDF conversion errors. Not sure what to do next…
    WARNING: Supplemental file: ModelingGroupPolarizationNotes.bib.
    Checking figure order in 'ModelingGroupPolarization.tex'...
    PDF file creation failed:
    ERROR: Following figure files not called into TeX:
    DTWmatrix.png,toolScreenshot.png,ExplorerPDF.png
    AND TeX file calls in the following missing figure files:
    toolscreenshot.png,explorerPDF.png,DTWMatrix.png
    Please check and fix these file names.

8:30 – 2:30 BRC

  • Imperative programming in TensorFlow
  • Working on reading in the old integrity as a DataFrame from Excel
  • Had to install xlrd
  • TypeError: Image data can not convert to float. This pattern seems useful:
    mat = df.as_matrix()  # get the data matrix
    mat = mat.astype(np.float64)  # force it to float64
    df.update(mat)  # replace the 'float' mat with the 'float64' mat
  • Well, it was before, but now it won’t update the int64 to float 64. This worked though. When in doubt build a new mat
    mat = mat.astype(np.float64)  # force it to float64
    indices = df.index.values
    cols = df.columns.values
    df = pandas.DataFrame(mat, indices, cols)
  • Got the data in though. Interesting.This is the densest corner of the sorted matrix: integrity
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: