I am Charmie

メモとログ

2017-01-01から1年間の記事一覧

ハイパーニア封鎖

(おそらく)ハイパーニアを除く全ての場所で緋の欠片を取得しないと,ハイパーニアが封鎖して入れない. 緋の欠片イベント開始前にメグダッセ辺境州の地上絵イベントを終わらせてしまうと,上記の条件を満たせないため,ハイパーニア封鎖が解除されない. と…

階層的クラスタリング Hierarchical Clustering

階層的クラスタリングには2種類 divisive (分枝タイプ): トップダウン的に分割していく agglomerative (凝集タイプ): ボトムアップ的に形成する

install keras + tensorflow (GPU) to Windows using anaconda

Install Tensorflow and Keras Run Anaconda Prompt Install Tensorflow # pip install tensorflow-gpu Install Keras # pip install keras (Optional) Change Keras' backend from Theano to TensorFlow This step is optional if Keras uses Theano as its…

upgrade/downgrade python version of anaconda

Same as python packages, we can use conda install to upgrade/downgrade python version as conda install python=..* To know the available version, just type conda search ppthon

install pre-built dlib for python

following this page, we can install dlib pre-built library for python on all platform. conda install -c conda-forge dlib When I tried, the library had a conflict with CGAL 4.7. I simply uninstalled CGAL and then successfully installed dlib…

Megaman: Scalable Manifold Learning in Python

megaman is a python module for scalable manifold learning. So far, anaconda does not provide its binary for windows.

install graphillion into anaconda

following the guidance, you should type conda install -c auto graphillion

biber (biblatex) warning related to accent character

add the following lines to suppress the warning caused by accent characters written in bib file. \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}

CMakeLists.txt for GraphM library

Here's a CMakeLists.txt for GraphM library. [code lang="bash"] cmake_minimum_required(VERSION 2.8) set(PROJ_NAME graphm) project(${PROJ_NAME}) set C++ flags set(CMAKE_WARN_DEPRECATED ON) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -fPIC") …

chapter, section, subsection等の日本語訳

chapter, section, subsection等の日本語訳 Wikipediaを参照すると,編,部,章,節,項と呼ぶそうだ. 感覚として,部 = chapter,章 = section,節 = subsection,項 = subsubsection

delete a file containing a space at the end of its extension on Windows

Suppose you have a file containing a space at the end of its extension on Windows. Let ABSOLUTE_PATH denote the absolute path of the file, the following command can erase the file. del \?\ABSOLUTE_PATH

Amazing dark theme for TexStudio

Follow the guidance shown at the bottom of this page.

最下層女子校生: 無関心社会の罪

最下層女子校生: 無関心社会の罪 橘ジュン 小学館 生協で売ってたので暇つぶしに買ってみた.自分の知らない世界.女子校生と書いてあるが,性別関係なく,育ってきた環境が人の人生を悪い方向に持っていくという話は当然あるわけで,やるせなさや憤りを感じ…

Sympyまとめ (N-dim array)

Sympyのtensor用機能 We have two tensors $latex A \in \mathbb{R}^{I_1 \times \ldots \times I_N}$ and $latex B \in \mathbb{R}^{J_1 \times \ldots \times J_N}$. An element is specified by $latex A(i_1, \ldots, i_N)$, where $latex 1 \leq i_k \l…

Sympyまとめ (Matrices)

[code lang="python"] >>> Matrix([[1, -1], [3, 4], [0, 2]]) ⎡1 -1⎤ ⎢ ⎥ ⎢3 4 ⎥ ⎢ ⎥ ⎣0 2 ⎦ 列ベクトルを作るには,要素のリストを与える >>> Matrix([1, 2, 3]) ⎡1⎤ ⎢ ⎥ ⎢2⎥ ⎢ ⎥ ⎣3⎦ 行列とベクトルの掛け算 >>> M = Matrix([[1, 2, 3], [3, 2, 1]]) >>> …

SymPyまとめ (special functions)

functions for Combinatorial functions for Enumerations

SymPyまとめ (simplification)

From basic operations, 1.1. evalf() outputs numerical value(s). [code lang="python"] >>> expr = sqrt(8) >>> expr 2 * sqrt(2) >>> expr.evalf() 2.82842712474619 [/code] 1.2. lambdify acts like lambda function. [code lang="python"] >>> import…

Matplotlib animation with spyder

A solution enabling spyder to show matplotlib animation is to change the settings Tools > Preferences > IPython console > Graphics > Backend from "Inline" to "Automatic" and then push apply button.

keras installation on ubuntu 16.04 with CUDA and cuDNN

install CUDA download cuda-repo-ubuntu1604_8.0.44-1_amd64.deb from here sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb sudo apt-get update sudo apt-get cuda update path settings add the following lines at the end of ~/.bashrc and typ…

cuda toolkit installation on Ubuntu 16.04 after upgrading from Ubuntu 14.04

This post explains how to upgrade cuda toolkit on ubuntu 16.04 after upgrading OS from ubuntu 14.04. I got the following error when I tried to upgrade cuda toolkit from 7.5 to 8.0 by sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb on …