發表文章

目前顯示的是 十二月, 2016的文章

windows 10 python 2.7.8 安裝 easy_install 和 pip

version python 2.7.8 windows 10

downloads &install easy_install:

http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe#md5=57e1e64f6b7c7f1d2eddfc9746bbaf20

加環境變數:

開啟路徑
控制台>系統及安全性>系統>進階系統設定>進階>環境變數>PATH
Ex:
C:\Python27
C:\Python27\Scripts

install pip:

download
https://bootstrap.pypa.io/get-pip.py

in cmd

pyhton get-pip.py

install package:

in cmd

pip install PackageName


Raspberry Pi 3 install OS

圖片
Official website downloads

https://www.raspberrypi.org/downloads/raspbian/











download win32diskimager

https://sourceforge.net/projects/win32diskimager/

you can see this file
2016-11-25-raspbian-jessie.img

open Win32 Disk Imager 
choose 2016-11-25-raspbian-jessie.img
Click Write Button

















open config file

























change value

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=16

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

JavaScript數學運算

MethodDescriptionabs(x)Returns the absolute value of xacos(x)Returns the arccosine of x, in radiansasin(x)Returns the arcsine of x, in radiansatan(x)Returns the arctangent of x as a numeric value between -PI/2 and PI/2 radiansatan2(y, x)Returns the arctangent of the quotient of its argumentsceil(x)Returns x, rounded upwards to the nearest integercos(x)Returns the cosine of x (x is in radians)exp(x)Returns the value of Exfloor(x)Returns x, rounded downwards to the nearest integerlog(x)Returns the natural logarithm (base E) of xmax(x, y, z, ..., n)Returns the number with the highest valuemin(x, y, z, ..., n)Returns the number with the lowest valuepow(x, y)Returns the value of x to the power of yrandom()Returns a random number between 0 and 1round(x)Rounds x to the nearest integer

JavaScript初步認識

null表示沒有值,可以賦值給a。
undefined則表示不給值或是不初始化。
 a = null;
 a = undefined;
 物件是名稱和值為組的群集
 var mouse = {
eyes: "Blue",
big:true
}

物件屬性可以用.或是[]存取

函式與物件結合叫做方法
a.do(1,2,3)

建構式的開頭大寫
function Push(a,b){
a*b;
}

JavaScript學習筆記

Machine Learning Resource

台大林軒田教授 Machine Learning youtube
https://www.youtube.com/watch?v=nQvpFSMPhr0&index=1&list=PLXVfgk9fNX2I7tB6oIINGBmW50rrmFTqf
PPT
http://www.csie.ntu.edu.tw/~htlin/mooc/

Machine Learning (Stanford Professor Andrew Ng)
https://www.youtube.com/watch?v=UzxYlbK2c7E&list=PLA89DCFA6ADACE599

Books:
Machine Learning for Hackers (Drew Conway, John Myles White)


台灣資料科學年會
http://datasci.tw/

NEWS: