Neo4j,Ubuntu

Thumbnail of post image 150

Neo4j のインストール

リポジトリキーを取得し、aptリストに追加

$ wget --no-check-certificate -O - | sudo apt-key add -$ sudo apt-get update$ ...

Python

Thumbnail of post image 083

Anaconda Prompt上で以下のコマンドを打つだけでOK

(標準のCommand PromptやWindows Power Shellではない)

anaconda-navigator --reset

Python

Thumbnail of post image 143

ノードの引数に貼り付けたい画像のバスを書くだけ。

from graphviz import Digraph# Ready to parent graph.g = Digraph(comment = 'Graph')g.node( ...

NLP

Thumbnail of post image 189

BIO Tagは Entity Recognition や Semantic Role Labeling のタスクなどで単語につけるタグとして用いられ, それぞれの文字に以下の意味がある.

B: ‘beginn ...

Linux,Ubuntu

Thumbnail of post image 024

Ubuntu GNOME 16.04 LTS のインストール
日本語のフォルダ名を英語に変換
Linux kernel header のインストールを行う
CUDA9.1 のインストール
NVIDIA drivers ...

Docker,Python

Thumbnail of post image 001

Pythonの実行環境を構築したDockerコンテナに入ってコマンド実行

$ docker exec hoge-container python hoge.py arg1 arg2

hoge-container: Pytho ...

Python

Thumbnail of post image 140

# configファイルの作成$ jupyter notebook --generate-config# geditでconfigファイルを開き、c.NotebookApp.notebook_dirの変数に好きな場所に書き換える$ gedi ...

Python

Thumbnail of post image 174

やりたいこと:
$\beta$($circ$C) を (C) にしたい

正規表現:
\$.+?\$

詳細:

\$: $をエスケープ

+: 1回以上の繰り返し

...

Imagemagick

Thumbnail of post image 196

>> magick convert input.png -crop 100×100+10+20 output.png

ver7からmagickコマンドを付けて実行しなければならなくなったのです ...

Pandas,Python

Thumbnail of post image 177

# Make DataframeIn:df = pd.DataFrame({"A" : ,"B" : ,"C" : ,"D" : np.random.randn(8)})Out:A B C D0 foo one hoge -0.650722 ...