摘要:
xgboost的全称是eXtreme Gradient Boosting,现在已经风靡Kaggle、天池、DataCastle等国内外数据竞赛平台,是比赛夺冠的必备大杀器!如果把数据竞赛比作金庸笔下的武林,那么XGBoost可谓屠龙刀,号令天下,莫敢不从! 于是,在学习了机器学习知识良久,准备下载x
阅读全文
posted @ 2017-05-08 21:18
dxy1993
阅读(423)
推荐(0)
2017年8月18日
摘要:
网址:https://www.nowcoder.com/ta/cracking-the-coding-interview?query=&asc=true&order=&page=1 1.1确定字符互异 1 class Different { 2 public: 3 bool checkDiffere
阅读全文
posted @ 2017-08-18 10:03
dxy1993
阅读(284)
推荐(0)
2017年8月17日
摘要:
网址:https://www.nowcoder.com/ta/coding-interviews?page=1 1.二维数组中的查找 1 class Solution { 2 public: 3 bool Find(int target, vector<vector<int> > array) {
阅读全文
posted @ 2017-08-17 16:59
dxy1993
阅读(162)
推荐(0)
2017年5月27日
摘要:
百度2017春招笔试真题编程题集合 1.买帽子 思路:直接排序数出第三个即可 1 #include <iostream> 2 #include <cstdio> 3 #include <vector> 4 #include <algorithm> 5 6 using namespace std; 7
阅读全文
posted @ 2017-05-27 22:43
dxy1993
阅读(162)
推荐(0)
2017年5月22日
摘要:
#1014 : Trie树 思路:Trie树模板题 1 #include<stdio.h> 2 #include<string.h> 3 4 typedef struct Trie 5 { 6 int count; 7 struct Trie* next[26]; 8 }Trie_Node; 9 1
阅读全文
posted @ 2017-05-22 17:55
dxy1993
阅读(179)
推荐(0)
2017年5月21日
摘要:
[Offer收割]编程练习赛17 链接:http://hihocoder.com/contests/past A.F1 Score 思路:f1指标是机器学习中的一个指标,具体公式可见周志华《机器学习》一书 1 #include <iostream> 2 #include <cstdio> 3 4 u
阅读全文
posted @ 2017-05-21 15:01
dxy1993
阅读(131)
推荐(0)
摘要:
33: 链接:https://leetcode.com/contest/leetcode-weekly-contest-33/ A.Longest Harmonious Subsequence 思路:hash加查找 1 class Solution { 2 public: 3 int findLHS
阅读全文
posted @ 2017-05-21 12:20
dxy1993
阅读(188)
推荐(0)
摘要:
计蒜之道第一场:初赛 链接:https://www.jisuanke.com/contest/726 A. 阿里的新游戏 思路:任意搜任意写(这个代码写的很挫) 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #incl
阅读全文
posted @ 2017-05-21 11:51
dxy1993
阅读(388)
推荐(0)