原创 【Scikit-Learn 中文文檔】大規模計算的策略: 更大量的數據 - 用戶指南 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/user_guide.html 英文文檔: http://sklearn.apachecn.org/en/stable/user_guide.ht

原创 C++運算符重載

運算符重載本質上是函數重載。operator與運算符名稱在一起構成了新的函數名。比如 const Complex operator+(const Complex &c1,const Complex &c2);,我們會說,operator+

原创 【Scikit-Learn 中文文檔】使用 scikit-learn 介紹機器學習 - scikit-learn 教程 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/tutorial/basic/tutorial.html 英文文檔: http://sklearn.apachecn.org/en/stable/

原创 【Scikit-Learn 中文文檔】處理文本數據 - scikit-learn 教程 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/tutorial/text_analytics/working_with_text_data.html 英文文檔: http://sklearn.

原创 【Scikit-Learn 中文文檔】預測延遲 / 預測吞吐量 / 技巧和竅門 - 計算性能 - 用戶指南 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/modules/computational_performance.html 英文文檔: http://sklearn.apachecn.org/

原创 【Scikit-Learn 中文文檔】無監督學習: 尋求數據表示 - 關於科學數據處理的統計學習教程 - scikit-learn 教程 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/tutorial/statistical_inference/unsupervised_learning.html 英文文檔: http://sk

原创 【Scikit-Learn 中文文檔】模型選擇:選擇估計量及其參數 - 關於科學數據處理的統計學習教程 - scikit-learn 教程 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/tutorial/statistical_inference/model_selection.html 英文文檔: http://sklearn.

原创 【Scikit-Learn 中文文檔】把它們放在一起 - 關於科學數據處理的統計學習教程 - scikit-learn 教程 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/tutorial/statistical_inference/putting_together.html 英文文檔: http://sklearn

原创 【Scikit-Learn 中文文檔】尋求幫助 - 關於科學數據處理的統計學習教程 - scikit-learn 教程 | ApacheCN

中文文檔: http://sklearn.apachecn.org/cn/stable/tutorial/statistical_inference/finding_help.html 英文文檔: http://sklearn.apa

原创 C語言與C++的比較

一、C++對C語言的擴展 1. 類型增強 (1)類型檢查更嚴格,如無法將const類型的指針賦值給非const類型的指針; (2)C++中有表示邏輯真假的布爾類型bool,可取值爲true和false; (3)真正的枚舉,C++中的枚舉變

原创 cin、!cin作爲條件判斷原理分析

在判斷文件打開成功與否或是連續從流中讀取數據時,就要用到對流對像的操作,比如 if(!cin) 或是 whie(cin) 。對於 while(cin>>val),cin 是一個流對象,而>>運算符返回左邊的流對象,也就是說 cin>>va

原创 機器學習算法筆記之9:偏差與方差、學習曲線

1. 偏差與方差的理解 在訓練機器學習模型時,使用不同的訓練集很可能會得到不同的估計模型,估計模型隨着訓練集的改變而變化的程度就叫做方差variance。我們訓練得到的估計模型與實際真實模型的偏差即爲bias,估計與實際差距越大,bias

原创 static 關鍵字總結

1. 程序的內存分配 (1)靜態存儲區,全局變量和靜態變量的存儲是在靜態區,初始化的全局變量和靜態變量在一塊區域 .data,未初始化的全局變量和靜態變量在相鄰的另一塊區域 .bss。程序結束後由系統釋放。 (2)棧區,由編譯器自動分配釋

原创 STL關聯容器總結

一、關聯式容器 STL 關聯容器分爲 set(集合)和 map(映射表)兩大類,及其衍生體 multiset 和 multimap。這些容器的底層機制均以 RB-tree(紅黑樹)實現。RB-tree 也是一個獨立容器,但並不開放使用。

原创 C++ const關鍵字總結

C++中的 const 關鍵字的用法非常靈活,而使用const將大大改善程序的健壯性,採用符號常量寫出的代碼更容易維護。 Const 是C++中常用的類型修飾符,常類型是指使用類型修飾符const說明的類型,常類型的變量或對象的值是不能被