NI-Lab.

nilog:

← 前の日 2017-05-02 次の日 →
← 一年前 一年後 →
Twitter (2017-05-02)
Scikit-learn <-> ai4r
Numpy/Scipy <-> NArray
Python <-> Ruby

Rubyと機械学習の現状 https://www.slideshare.net/chezou/ruby-28923469
[t] 2017-05-02 09:13:04
関連するかも情報
【話題急上昇中ワード】
1. ウチの夫は仕事ができない
2. 八十八夜
3. 妊娠米
4. アサデス
5. hide
6. 赤報隊
7. 鈴木啓太
8. 名神高速
9. 忌野清志郎
http://searchranking.yahoo.co.jp/realtime_buzz/ #buzzbot
[t] 2017-05-02 09:10:08
Scikit-learn <-> ai4r
Numpy/Scipy <-> NArray
Python <-> Ruby

Rubyと機械学習の現状 https://www.slideshare.net/chezou/ruby-28923469
[t] 2017-05-02 09:13:04
$ pyenv install -l してみたら Python の最新はこのへん

2.7.13
3.6.1
3.7-dev
[t] 2017-05-02 09:17:12
安定版の最新バージョンっぽい Python と Ruby をインストール。

$ pyenv install 3.6.1

$ rbenv install 2.4.1

MacBook Air のファンが回りはじめた(;´∀`)
[t] 2017-05-02 09:23:36
「matplotlibではグラフに凡例をつけるにはplt.legend()関数」「 凡例を実際にグラフへとプロットするにはまずartistとラベルの文字列を結びつける必要があります」

matplotlib入門 - りんごがでている http://bicycle1885.hatenablog.com/entry/2014/02/14/023734
[t] 2017-05-02 09:33:39
画像を保存するには show 関数ではなく savefig 関数を使う。

とりあえず描く — matplotlib 1.0 documentation http://yubais.net/doc/matplotlib/introduction.html
[t] 2017-05-02 09:35:22
Python もわりとめんどい。。。

"(Ana)Conda is not a framework build"

Working with Matplotlib on OSX — Matplotlib 2.0.0 https://matplotlib.org/faq/osx_framework.html
[t] 2017-05-02 09:40:49
ModuleNotFoundError: No module named 'numpy'

$ pip install numpy
[t] 2017-05-02 09:44:18
ModuleNotFoundError: No module named 'matplotlib'

$ pip install matplotlib
[t] 2017-05-02 09:44:24
(Ana)Conda 入れろ的なエラーをこれで回避。

import matplotlib
matplotlib.use('TkAgg')

VirtualEnv環境でmatplotlibなどがimportできない - Qiita http://qiita.com/nnsnodnb/items/e8fc72ebe851b8c55a90
[t] 2017-05-02 09:46:07
"RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not ..."
[t] 2017-05-02 09:46:50
(Ana)Conda 無しで matplotlib.pyplot を使ってグラフ描画して画像を出力するところまではできた。ふぅ。
[t] 2017-05-02 09:48:24
【話題急上昇中ワード】
1. 妊娠菌
2. 八十八夜
3. ウチの夫は仕事ができない
4. hide
5. アサデス
6. エイベックス
7. 鈴木啓太
8. 赤報隊
9. 忌野清志郎
http://searchranking.yahoo.co.jp/realtime_buzz/ #buzzbot
[t] 2017-05-02 10:10:09
【話題急上昇中ワード】
1. 妊娠菌
2. 八十八夜
3. エイベックス
4. 松岡茉優
5. 生活保護却下
6. hide
7. 高崎線
8. 鈴木啓太
9. 忌野清志郎
10. 福地桃子
http://searchranking.yahoo.co.jp/realtime_buzz/ #buzzbot
[t] 2017-05-02 11:10:08
【天気】今日の名古屋 ☀
5/2(火) 晴れ
予想最高気温:24℃
降水確率
12-18時:0%
18-24時:0%
ウェザーマップ気象情報 http://www.weathermap.co.jp/forecast/
#天気bot #bot #052tenki #nagoya #aichi
[t] 2017-05-02 12:00:10
【話題急上昇中ワード】
1. 妊娠菌
2. 生活保護却下
3. 札幌ドーム残留
4. 足跡モード
5. 大分中村病院
6. エイベックス
7. 八十八夜
8. hide
9. ミニストップ
http://searchranking.yahoo.co.jp/realtime_buzz/ #buzzbot
[t] 2017-05-02 12:10:09
UTF-8 でも書いておいたほうが無難なのかな。

# -*- coding: utf-8 -*-

PEP 263 -- Defining Python Source Code Encodings https://www.python.org/dev/peps/pep-0263/
[t] 2017-05-02 12:27:12
「Python ソースコードのデフォルトエンコーディングは UTF-8 なので、文字列リテラルの中に Unicode 文字をそのまま含めることができます」

Unicode HOWTO — Python 3.6.1 ドキュメント https://docs.python.jp/3/howto/unicode.html
[t] 2017-05-02 12:27:44
「特殊な形式のコメントをソースコードの1行目もしくは2行目に配置することで、UTF-8 ではないエンコーディングを使うことができます」

Unicode HOWTO — Python 3.6.1 ドキュメント https://docs.python.jp/3/howto/unicode.html
[t] 2017-05-02 12:27:57
Matplotlib 超入門(3)文字の大きさ,グリッド幅 http://iatlex.com/python/matplotlib_intro3/#i-8
[t] 2017-05-02 12:47:38
2017年05年02日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN