原创 sequential模型編譯時的指標設置:sklearn.metrics:指標
sklearn.metrics: Metrics官網是最好的學習區。See the Model evaluation: quantifying the quality of predictions section and the Pairw
原创 sklearn 中大數據集的處理
官網 http://scikit-learn.org/stable/auto_examples/applications/plot_out_of_core_classification.html
原创 利用python進行數據分析D3——ch04INumpy
points = np.arange(-5, 5, 0.01) # 1000 equally spaced points points xs, ys = np.meshgrid(points, points) ''' meshgrid用於從
原创 我的友情鏈接
李振良的技術博客王清培忘情居
原创 軟考
大學的時候自己看書考了這門,今天偶然看到,居然這麼貴
原创 sklearn 官方文檔中文版
中文文檔 http://cwiki.apachecn.org/pages/viewpage.action?pageId=10030181
原创 pandas學習筆記D1
最近使用的是python3.6版本,發現使用read_csv()無法讀取中文路徑下的文件,今天終於解決。代碼如下:import syssys.getfilesystemencoding()sys._enablelegacywindowsfs
原创 pandas學習筆記D2
#獲取昨日的日期import datetimenow_time = datetime.datetime.now()yesterday_time = now_time + datetime.timedelta(days=-1)yesterda
原创 No module named 'sklearn.model_selection'問題解決
想學習一下GridSearchCV,但是報錯:No module named 'sklearn.model_selection' 後來在Anaconda Prompt裏輸入:conda list,發現sklearn版本是0.17.0,太低了
原创 python---list列表與字符串 list()、split()、join()
1.利用list方法把字符串轉換成字符列表,list函數是將字符串轉換爲單獨的字母 2.利用split()將字符串轉換成由單詞組成的序列 split()方法語法:str.split(str="",
原创 利用python進行數據分析D2——ch03IPython
爲無爲,事無事,味無味。大小多少,報怨以德。 圖難於其易,爲大於其細; 天下難事必作於易,天下大事必作於細。 ——老子關於圖片的例子:import matplotlib.pyplot as plt img=plt.
原创 gridSearchCV(網格搜索)的參數、方法及示例
GridSearchCV學習筆記1.簡介GridSearchCV的sklearn官方網址:http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.Gr
原创 深度學習筆記(1)---DeepLearnToolbox
https://github.com/rasmusbergpalm/DeepLearnToolbox 官網Deprecation notice.關於棄用的提醒This toolbox is outdated and no longer ma
原创 WIN7-64 python xgboost 安裝
主要分爲四個步驟: 1.首先下載安裝mingw64 2.安裝Anaconda及git 3.下載xgboost,我參考的是 https://blog.csdn.net/leo_xu06/article/details
原创 利用python進行數據分析——histogram
DataFrame.hist(data, column=None, by=None, grid=True, xlabelsize=None, xrot=None, ylabelsize=None, yrot=None,ax=None, sh