>>> model = gensim.models.KeyedVectors.load_word2vec_format('cc.ja.300.vec.gz', binary=False)
>>> model
<gensim.models.keyedvectors.Word2VecKeyedVectors object at 0x127797310>
Ultrastar DC HC シリーズは、Western Digital に買収された HGST が製造しているエンタープライズ向けの製品になる。
つまり、ウワサが本当であれば、この製品はコンシューマ向けにもかかわらず、内部にはエンタープライズ向けの HDD (の廉価版) が使われていることになる。
ようするに、企業のデータセンターの中でサーバに使うような高信頼モデル 1 ということ。
$ python flights.py
index of train: [ 01234567891011121314151617181920212223]
index of test: [242526272829303132333435363738394041424344454647]
----------
index of train: [ 01234567891011121314151617181920212223242526272829303132333435363738394041424344454647]
index of test: [484950515253545556575859606162636465666768697071]
----------
index of train: [ 01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071]
index of test: [727374757677787980818283848586878889909192939495]
----------
index of train: [ 01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495]
index of test: [ 96979899100101102103104105106107108109110111112113114115116117118119]
----------
index of train: [ 0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119]
index of test: [120121122123124125126127128129130131132133134135136137138139140141142143]
----------
$ python shuffledflights.py
index of train: [ 01234567891011121314151617181920212223]
index of test: [242526272829303132333435363738394041424344454647]
----------
index of train: [ 01234567891011121314151617181920212223242526272829303132333435363738394041424344454647]
index of test: [484950515253545556575859606162636465666768697071]
----------
index of train: [ 01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071]
index of test: [727374757677787980818283848586878889909192939495]
----------
index of train: [ 01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495]
index of test: [ 96979899100101102103104105106107108109110111112113114115116117118119]
----------
index of train: [ 0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119]
index of test: [120121122123124125126127128129130131132133134135136137138139140141142143]
----------
Luigi は、Python を使って実装された、バッチ処理のパイプラインを扱うためのフレームワーク。
Luigi でパイプラインを定義するときは、基本的には個別のタスクを依存関係でつないでいくことになる。
このとき、扱う処理によってはパイプラインは長大になると共に扱うパラメータの数も増える。
そうすると、依存関係で上流にあるタスクに対して、どのようにパラメータを渡すか、という問題が生じる。
$ python example.py
...(省略)...
===== Luigi Execution Summary =====
Scheduled 2 tasks of which:
* 2 ran successfully:
-1 DownstreamTask(downstream_task_param=downstream, upstream_task_param=upstream)
-1 UpstreamTask(upstream_task_param=upstream)
This progress looks :) because there were no failed tasks or missing dependencies
===== Luigi Execution Summary =====
$ python example.py
...(省略)...
===== Luigi Execution Summary =====
Scheduled 2 tasks of which:
* 2 ran successfully:
-1 DownstreamTask(downstream_task_param=downstream)
-1 UpstreamTask(upstream_task_param=upstream)
This progress looks :) because there were no failed tasks or missing dependencies
===== Luigi Execution Summary =====
$ python example.py
...(省略)...
===== Luigi Execution Summary =====
Scheduled 2 tasks of which:
* 2 ran successfully:
-1 DownstreamTask(upstream_task_param=upstream, downstream_task_param=downstream)
-1 UpstreamTask(upstream_task_param=upstream)
This progress looks :) because there were no failed tasks or missing dependencies
===== Luigi Execution Summary =====
$ python example.py
...(省略)...
===== Luigi Execution Summary =====
Scheduled 2 tasks of which:
* 2 ran successfully:
-1 DownstreamTask(upstream_task_param=upstream, downstream_task_param=downstream)
-1 UpstreamTask(upstream_task_param=upstream)
This progress looks :) because there were no failed tasks or missing dependencies
===== Luigi Execution Summary =====