Phil 5.18.20

Call RV repair – done!

D20

  • Aaron started to poke around in his code again and has some thoughts about how to get the sensitivity we need. I realize that the display that we’re working out will be a good dashboard for seeing second waves. We had a good chat on this and the advantage of using multiple sampling windows, possibly of 7, 14, 30 and all days to get a sense of where things are going.
  • Georgia seems to be heading back up?

Georgia

#COVID

  • Public Health and Online Misinformation: Challenges and Recommendations
    • The internet has become a popular resource to learn about health and to investigate one’s own health condition. However, given the large amount of inaccurate information online, people can easily become misinformed. Individuals have always obtained information from outside the formal health care system, so how has the internet changed people’s engagement with health information? This review explores how individuals interact with health misinformation online, whether it be through search, user-generated content, or mobile apps. We discuss whether personal access to information is helping or hindering health outcomes and how the perceived trustworthiness of the institutions communicating health has changed over time. To conclude, we propose several constructive strategies for improving the online information ecosystem. Misinformation concerning health has particularly severe consequences with regard to people’s quality of life and even their risk of mortality; therefore, understanding it within today’s modern context is an extremely important task.

GPT-2 Agents

  • Finish up PGNtoEnglish?
  • Oops, had the black queen in the wrong place
  • Got it working for one game. Need to try out a bunch next!
    Moves:
    [1] expanded: 
    	white:  Fred Van der Vliet moves white pawn from d2 to d4.
    	black:  Loek Van Wely moves black knight from g8 to f6.
    	this is a comment
    
    [2] expanded: 
    	white:  Fred Van der Vliet moves white pawn from c2 to c4.
    	black:  Loek Van Wely moves black pawn from g7 to g6.
    
    [3] expanded: 
    	white:  Fred Van der Vliet moves white pawn from g2 to g3.
    	black:  Loek Van Wely moves black bishop from f8 to g7.
    
    [4] expanded: 
    	white:  Fred Van der Vliet moves white bishop from f1 to g2.
    	black:  Loek Van Wely kingside castles.
    
    [5] expanded: 
    	white:  Fred Van der Vliet moves white knight from g1 to f3.
    	black:  Loek Van Wely moves black pawn from c7 to c6.
    
    [6] expanded: 
    	white:  Fred Van der Vliet kingside castles.
    	black:  Loek Van Wely moves black pawn from d7 to d6.
    
    [7] expanded: 
    	white:  Fred Van der Vliet moves white knight from b1 to c3.
    	black:  Loek Van Wely moves black knight from b8 to d7.
    
    [8] expanded: 
    	white:  Fred Van der Vliet moves white pawn from e2 to e4.
    	black:  Loek Van Wely moves black pawn from e7 to e5.
    
    [9] expanded: 
    	white:  Fred Van der Vliet moves white pawn from h2 to h3.
    	black:  Loek Van Wely moves black rook from f8 to e8.
    
    [10] expanded: 
    	white:  Fred Van der Vliet moves white rook from f1 to e1.
    	black:  Loek Van Wely moves black queen from d8 to b6.
    
    [11] expanded: 
    	white:  Fred Van der Vliet moves white pawn from d4 to d5.
    	black:  Loek Van Wely moves black knight from d7 to c5.
    
    [12] expanded: 
    	white:  Fred Van der Vliet moves white rook from a1 to b1.
    	black:  Loek Van Wely moves black pawn from a7 to a5.
    
    [13] expanded: 
    	white:  Fred Van der Vliet moves white bishop from c1 to e3.
    	black:  Loek Van Wely moves black queen from b6 to c7.
    
    [14] expanded: 
    	white:  Fred Van der Vliet moves white knight from f3 to d2.
    	black:  Loek Van Wely moves black knight from f6 to h5.
    
    [15] expanded: 
    	white:  Fred Van der Vliet moves white queen from d1 to e2.
    	black:  Loek Van Wely moves black pawn from h7 to h6.
    
    [16] expanded: 
    	white:  Fred Van der Vliet moves white pawn from d5 to c6. White takes black pawn.
    	black:  Loek Van Wely moves black queen from c7 to c6. Black takes white pawn.
    
    [17] expanded: 
    	white:  Fred Van der Vliet moves white knight from c3 to d5.
    	black:  Loek Van Wely moves black bishop from c8 to e6.
    
    [18] expanded: 
    	white:  Fred Van der Vliet moves white rook from e1 to c1.
    	black:  Loek Van Wely moves black king from g8 to h7.
    
    [19] expanded: 
    	white:  Fred Van der Vliet moves white pawn from b2 to b3.
    	black:  Loek Van Wely moves black rook from e8 to b8.
    
    [20] expanded: 
    	white:  Fred Van der Vliet moves white pawn from a2 to a3.
    	black:  Loek Van Wely moves black pawn from b7 to b6.
    
    [21] expanded: 
    	white:  Fred Van der Vliet moves white king from g1 to h2.
    	black:  Loek Van Wely moves black queen from c6 to c8.
    
    [22] expanded: 
    	white:  Fred Van der Vliet moves white pawn from f2 to f4.
    	black:  Loek Van Wely moves black pawn from e5 to f4. Black takes white pawn.
    
    [23] expanded: 
    	white:  Fred Van der Vliet moves white pawn from g3 to f4. White takes black pawn.
    	black:  Loek Van Wely moves black rook from a8 to a7.
    
    [24] expanded: 
    	white:  Fred Van der Vliet moves white knight from d5 to c3.
    	black:  Loek Van Wely moves black queen from c8 to d8.
    
    [25] expanded: 
    	white:  Fred Van der Vliet moves white knight from c3 to b5.
    	black:  Loek Van Wely moves black rook from a7 to d7.
    
    [26] expanded: 
    	white:  Fred Van der Vliet moves white pawn from b3 to b4.
    	black:  Loek Van Wely moves black pawn from a5 to b4. Black takes white pawn.
    
    [27] expanded: 
    	white:  Fred Van der Vliet moves white pawn from a3 to b4. White takes black pawn.
    	black:  Loek Van Wely moves black knight from c5 to a6.
    
    [28] expanded: 
    	white:  Fred Van der Vliet moves white knight from d2 to f3.
    	black:  Loek Van Wely moves black queen from d8 to f6.
    
    [29] expanded: 
    	white:  Fred Van der Vliet moves white queen from e2 to d2.
    	black:  Loek Van Wely moves black rook from b8 to c8.
    
    [30] expanded: 
    	white:  Fred Van der Vliet moves white knight from b5 to d6. White takes black pawn.
    	black:  Loek Van Wely moves black bishop from e6 to c4. Black takes white pawn.
    
    [31] expanded: 
    	white:  Fred Van der Vliet moves white pawn from e4 to e5.
    	black:  Loek Van Wely moves black queen from f6 to d8.
    
    [32] expanded: 
    	white:  Fred Van der Vliet moves white pawn from b4 to b5.
    	black:  Loek Van Wely moves black knight from a6 to b8.
    
    [33] expanded: 
    	white:  Fred Van der Vliet moves white queen from d2 to b4.
    	black:  Loek Van Wely moves black rook from d7 to d6. Black takes white knight.
    
    [34] expanded: 
    	white:  Fred Van der Vliet moves white pawn from e5 to d6. White takes black rook.
    	black:  Loek Van Wely moves black bishop from c4 to d3.
    
    [35] expanded: 
    	white:  Fred Van der Vliet moves white rook from c1 to c8. White takes black rook.
    	black:  Loek Van Wely moves black queen from d8 to c8. Black takes white rook.
    
    [36] expanded: 
    	white:  Fred Van der Vliet moves white rook from b1 to d1.
    	black:  Loek Van Wely moves black bishop from d3 to e2.
    
    [37] expanded: 
    	white:  Fred Van der Vliet moves white rook from d1 to c1.
    	black:  Loek Van Wely moves black queen from c8 to e8.
    
    [38] expanded: 
    	white:  Fred Van der Vliet moves white bishop from e3 to b6. White takes black pawn.
    	black:  Loek Van Wely moves black bishop from e2 to f3. Black takes white knight.
    
    [39] expanded: 
    	white:  Fred Van der Vliet moves white bishop from g2 to f3. White takes black bishop.
    	black:  Loek Van Wely moves black knight from h5 to f4. Black takes white pawn.
    
    [40] expanded: 
    	white:  Fred Van der Vliet moves white rook from c1 to e1.
    	black:  Loek Van Wely moves black bishop from g7 to e5.
    
    [41] expanded: 
    	white:  Fred Van der Vliet moves white rook from e1 to e5. White takes black bishop.
    	black:  Loek Van Wely moves black queen from e8 to e5. Black takes white rook.
    
    [42] expanded: 
    	white:  Fred Van der Vliet moves white queen from b4 to d4.
    	black:  Loek Van Wely moves black queen from e5 to b5. Black takes white pawn.
    
    [43] expanded: 
    	white:  Fred Van der Vliet moves white queen from d4 to f4. White takes black knight.
    	black:  Loek Van Wely moves black queen from b5 to b6. Black takes white bishop.
    
    [44] expanded: 
    	white:  Fred Van der Vliet moves white queen from f4 to f7. Check. White takes black pawn.
    	black:  Loek Van Wely moves black king from h7 to h8.
    
    [45] expanded: 
    	white:  Fred Van der Vliet moves white queen from f7 to f6. Check.
    	black:  Loek Van Wely moves black king from h8 to h7.
    
    [46] expanded: 
    	white:  Fred Van der Vliet moves white bishop from f3 to e4.
    	black:  Loek Van Wely moves black queen from b6 to a7.
    
    [47] expanded: 
    	white:  Fred Van der Vliet wins!
    	black:  Loek Van Wely resigns.
    
    
    
    Process finished with exit code 0
    

GOES

  • See if I can get a GAN running with the new parts. I am not convinced that the input vector and times series are set up right. I probably need to set up for testing that as a parameter as well.
  • Still, they seem reasonable. For testing, I have an input vector of 5 and 10 samples, like so:
    [[ 0.99611333]
      [-0.49462109]
      [-0.58444332]
      [ 0.98104957]
      [-0.23207803]]
    
     [[ 0.70418362]
      [ 0.35257367]
      [-0.99762846]
      [ 0.47774618]
      [ 0.60000333]]
  • My latent matrix is 4 wide by 10 samples, arranged like so:
    [  2.46776301  17.36723783  -3.05622169 -15.7807726 ]
     [  4.73444423 -13.03790398  -0.04382812 -17.16272464]
  • And my predicts seem reasonable, and they match the real data exactly, both from the Dense->CNN and the Dense versions
  • Dense (2 steps of 5-feature vector)
    [[-1.        ]
      [ 1.        ]
      [-1.        ]
      [-1.        ]
      [ 1.        ]]
    
     [[-0.845926  ]
      [ 0.98410994]
      [-0.9970485 ]
      [-0.99517673]
      [ 0.910765  ]]
  • Dense->CNN (2 steps of 5-feature vector)
    [[ 0.9974974 ]
      [-0.7852714 ]
      [-0.8944576 ]
      [ 0.99998605]
      [-0.34316158]]
    
     [[-0.9874317 ]
      [-0.90552104]
      [ 0.95992273]
      [ 0.8134167 ]
      [-0.94480175]]
  • And all the predicts from the detector have the same form of (10, 1):
    [[0.5464545 ]
     [0.5419694 ]
     [0.5464503 ]
     [0.5464593 ]
     [0.5464545 ]
     [0.5462216 ]
     [0.45328763]
     [0.541866  ]
     [0.48022035]
     [0.54643464]]
  • So I think I’m just going to try to build a OneDGAN2 class, evaluate that, and then if it’s working well, build a NoiseGAN2 class and use that for the paper/presentation
  • Back to being able to draw plots, which means that the model is being created without blowing up!

Noise_untrained

  • So I made some changes, basically added many more samples, played around with the size of the latent space and so forth. And I got a very unusual result when looking at the untrained model:

Noise_untrained

  • I think this may be related to the use of a dense layer between the latent data and the Conv1D. Need to do some more reading, I guess.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.