This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
######## | |
# holy crap i'm excited about the results.. | |
# i've been stuggling with this for a long time! :) | |
######## | |
q : [they let me in the club im bouta pho it up]; a : [you dont even know what to do] | |
q : [manhattan ny congrats to unk and fellow jason leads unk seed in]; a : [thanks for the retweet ] | |
q : [making eye contact with may or may not be alive pls send help]; a : [is there on the field] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
[1] | |
q : [will you unk your father and your queen]; a : [what about you] | |
q : [no doctor]; a : [but i dont know what it is] | |
q : [never heard from him again]; a : [not yet i dont know what he was talking about] | |
q : [you said something unk laying him to rest]; a : [we dont know what he was talking about] | |
q : [youre youre not doing what i think youre doing]; a : [im going to see you] | |
q : [well why didnt you list that among our assets in the first place what i wouldnt give for a unk cloak]; a : [but i dont think so] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import random | |
import sys | |
goal = 'All work and no play makes Jack a dull boy.' | |
idx2c = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,. ' | |
c2idx = { c : i for i,c in enumerate(idx2c) } | |
def encode(seq): | |
return np.array([c2idx[c] for c in seq ]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ஆ- 08/Moarter FLAT 30.330+20. | |
BUYB Talkse the Special TVCK & 24. in 110MB 35038.Fuald date incoming, | |
(Tollfree). Buy lowes. | |
Hi Call smy Limited so exttazi Gl Tin Coin- without fares starta kain of our 1 | |
" Extra 25% atu.Get Lenses !! | |
Fly Sm, Preper muth the peditial Offer! Ge- 700+30% off, Vhop: Dede 77 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# all classes are sub-classes/children of the ultimate parent class -> object (i think) | |
class Rectangle(object): | |
# the constructor | |
def __init__(self, length, breadth): | |
# class's properties | |
self.length = length | |
self.breadth = breadth | |
def area(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ixeof(mtd->pm, thdata->dst->hys_otg_dpage); | |
} | |
return ret; | |
} | |
void __u64 rv, | |
.str = 64; | |
} | |
list_mask |= ABLT_ATDR_PHY_SP5R, | |
[USB504X_MAAT1_B5, | |
\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def my_func(n): | |
for i in range(n): | |
print(i) | |
if __name__ == '__main__': | |
# call function here | |
my_func(10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import tensorflow as tf | |
from matplotlib import pyplot as plt | |
''' | |
N training examples (X,Y) | |
Y = f(X) | |
Y = f(X; theta) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import numpy as np | |
''' | |
Classification | |
X - [ 0.2, 0.1, 0.6 ] | |
Y - 2 (argmax X) | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.6/p5.js"></script> | |
<script src="sketch.js"></script> | |
<script src="circle.js"></script> |