llコマンドが無いときの設定

sudo vi ~/.bashrc#追記alias ll='ls -la'
追加ディスクのmount手順[Ubuntu]

sudo fdisk -l でディスクが認識されているかと,パス(/dev/xvdfなど)を確認
sudo vim/etc/fstabでディスクのパスとマウントポイントを指定.
例
/etc/fst ...
周期表をハードコーディングした[Python]

手打ちで作って大変だったため記録.
下をコピペし、Pythonでリストとして変数に格納すれば、そのままの形で使えるはずです。
間違いがあれば、コメントをいただけると大変助かります。
periodic_ta ...アノテーターの評価指標[ML]

2人のとき→F1, kappa
3人以上のとき→Cronbach Alpha
解説記事
ides.hatenablog.com
python ライブラリ
github.com ...
他クラス分類のマクロ平均とマイクロ平均の違い[ML]

大げさな名前がついているが,実際は単純.
マクロ平均(macro average)全クラスの結果のF1値を計算したもの.
マイクロ平均(micro average)クラスごとにF1値を計算し,それらを単純に平均 ...
Seaboarnでheatmapを表示させた時の数字を1.5e+02→150に変更[Python]

修正前import matplotlib.pyplot as pltimport seaborn as snsconfusion = calc_confusion(all_prediction, all_prediction)df = pd ...
apt-getでGPG errorが発生した時の対策[Ubuntu]

対策
chmod 1777/tmp
github.com
経緯dockerで立てたコンテナでapt-get updateを打ち込むと,
W: GPG error: xenial InRelease: Co ...MacでElectron環境を構築[Electron]

手順brew install nodebrew
PATHの設定
export PATH=$HOME/.nodebrew/current/bin:$PATHsource ~/.bash_profilenodebrew -vFo ...
G-Shock DW-6900GのAC(All clear)方法

以下の写真の赤でマークされている二点をピンセットなどで通電する。
collection.Counterで作った辞書を棒グラフでプロット[python]

import collectionsimport matplotlib.pyplot as pltl = c = collections.Counter(l)plt.bar(list(c.keys()), list(c.values())) ...