- 博客(9)
- 收藏
- 关注
原创 Xgboost调参
xgboostXGBoost 参数在运行XGBoost程序之前,必须设置三种类型的参数:通用类型参数(general parameters)、booster参数和学习任务参数(task parameters)。一般类型参数general parameters –参数决定在提升的过程中用哪种booster,常见的booster有树模型和线性模型。Booster参数-该参数的设置依赖于我们选择...
2019-11-12 23:01:33
427
原创 机器学习汇总
介绍本模块包含自己学习机器学习过程中学习过的内容,包含基础案例和实战案例,大部分以ipynb的格式展示,包含数据集和源代码,可以下载使用练习,包含机器学习的常见算法,如逻辑斯蒂回归,决策树,支持向量机,集成算法,贝叶斯,聚类等等。由于包含数据集内容比较大,鉴于网速没有上传到github,而且码云自带ipynb文件渲染,可以在线看代码,由于码云自带的图片无法渲染,有些内容是通过jupyter官网...
2019-11-07 17:17:59
195
原创 A+B Format
Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).InputEach input file cont
2017-07-31 11:46:42
258
原创 堆的操作和定义(大顶堆为例)
Insert( ): 堆的插入,为保证堆的完全二叉树的性质,新加入的元素放到数组最末尾,然后向上过滤节点,保证其有序性。DeleteMax( ): 拿走根节点的最大元素,为保证堆的完全二叉树的性质,拿数组最末尾的元素替换根节点元素,然后向下过滤节点,保证其有序性。BuildHeap( ): 给定已知的数组,建立最大堆,从n/2 点开始过滤,然后n/2 -1, n/2-2, 这样才能保证每次过滤的节
2017-06-22 09:20:53
1470
原创 搜索二叉树和平衡二叉树
搜索二叉树及操作#include #include typedef int ElementType;typedef struct TNode *Position;typedef Position BinTree;struct TNode{ ElementType Data; BinTree Left; BinTree Right;};Position
2017-05-28 04:37:51
279
原创 单向链表并交集问题
#include #include typedef struct Element{ int val; struct Element *suivant;}Element;typedef struct List{ Element *tete;}List;typedef struct File //队列{ Element *front; Ele
2017-05-16 07:32:06
353
原创 examTP-A_A12_2
Partie 1 :1) Implémenter en C une liste doublement chaînée avec sentinelle permettant le stockage d'entiers.Nous rappelons qu'une sentinelle est un nœud fictif dont i) le successeur est la tête de
2017-05-15 07:30:02
253
原创 利用堆栈实现后缀表达式求值
操作集如下:C语言代码实现Pile:堆栈CreerPile:建立堆栈Pile_vide:判断堆栈是否为空Pile_pleine:判断堆栈是否满empiler:入栈depiler : 出栈#include <stdio.h>#include <stdlib.h>typedef struct Pile{ int *tab; int max; int n;}Pi
2017-05-14 18:53:47
1279
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人