原创 Hadoop2.2.0源碼系列--Job類

獲取Job對象 Job的構造函數 最直接的獲取Job對象的方式 @Deprecated public Job() throws IOException { this(new Configuration()); }

原创 leetcode50_Pow(x, n)

一.問題描述 Implement pow(x, n). 實現指數乘法。 二.代碼編寫 首先想到的其實就是把n不斷拆分成n/2,但是想歪了,可能沉浸在大數乘法那個題裏,然後發現其實小數乘大數比兩個相等的數運算複雜度低一點,所以就否定了這個

原创 統計學習方法(五)AdaBoost

一.提升方法boosting         如果我有寫過集成方法的話[沒有的話看這篇集成學習理論],集成方法的一大類就是boosting,其基本思想就是不斷地在迭代過程中訓練BaseModel,並增加誤分樣本的權重,直到達到停止條件後,

原创 特徵工程

原创 機器學習中的範數規則化

機器學習中的範數規則化之(一)L0、L1與L2範數 [email protected] http://blog.csdn.net/zouxy09          今天我們聊聊機器學習中出現的非常頻繁的問題:過擬合與規則化。我們先簡單的來

原创 leetcode41_First Missing Positive

一.問題描述 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3

原创 leetcode39&40_Combination Sum& CombinationSumII

一.問題描述 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the can

原创 leetcode34_Search for a Range

一.問題描述 Given a sorted array of integers, find the starting and ending position of a given target value. Your algorit

原创 python_Jupyter環境配置

IPython是一個 Python 的一個交互式 shell,它提供了很多內建的函數。Jupyter Notebook是IPython的一個Web接口,其實它也支持其它語言。它可以展現富文本,使得整個工作可以以筆記的形式展現、存儲,適合

原创 kaggle_1_環境配置

需要安裝的基本就是各種科學計算環境的python包以及ipython。 注意首先要將python升級到2.7以上,參見下文3。 首先如果你機器上連pip都沒有,還要安裝pip wget https://bootstrap.pypa.i

原创 [email protected]

近期要看的: 一.機器學習算法相關 再仔細學學svd(其實約等於沒學過好嘛),資料還沒找好,就先醬~【[email protected]】 數學之美番外篇:平凡而又神奇的貝葉斯方法 【[email protected]】 機器學習知識點其

原创 xgoost原理篇

參考xgboost官方介紹 佔坑先,想起來了會填的~ 前言:關於xgboost,其作者有個介紹性的ppt,寫的很好!就算不是爲了看xgboost,也可以看看前面部分,作者對監督學習的解釋講得很好!~ xgboost原理介紹 防網頁掛掉專

原创 leetcode42_Trapping Rain Water

一.問題描述 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much

原创 ★leetcode44_Wildcard Matching

一.問題描述 Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matche

原创 kaggel入門比賽_HousePrices

@update 2016.11.28,自己嘗試了一些缺失值填補的方法,調sklearn寫了一些特徵變換和特徵選擇的算法 下一步:繼續特徵規約,開始模型調參 kaggle入門系列比賽HousePrices,該比賽是一個經典的迴歸問題,預測房