I know it seems like an artifact from another time, but the map is coming along. Here’s the us, based on 14 day trend in reported deaths:
Neural networks learning how to talk to each other. Need to see if there are any publications:
GPT-2 Agents
white uses the Nimzo-Indian opening. and black countering with 4.e3, Gligoric system with 7...dc. White moves pawn from d2 to d4. Black moves knight from g8 to f
GOES
All the writes are working. I’ll do the reads Monday. Everything looks pretty consistent, though.
GPT-2 Agents

GOES
ML Brownbag – Aaron did a nice job
“When the students poured into Tiananmen Square, the Chinese government almost blew it. Then they were vicious, they were horrible, but they put it down with strength. That shows you the power of strength” – Donald Trump, 1990
GPT-2 Agents
text_list = ['The game begins as ',
'White moves ',
'Black moves ',
'In move 1, ',
'In move 40, ']
GOES
#COVID

Remember when all we had to worry about dealing with a pandemic? Good times.
GPT-2 Agents

GOES
ML seminar

It’s all been a bit much recently, so yesterday I took advantage of the wonderful weather and went on a long ride with a few friends.
D20 – Nagged Zach with this image. He responses generally were “It is generally pretty optimistic around here”, and “According to google is is getting better. I wonder where their data comes from”.

GPT-2 Agents
GOES
Google is profiting from dozens of websites that peddle hoaxes and conspiracy theories about Covid-19, according to a Tech Transparency Project (TTP) investigation, revealing a major hole in the company’s claims that it’s fighting misinformation about the pandemic.
Race/police riots. We’re not even halfway through the year
GPT-2 Agents
1. h4 h5 2. Rh3 Rh6 3. Ra3 Ra6 4. Rh3 Rh6 5. 1/2-1/2
Game.parse_moves(): Move1 = ' h4 h5 ' Evaluating move [h4 h5] piece string = '' (blank is pawn) piece string = '' (blank is pawn) Game.parse_moves(): Move2 = ' Rh3 Rh6 ' Evaluating move [Rh3 Rh6] piece string = 'R' (blank is pawn) piece string = 'R' (blank is pawn) Game.parse_moves(): Move3 = ' Ra3 Ra6 ' Evaluating move [Ra3 Ra6] piece string = 'R' (blank is pawn) Chessboard.check_if_clear() white rook is blocked by white pawn piece string = 'R' (blank is pawn) Chessboard.check_if_clear() black rook is blocked by black pawn Game.parse_moves(): Move4 = ' Rh3 Rh6 ' Evaluating move [Rh3 Rh6] piece string = 'R' (blank is pawn) piece string = 'R' (blank is pawn) Game.parse_moves(): Move5 = ' 1/2-1/2' Evaluating move [1/2-1/2] The game begins as white uses the Polish (Sokolsky) opening opening. Aye Bee moves white pawn from h2 to h4. Black moves pawn from h7 to h5. White moves rook from h1 to h3. Cee Dee moves black rook from h8 to h6. White moves rook from h3 to a3. Black moves rook from h6 to a6. Aye Bee moves white rook from a3 to h3. Black moves rook from a6 to h6. In move 5, Aye Bee declares a draw. Cee Dee declares a draw
1. h4 h5 2. Rh3 Rh6 3. Ra3 Ra6 4. Rxa6 c6 5. Ra3 d6 6. Rh3 e6 7. Rh1 f6 8. 1/2-1/2
The game begins as white uses the Polish (Sokolsky) opening opening. White moves pawn from h2 to h4. Black moves pawn from h7 to h5. Aye Bee moves white rook from h1 to h3. Black moves rook from h8 to h6. In move 3, White moves rook from h3 to a3. Black moves rook from h6 to a6. White moves rook from a3 to a6. White takes black rook. Black moves pawn from c7 to c6. In move 5, White moves rook from a6 to a3. Black moves pawn from d7 to d6. White moves rook from a3 to h3. Black moves pawn from e7 to e6. In move 7, White moves rook from h3 to h1. Black moves pawn from f7 to f6. In move 8, Aye Bee declares a draw. Cee Dee declares a draw
D20 – Ping Zach. Made contact. Asked for a date to have the maps up or cut bait.
GOES
GPT-2 Agents
1. Nf3 Nf6 2. g3 c5 3. Bg2 Nc6 4. O-O e5 5. e4 Nxe4 6. Re1 Nf6 7. Nxe5 Be7 8. c4 O-O 9. Nc3 Nxe5 10. Rxe5 d6 11. Re1 Be6 12. Bxb7 Rb8 13. Bg2 Bxc4 14. d4 Be6 15. b3 Rb4 16. dxc5 dxc5 17. Qxd8 Rxd8 18. Ba3 Rbb8 19. Na4 Rdc8 20. Rac1 Nd7 21. Bd5 Bxd5 22. Rxe7 Bc6 23. Nxc5 Nxc5 24. Rxc5 a6 25. f4 h6 26. Kf2 Bb5 27. Ke3 Rd8 28. Rcc7 Rd3+ 29. Ke4 Rd2 30. Rxf7 Re8+ 31. Kf5 Bd3+ 32. Kg4 Rxh2 33. Rxg7+ Kh8 34. Bd6 Rf2 35. Bc5 Rd2 36. Bb4 Rc2 37. Rxc2 Kxg7 38. Rc7+ Kg6 39. Rc6+ Kf7 40. Rxh6 Re2 41. Rd6 Re3 42. Kh4 Be2 43. g4 Rf3 44. Rd4 Rf2 45. Kg5 1-0

def check_if_clear(self, loc:Tuple, candidate:Tuple, piece:PIECES) -> bool:
if piece == PIECES.WHITE_PAWN or piece == PIECES.BLACK_PAWN:
return True
if piece == PIECES.WHITE_KNIGHT or piece == PIECES.BLACK_KNIGHT:
return True
if piece == PIECES.WHITE_KING or piece == PIECES.BLACK_KING:
return True
c_col_i = self.char_index.index(candidate[0])
c_row_i = self.num_index.index(candidate[1])
l_col_i = self.char_index.index(loc[0])
l_row_i = self.num_index.index(loc[1])
col_dist = l_col_i - c_col_i
row_dist = l_row_i - c_row_i
dist = max(abs(col_dist), abs(row_dist))
col_vec = 0
row_vec = 0
if col_dist != 0:
col_vec = col_dist/dist
if row_dist != 0:
row_vec = row_dist/dist
col_i = l_col_i
row_i = l_row_i
for i in range(dist):
num = self.num_index[row_i]
char = self.char_index[col_i]
pos = (char, num)
p = self.get_piece_at(pos)
if p != PIECES.NONE:
return False
col_i += col_vec
row_i += row_vec
return True
GOES
Drop off the truck today!
Agents and expensive information
GPT-2 Agents
GOES
Had a good, cathartic ride yesterday:
GPT-2 Agents

D20
GOES
results = self.ifq.run_query(self.bucket, begin, end, filter_str) results = self.ifq.to_nd_array(results) results = np.delete(results, slice(clamp, None), 1) predict_table = model.predict(results)
ML Group
GPT-2 Agents

D20
Book
D20

Dissertation
#COVID
GPT-2 Agents
On January 21, 2020, F Caruana played Ding Liren. F Caruana was the higer-ranked player, with an Elo rating of 2835. Ding Liren was the lower-ranked player, with an Elo rating of 2791. After 73 moves, the game ended in a draw. The game began with ECO opening B90: The game begins as White moves pawn from e2 to e4. Black moves pawn from c7 to c5. White moves knight from g1 to f3. Ding Liren moves black pawn from d7 to d6. White moves pawn from d2 to d4. Black moves pawn from c5 to d4. Black takes white pawn. White moves knight from f3 to d4. White takes black pawn. Black moves knight from g8 to f6. In move 5, F Caruana moves white knight from b1 to c3. Black moves pawn from a7 to a6. F Caruana moves white queen from d1 to d3. Ding Liren moves black pawn from e7 to e6.
GOES
class OneDGAN2a(ODG.OneDGAN2):
def __init__(self):
super().__init__()
# create the Keras model to generate fake data (Dense to CNN)
def define_generator(self) -> Sequential:
self.g_model = Sequential()
self.g_model.add(Dense(64, activation='relu', kernel_initializer='he_uniform', input_dim=self.latent_dimension))
self.g_model.add(BatchNormalization())
self.g_model.add(Dense(self.vector_size, activation='tanh'))
self.g_model.add(Reshape((self.vector_size, 1)))
print("g_model_Dense.output_shape = {}".format(self.g_model.output_shape))
# compile model
loss_func = tf.keras.losses.BinaryCrossentropy()
opt_func = tf.keras.optimizers.Adam(0.001)
self.g_model.compile(loss=loss_func, optimizer=opt_func)
return self.g_model
# define the standalone discriminator model
def define_discriminator(self) -> Sequential:
# activation_func = tf.keras.layers.LeakyReLU(alpha=0.02)
activation_func = tf.keras.layers.ReLU()
self.d_model = Sequential()
self.d_model.add(Conv1D(filters=self.vector_size, kernel_size=20, strides=4, activation=activation_func, batch_input_shape=(self.num_samples, self.vector_size, 1)))
self.d_model.add(Dropout(.3))
self.d_model.add(GlobalMaxPool1D())
self.d_model.add(Flatten())
self.d_model.add(Dense(self.vector_size/2, activation=activation_func, kernel_initializer='he_uniform', input_dim=self.vector_size))
self.d_model.add(Dropout(.3))
self.d_model.add(Dense(1, activation='sigmoid'))
# compile model
loss_func = tf.keras.losses.BinaryCrossentropy()
opt_func = tf.keras.optimizers.Adam(0.001)
self.d_model.compile(loss=loss_func, optimizer=opt_func, metrics=['accuracy'])
return self.d_model
Which means that I can keep running instances rather than just notes
if self.model_type == self.WGAN_GP:
# Wasserstein GAN with gradient penalty
epsilon = tf.random_uniform([self.batch_size, 1, 1, 1], 0.0, 1.0)
interpolated = epsilon * inputs + (1 - epsilon) * self.G
_, self.D_logits_intp_ = self.discriminator(interpolated, self.y, reuse=True)
# tf.gradients returns a list of sum(dy/dx) for each x in xs.
gradients = tf.gradients(self.D_logits_intp_, [interpolated, ], name="D_logits_intp")[0]
grad_l2 = tf.sqrt(tf.reduce_sum(tf.square(gradients), axis=[1, 2, 3]))
grad_penalty = tf.reduce_mean(tf.square(grad_l2 - 1.0))
self.gp_loss_sum = tf.summary.scalar("grad_penalty", grad_penalty)
self.grad_norm_sum = tf.summary.scalar("grad_norm", tf.nn.l2_loss(gradients))
# Add gradient penalty to the discriminator's loss function.
self.d_loss += self.gp_lambda * grad_penalty



GPT-2 Agents
In 1987, Fred Van der Vliet played Loek Van Wely. Fred Van der Vliet was the higer-ranked player, with an Elo rating of 2330. Loek Van Wely was unrated. The game began with ECO opening E69: In move 1, Fred Van der Vliet moves white pawn from d2 to d4. Black moves knight from g8 to f6. this is a comment In move 2, White moves pawn from c2 to c4. Black moves pawn from g7 to g6. In move 3, Fred Van der Vliet moves white pawn from g2 to g3. Loek Van Wely moves black bishop from f8 to g7. In move 4, Fred Van der Vliet moves white bishop from f1 to g2. Loek Van Wely kingside castles. In move 5, White moves knight from g1 to f3. Black moves pawn from c7 to c6. In move 6, Fred Van der Vliet kingside castles. Loek Van Wely moves black pawn from d7 to d6. In move 7, White moves knight from b1 to c3. Black moves knight from b8 to d7. In move 8, White moves pawn from e2 to e4. Loek Van Wely moves black pawn from e7 to e5. In move 9, White moves pawn from h2 to h3. Loek Van Wely moves black rook from f8 to e8. In move 10, White moves rook from f1 to e1. Loek Van Wely moves black queen from d8 to b6. In move 11, White moves pawn from d4 to d5. Black moves knight from d7 to c5. In move 12, White moves rook from a1 to b1. Black moves pawn from a7 to a5. In move 13, White moves bishop from c1 to e3. Black moves queen from b6 to c7. In move 14, Fred Van der Vliet moves white knight from f3 to d2. Loek Van Wely moves black knight from f6 to h5. In move 15, White moves queen from d1 to e2. Black moves pawn from h7 to h6. In move 16, White moves pawn from d5 to c6. White takes black pawn. Black moves queen from c7 to c6. Black takes white pawn. In move 17, White moves knight from c3 to d5. Black moves bishop from c8 to e6. In move 18, White moves rook from e1 to c1. Black moves king from g8 to h7. In move 19, White moves pawn from b2 to b3. Black moves rook from e8 to b8. In move 20, White moves pawn from a2 to a3. Loek Van Wely moves black pawn from b7 to b6. In move 21, White moves king from g1 to h2. Black moves queen from c6 to c8. In move 22, Fred Van der Vliet moves white pawn from f2 to f4. Black moves pawn from e5 to f4. Black takes white pawn. In move 23, Fred Van der Vliet moves white pawn from g3 to f4. White takes black pawn. Black moves rook from a8 to a7. In move 24, Fred Van der Vliet moves white knight from d5 to c3. Black moves queen from c8 to d8. In move 25, White moves knight from c3 to b5. Black moves rook from a7 to d7. In move 26, Fred Van der Vliet moves white pawn from b3 to b4. Black moves pawn from a5 to b4. Black takes white pawn. In move 27, White moves pawn from a3 to b4. White takes black pawn. Black moves knight from c5 to a6. In move 28, White moves knight from d2 to f3. Loek Van Wely moves black queen from d8 to f6. In move 29, White moves queen from e2 to d2. Black moves rook from b8 to c8. In move 30, White moves knight from b5 to d6. White takes black pawn. Black moves bishop from e6 to c4. Black takes white pawn. In move 31, White moves pawn from e4 to e5. Loek Van Wely moves black queen from f6 to d8. In move 32, White moves pawn from b4 to b5. Loek Van Wely moves black knight from a6 to b8. In move 33, White moves queen from d2 to b4. Black moves rook from d7 to d6. Black takes white knight. In move 34, White moves pawn from e5 to d6. White takes black rook. Black moves bishop from c4 to d3. In move 35, White moves rook from c1 to c8. White takes black rook. Black moves queen from d8 to c8. Black takes white rook. In move 36, White moves rook from b1 to d1. Black moves bishop from d3 to e2. In move 37, White moves rook from d1 to c1. Black moves queen from c8 to e8. In move 38, Fred Van der Vliet moves white bishop from e3 to b6. White takes black pawn. Black moves bishop from e2 to f3. Black takes white knight. In move 39, White moves bishop from g2 to f3. White takes black bishop. Loek Van Wely moves black knight from h5 to f4. Black takes white pawn. In move 40, Fred Van der Vliet moves white rook from c1 to e1. Loek Van Wely moves black bishop from g7 to e5. In move 41, White moves rook from e1 to e5. White takes black bishop. Loek Van Wely moves black queen from e8 to e5. Black takes white rook. In move 42, White moves queen from b4 to d4. Black moves queen from e5 to b5. Black takes white pawn. In move 43, White moves queen from d4 to f4. White takes black knight. Black moves queen from b5 to b6. Black takes white bishop. In move 44, Fred Van der Vliet moves white queen from f4 to f7. White takes black pawn. Check. Black moves king from h7 to h8. In move 45, White moves queen from f7 to f6. Check. Black moves king from h8 to h7. In move 46, White moves bishop from f3 to e4. Black moves queen from b6 to a7. In move 47, Fred Van der Vliet wins! Loek Van Wely resigns.
GOES
Tried a lower latent dimension (8) and fewer neurons in the generator (32). Not really any different. It does take longer to stabilize though.



You must be logged in to post a comment.