年末に映画『マトリックス レザレクションズ』を視聴したので、忘れないうちに感想を書いておきます。 本編だけでなくシリーズ全体のネタバレも含むので注意してください。
This file contains hidden or 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 collections | |
import functools | |
import sys | |
import typing | |
@functools.cache | |
def __prime_factorize(i: int, f: int) -> tuple[int, ...]: | |
if i < f: | |
return () |
This file contains hidden or 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 concurrent.futures | |
import fractions | |
import functools | |
import itertools | |
import operator | |
AVAILABLE_DIGITS = tuple(range(1, 10)) | |
This file contains hidden or 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
#patterns = 160 | |
--- | |
BAC | |
BBA | |
BAA | |
--- | |
ABA | |
BCB | |
ABA | |
--- |
すきな順ではなく URL の順にならべています。
I hereby claim:
- I am yuitest on github.
- I am yuitest (https://keybase.io/yuitest) on keybase.
- I have a public key ASBRlhXHCpYPwK8anplhZHVyxERF3Q3OwFAmnYCVpiIaYAo
To claim this, I am signing this object:
This file contains hidden or 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
あやつり人形: http://www.tk-game-diary.net/citadels/citadels.html | |
DOMEMO: http://www.tk-game-diary.net/domemo/domemo.html | |
ひつじとどろぼう: http://powernine.blog.fc2.com/blog-entry-65.html | |
ノイ: http://www.tk-game-diary.net/neu/neu.html | |
コードネーム: http://ameblo.jp/luxurytax75/entry-12073339507.html | |
漢コレ: http://toi.main.jp/kankore | |
マンハッタン: http://jellyjellycafe.com/6845 | |
ガイスター: http://www.tk-game-diary.net/geister/geister.html | |
ハイパーロボットとプログラミング脳: https://mynavi-agent.jp/it/geekroid/2014/09/it-2.html | |
スコットランド・ヤード: http://www.tk-game-diary.net/scotland_yard/scotland_yard.html |
爽健美茶 | 十六茶 | からだ巡り茶 | |
---|---|---|---|
ドクダミ | ✅ | ✅ | |
熊笹 | ✅ | ||
杜仲茶 | ✅ | ||
はすの葉 | ✅ | ||
クコ葉 | ✅ | ||
みかんの皮 | ✅ | ||
高麗人参 | ✅ | ||
霊芝 | ✅ |
This file contains hidden or 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
# https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/decomposition/nmf.py | |
from sklearn.decomposition import NMF | |
import numpy | |
A = numpy.random.uniform(size=[40, 30]) | |
nmf_model = NMF(n_components=3, init='random', random_state=0) | |
nmf_model.fit(A) | |
W = nmf_model.fit_transform(A) | |
H = nmf_model.components_ | |
print(A.shape) | |
print(W.shape) |