2017-04-01から1日間の記事一覧
なんで? ver.2.6 の javadoc Escapes and unescapes Strings for Java, Java Script, HTML, XML, and SQL. https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/org/apache/commons/lang/StringEscapeUtils.html ver.3.5 の javadoc Escapes a…
github.com ↑こちらの Chapter1の写経。 前準備 - 使用する関係式 STEP1 : 予測式 - 1~12月の気温を予測 STEP2 : 誤差関数 最小二乗法や、ニュートン・ラフソン法を思い出します。 で、実装 #!/usr/local/bin/python # -*- coding: utf-8 -*- import tensor…
python 2.7で “import matplotlib.pyplot as plt” したら、 tkinter がなく errorとなった為。 tkinter の依存ライブラリ/モジュールはきちんと理解していませんが、次のように作業すると、解消。 # yum install tkinter # yum install tk tcl tk-devel $ wg…