利用 Python,R,Excel VBA,multicharts 自造決策中心,取得量化交易能力, 再利用資訊不對稱,站在對你有利的這邊。
2016年7月10日 星期日
[ML] logistic gradient accent and Andrew Ng gradient decent
ref:
http://www.csdn123.com/html/topnews201408/66/10366.htm
the gradient fun is l(n)
normally hope probability biggest, so use gradient Accent to find largest theta of l(n)
but
Andrew Ng set J(theta)=-(1/m)l(n), there has a "-", so become find the minimum , so
use gradient decent.
2016年7月9日 星期六
[python3.x] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
Can't fix by root cause, but I try another way, reedit the file you hit.
1. open that file in vim, and you can see the <0x92> in the file, remove and save. Done.
2. simply open file in sublime text 3 or TextEdit something, find some strange mark. remove it. Done.
ps. if you wondering what is the encoding of your file, go to sublime , show console and
type-> view.encoding()
1. open that file in vim, and you can see the <0x92> in the file, remove and save. Done.
2. simply open file in sublime text 3 or TextEdit something, find some strange mark. remove it. Done.
ps. if you wondering what is the encoding of your file, go to sublime , show console and
type-> view.encoding()
2016年7月5日 星期二
[mac] add path for adb,fastboot,.... to PATH
get mac version of adb , fastboot....
=> download Android Studio from google developer site.
copy those bin to folder whether you want. ex: /Users/xxxxx/Documents/bin
and
=> download Android Studio from google developer site.
copy those bin to folder whether you want. ex: /Users/xxxxx/Documents/bin
and
vim ~/.bash_profile
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/xxxxx/Documents/bin:${PATH}"
export PATH
save , and reopen the terminal.
Done.
[mac] Connect FTP from mac to ubuntu by vsftpd
[ubuntu side]
sudo apt-get install vsftpd
[mac side]
download filezilla client.
create a new ftp , use account and password to login.
ref:
http://yunol.com.tw/phpbb3/viewtopic.php?f=15&t=25132
sudo apt-get install vsftpd
[mac side]
download filezilla client.
create a new ftp , use account and password to login.
ref:
http://yunol.com.tw/phpbb3/viewtopic.php?f=15&t=25132
2016年7月4日 星期一
[IDE]Sublime text 3 + Anconda ST3 => Autocomplete pandas dataframe setting
add following in to
Preferences->Setting-User
{
"auto_complete_triggers":
[
{
"characters": ".",
"selector": "source"
}
],
}
Preferences -> Package setting->Anconda->Setting-User
add at the tail.
{
"anaconda_linting": false,
"python_interpreter": "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3",
"auto_python_builder_enabled": false,
}
"anaconda_linting": false,
"python_interpreter": "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3",
"auto_python_builder_enabled": false,
}
[IDE] Sublime text 3 + Anconda ,autocomplete quickly config
Sublime Text → Preferences → Settings—User
"auto_complete_triggers":
[
{
"characters": ".",
"selector": "source"
}
],
"auto_complete_triggers":
[
{
"characters": ".",
"selector": "source"
}
],
[MacOS] install python3.4 pandas , request, matplotlib
pip3.4 install pandas
pip3.4 install request
pip3.4 install matplotlib
SUPER EASY.....
pip3.4 install request
pip3.4 install matplotlib
SUPER EASY.....
訂閱:
文章 (Atom)