From Scratch, let's start Deep Learning with Python (plus Text Processing, pr...Kiyoshi Ogawa
?
This is the third time of reading club on "Deep Learning". The book using Python to program. Mainly, the text deal with image processing. So I add text processing references, privately.There are thirteen Oreilly's Books about Computer, data science, machine learning, Image processing, text processing and Python. You can understand whatever the direction of interest are different.
From Scratch, let's start Deep Learning with Python (plus Text Processing, pr...Kiyoshi Ogawa
?
This is the third time of reading club on "Deep Learning". The book using Python to program. Mainly, the text deal with image processing. So I add text processing references, privately.There are thirteen Oreilly's Books about Computer, data science, machine learning, Image processing, text processing and Python. You can understand whatever the direction of interest are different.
15. 実行結果
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
@ashigirl96
@ashigirl96
@ashigirl96
@ashigirl96
@ashigirl96
@ashigirl96
@ashigirl96 1513年4月26日金曜日
29. ashigirl96% python [~/Desktop]
Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> for i in range(3):
... print i,'Hello World'
...
0 Hello World
1 Hello World
2 Hello World
Python って入れてみ
2913年4月26日金曜日
33. 例えば、
奇数の配列(リスト)作る。
『for文で 整数 i を10回まわす、
そのとき i%2(iを2で割った余)が ゼロでない場合の i だけリストに入れる』
Pythonがどれぐらい英語っぽいか
>>>print [i for i in range(10) if i%2 is not 0]
[1, 3, 5, 7, 9]
>>>
3313年4月26日金曜日
34. 続き
もし 文字列に “kyuri” が入っていたら、配列(リスト)から取り除く。
>>> LIST = ['kyuridenamida' , 'homodenamida' , 'kyuri ha sekai iti',
'homo ha sekai iti' , 'butyoukyuri' , 'tatarikun' , 'mossan' ]
>>> print [i for i in LIST if 'kyuri' not in i]
['homodenamida', 'homo ha sekai iti', 'tatarikun', 'mossan']
>>>
これ
3413年4月26日金曜日