rjldev
563 posts

rjldev
@rjldev
ruby on rails contractor | occasional speaker | https://t.co/X24LV2zIpS
Cheshire, England Katılım Haziran 2018
159 Takip Edilen107 Takipçiler

@Met4CastUK If the model outputting 40C predictions for England is becoming a frequent occurrence you probably want to reassess the model
English
rjldev retweetledi

Session spent sorting the issue with the auto encoder, I was loading the model onto the GPU after passing the model params to the optimiser, so the optimiser was looking at the param on the CPU, which weren't getting updated. Sorted that and the loss decreased.
Testing on some images the autoencoder does a decent job at reconstructing them! Will play around with adding the image embeddings together and see if anything coherent comes out of sums like "shoe" + "shirt". Fun!



English

@JalisoCSP > string and the query part
I should have said the heredoc string and the keyword arg "query"
English

@JalisoCSP As for where the doc are, it won't be heredoc, that's just a string. Your passing two args to the query method HERE doc, and query: "something to escape" the actual escaping is handled by the db, as the string and the query part (the bind variables) will be passed to the db by ..
English

@JalisoCSP whatever db driver your using, most likely the active record Postgres adapter or the mysql one. Those adapters are probably the best place to look for documentation on how bind params are handled
English

@JalisoCSP though I'd probably put the `%`s in the query string rather than pass them in as the second arg
English












