自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (15)
  • 收藏
  • 关注

原创 xgboost代码示例

之前写过很久了,怕新更新的xgboost不再适用,重新调试了一下代码,可运行,但数据得换成自己的,xgboost,都应该知道它的威力了,这里不再多说,欢迎一起讨论!# coding=utf-8import pandas as pdimport xgboost as xgbfrom sklearn import metricsimport matplotlib.pylab as plt

2017-05-20 19:28:05 3553 1

原创 遗传算法之基因型与表现型的相互转换

思想从生物上讲:基因型:性状染色体的内部表现。表现型:染色体决定性状的外部表现,或者说,根据基因型形成的个体。也即,基因型决定表现型。在遗传算法中,整个流程操作的对象都是基因(即0和1的情况),所以第一步要做从表现型到基因型的转换,转换需要分成几种情况:自变量是离散整数值的情况自变量是连续值的情况情况一:当要优化的自变量是离散整数值的

2017-05-20 01:24:20 5298 2

原创 遗传算法应用于随机森林的调参过程

背景其实不管调参的对象的是随机森林,还是其他分类器,遗传算法都是作为分类器对其超参数进行调优的工具,当然,遗传算法是一个贪心算法,只能接近于最优解,类似的算法还有比如退火算法、蚁群算法等等,关于遗传算法的详解这里不再多说,网上参考有很多:http://blog.csdn.net/b2b160/article/details/4680853/ (非常好的理解遗传算法的例子)

2017-05-19 18:32:03 10760 24

原创 LeetCode 3: Longest Substring Without Repeating Characters

题目描述:Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is"abc", which the length is 3.Given "bbbbb", the answer is

2017-05-17 22:44:52 387

原创 Sum—LeetCode-445 Add Two Numbers II

题目描述:You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contain a single digit. Add the two numbers and

2017-05-17 15:50:35 459

原创 Sum—LeetCode-415 Add Strings

题目描述:Given two non-negative integers num1 andnum2 represented as string, return the sum ofnum1 and num2.Note:The length of both num1 andnum2 is Both num1 andnum2 contains only digits

2017-05-15 00:45:50 322

原创 Sum—LeetCode-371 Sum of Two Integers

题目描述:Calculate the sum of two integers a and b, but you are not allowed to use the operator + and-.Example:Given a = 1 and b = 2, return 3.思想:(1)两个数异或,相当于两个数的二进制不带进位相加          (2)两个

2017-05-15 00:21:47 286

原创 Sum—LeetCode-43 Multiply Strings

题目描述:Given two non-negative integers num1 andnum2 represented as strings, return the product ofnum1 and num2.Note:The length of both num1 andnum2 is Both num1 andnum2 contains only d

2017-05-14 17:46:55 243

原创 Sum—LeetCode-67 Add Binary

题目描述:Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".public String addBinary(String a, String b) { int len = Math.max(

2017-05-12 14:55:24 277

原创 Sum—LeetCode-560 Subarray Sum Equals K

题目描述:Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals tok.Example 1:Input:nums = [1,1,1], k = 2Output: 2Not

2017-05-12 11:24:02 502

原创 Sum—LeetCode-167 Two Sum II Input array is sorted

题目描述:Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two

2017-05-11 18:14:55 272

原创 Sum—LeetCode-454 4Sum II

Given four lists A, B, C, D of integer values, compute how many tuples(i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero.To make problem a bit easier, all A, B, C, D have same le

2017-05-11 17:19:58 416

原创 Sum—LeetCode-18 4Sum

题目描述:Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.Note: The

2017-05-09 19:35:37 239

原创 Sum—LeetCode-15 3Sum

问题描述:Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note: The solution set must no

2017-05-09 17:07:49 387

原创 Sum—LeetCode-1 Two Sum

题目描述:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not us

2017-05-08 23:10:08 313

原创 2017年6月-9月学习计划

算法(基础部分,不能丢):数据结构基础,没事翻翻         LeetCode(定期做题)《数据挖掘导论》,没事翻翻留意Kaggle、阿里天池、DataCastle比赛Java部分:Java并发,多写程序,工程中的TTP框架,多学习并发框架及内部原理Spring源码部分,结合工程来看中间件侧重于Kafka来研究、databusJava基础,多去思考

2017-05-08 19:17:34 645

geektime-人工智能基础课

geektime-人工智能基础课

2024-09-17

geektime-说透区块链

geektime-说透区块链

2024-09-17

geektime-如何设计一个秒杀系统

geektime-如何设计一个秒杀系统

2024-09-17

geektime-Java核心技术面试精讲

geektime-Java核心技术面试精讲

2024-09-17

geektime-数据结构与算法之美课程

geektime-数据结构与算法之美

2024-09-17

数据结构课件【C语言版严蔚敏著】

数据结构课件【C语言版严蔚敏著】,教学课件,可用于自学,很好的资源

2024-09-07

数据结构与算法面试最全合集

数据结构与算法面试最全合集,面试基础必须

2024-09-07

geektime-10x程序员工作法

10x程序员工作法

2024-09-07

《Java9模块化开发核心原则与实践》书中源码

《Java9模块化开发核心原则与实践》书中源码,Sander Mak Paul Bakker 著

2023-05-27

jdk9下载,包括windows 和 mac

包括以下三个版本: 版本一:jdk-9.0.1_windows-x64_bin.exe(windows) 版本二:jdk-9.0.4_windows-x64_bin.exe(windows) 版本三:jdk-11.0.9_osx-x64_bin.dmg(mac)

2023-05-27

基于Spring Boot+Mybatis的博客管理平台源代码

基于Spring Boot+Mybatis的博客管理平台,功能简单且很容易上手,可适当扩展。核心技术:Spring Boot、Mybatis、JSP、Vue 等,数据库:Mysql,服务器:jetty

2023-02-26

Flowable 请假流程 demo 示例

Flowable 请假流程 demo 示例

2023-02-19

基于 Spring Boot 的 Camunda 请假流程 demo 示例

以请假流程作为 Camunda 基本使用示例,学生先发起请假,然后老师审批,若审批时需要进一步审批,则再次发起审批

2023-02-19

Activiti5 请假流程 demo 代码示例

以请假流程作为 Activiti 基本使用示例,员工发起请假,然后项目经理审批,再HR审批,最后CEO审批,若其中任意一个人拒绝,员工则需要重新提交流程

2023-02-19

基于Spring+Mybatis极简论坛系统

基于 Spring MVC 和 MyBatis 的极简论坛系统,功能简单且很容易上手,可适当扩展。

2023-02-18

流程引擎jBPM demo及Spring Boot示例

流程引擎jBPM基于jboss kie 项目使用的代码示例,包括基本jBPM基本demo,与spring boot 结合使用等,简单易入门

2023-02-15

基于 Spring MVC 和 MyBatis 的图书馆管理简单系统,功能齐全且很容易上手

基于 Spring MVC 和 MyBatis 的图书馆管理简单系统,功能齐全且很容易上手。-核心技术:Spring MVC、Mybatis、JSP、Mysql、jetty等

2023-02-07

豆瓣电影评论分析(含数据)

这是一份豆瓣电影评论分析,包含用户评论、不同国随着时间增长,电影流行趋势变化 为由用户电影评论构建tf-idf模型抽取的关键短语。由电影风格标签抽取的关联规则。通过kmeans算法聚类电影,样本通过one-hot编码为特征,然后再使用kmeans算法聚类

2022-04-09

个人合伙协议书.pdf

个人合伙协议书,用于个人合作等

2021-03-08

Java对象池实现源码

java对象池轻量级实现,借鉴“Jakarta Commons Pool”组件实现思想。

2016-08-29

Java并发编程的艺术-方腾飞等著(ppt)

Java并发编程的艺术-方腾飞等著(ppt),没有找到课本pdf,自己根据买的书做的每一章的Ppt,欢迎爱好者下载。

2016-07-24

xgboost-2015

截止到2016年3月29号,新版本的xgboost代码还不支持windows,该版本是旧版本(2015年及其以前的)的xgboost

2016-03-29

机器学习ppt

机器学习经典教材ppt,作者 Tom M.Michell Machine learning

2015-07-16

机器学习课后习题答案(整理所有版本)

整理了所有上传的习题答案,所能找到的都找了,尽力了!

2015-07-16

数据挖掘导论(完整版) 习题答案

数据挖掘导论(完整版) 习题答案英文的,很全面的!

2015-07-16

数据挖掘导论(完整版) PPT

数据挖掘很经典的教材ppt,Pang-Ning Tan Michael Steinbach Vipin Kumar

2015-07-16

Zen Coding-Notepad++.v0.7.zip

Zen Coding–一款使用仿CSS选择器的语法来快速开发HTML和CSS的插件。它无视了编辑器的自动提示和自动完成,秒杀了你自定义的各种快捷键或者 AHK 的热字符串,以智能简洁高效的缩短输入,带给你超快速地书写各种复杂而枯燥的 HTML 和 CSS 代码的体验。

2015-04-22

API文档集合

DHTML 手册,dom4jAPI帮助文档,J2ME API 速查手册,Javascript手册,JDK_API_6_中文,Jsp帮助文档,servlet api 中文版chm格式,XmlSchema标准参考手册,均为chm格式,开发代码必备!

2015-02-05

动态html.chm

动态html.chm

2015-02-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除