自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(142)
  • 资源 (13)
  • 收藏
  • 关注

原创 POJ 2513

Colored SticksTime Limit:5000MS Memory Limit:128000K Total Submissions:41270 Accepted:10684 DescriptionYou are given a bunch of wooden sticks. Each endpoint of each stick i...

2019-09-21 22:46:31 239

原创 POJ 2503

BabelfishTime Limit:3000MS Memory Limit:65536K Total Submissions:52653 Accepted:21811 DescriptionYou have just moved from Waterloo to a big city. The people here speak an i...

2019-08-11 17:32:56 313

原创 POJ 1308

Is It A Tree?Time Limit:1000MS Memory Limit:10000K Total Submissions:43024 Accepted:13980 DescriptionA tree is a well-known data structure that is either empty (null, void,...

2019-08-11 14:25:38 257

原创 POJ 2524

Ubiquitous ReligionsTime Limit:5000MS Memory Limit:65536K Total Submissions:44774 Accepted:21204 DescriptionThere are so many different religions in the world today that it...

2019-08-08 17:18:18 160

原创 POJ 1789

Truck HistoryTime Limit:2000MS Memory Limit:65536K Total Submissions:37100 Accepted:14246 DescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some truc...

2019-08-08 14:00:59 122

原创 POJ 1251

Jungle RoadsTime Limit:1000MS Memory Limit:10000K Total Submissions:36431 Accepted:17128 DescriptionThe Head Elder of the tropical island of Lagrishan has a problem. A b...

2019-08-08 13:36:40 145

原创 POJ 2485

HighwaysTime Limit:1000MS Memory Limit:65536K Total Submissions:39406 Accepted:17366 DescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has...

2019-08-08 13:16:15 86

原创 POJ 1258

Agri-NetTime Limit:1000MS Memory Limit:10000K Total Submissions:74989 Accepted:31018 DescriptionFarmer John has been elected mayor of his town! One of his campaign promises...

2019-08-08 13:09:06 105

原创 POJ 1125

Stockbroker GrapevineTime Limit:1000MS Memory Limit:10000K Total Submissions:41284 Accepted:23094 DescriptionStockbrokers are known to overreact to rumours. You have been c...

2019-08-07 21:53:48 127

原创 POJ 2253

FroggerTime Limit:1000MS Memory Limit:65536K Total Submissions:72017 Accepted:22071 DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notice...

2019-08-07 21:22:07 200

原创 POJ 1062

昂贵的聘礼Time Limit:1000MS Memory Limit:10000K Total Submissions:60666 Accepted:18328 Description年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金...

2019-08-07 16:42:19 369

原创 POJ 1797

Heavy TransportationTime Limit:3000MS Memory Limit:30000K Total Submissions:60448 Accepted:15064 DescriptionBackgroundHugo Heavy is happy. After the breakdown of the Carg...

2019-08-07 12:04:02 156

原创 POJ 1033

DefragmentTime Limit:2000MS Memory Limit:10000K Total Submissions:4990 Accepted:1752 Case Time Limit:1000MS Special Judge DescriptionYou are taking part in the d...

2019-08-04 12:05:36 170

原创 POJ 2488

A Knight's JourneyTime Limit:1000MS Memory Limit:65536K Total Submissions:56074 Accepted:19091 DescriptionBackgroundThe knight is getting bored of seeing the same black a...

2019-08-04 11:51:04 100

原创 POJ 1011

SticksTime Limit:1000MS Memory Limit:10000K Total Submissions:162064 Accepted:38913 DescriptionGeorge took sticks of the same length and cut them randomly until all parts b...

2019-08-02 19:20:15 199

原创 POJ 1129

Channel AllocationTime Limit:1000MS Memory Limit:10000K Total Submissions:18963 Accepted:9602 DescriptionWhen a radio station is broadcasting over a very large area, repeat...

2019-08-02 17:00:22 198

原创 POJ 1260

PearlsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 10810 Accepted: 5611DescriptionIn Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lot of je...

2019-07-14 13:00:51 235

原创 POJ 1221

UNIMODAL PALINDROMIC DECOMPOSITIONSTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5903 Accepted: 2896DescriptionA sequence of positive integers is Palindromic if it reads the same for...

2019-07-14 10:53:58 160

原创 POJ 1080

Human Gene FunctionsTime Limit:1000MS Memory Limit:10000K Total Submissions:21213 Accepted:11825 DescriptionIt is well known that a human gene can be considered as a sequen...

2019-07-08 23:00:49 209

原创 POJ 1141

Brackets SequenceTime Limit:1000MS Memory Limit:65536K Total Submissions:35539 Accepted:10273 Special Judge DescriptionLet us define a regular brackets sequence in ...

2019-07-07 21:30:10 303

原创 POJ 1042

Gone FishingTime Limit:2000MS Memory Limit:32768K Total Submissions:39929 Accepted:12429 DescriptionJohn is going on a fishing trip. He has h hours available (1 <= h &lt...

2019-07-06 23:56:02 289

原创 POJ 1015

Jury CompromiseTime Limit:1000MS Memory Limit:65536K Total Submissions:34623 Accepted:9370 Special Judge DescriptionIn Frobnia, a far-away country, the verdicts in ...

2019-07-05 23:43:11 181

原创 POJ 2593

Max SequenceTime Limit:3000MS Memory Limit:65536K Total Submissions:18628 Accepted:7781 DescriptionGive you N integers a1, a2 ... aN (|ai| <=1000, 1 <= i <= N)....

2019-07-03 21:43:25 136

原创 POJ 2479

Maximum sumTime Limit:1000MS Memory Limit:65536K Total Submissions:45591 Accepted:14088 DescriptionGiven a set of n integers: A={a1, a2,..., an}, we define a function d(A) ...

2019-07-03 21:37:22 337

原创 POJ 2709

PainterTime Limit:1000MS Memory Limit:65536K Total Submissions:5548 Accepted:3188 DescriptionThe local toy store sells small fingerpainting kits with between three and twel...

2019-07-02 16:48:16 93

原创 POJ 1521

EntropyTime Limit:1000MS Memory Limit:10000K Total Submissions:11479 Accepted:4128 DescriptionAn entropy encoder is a data encoding method that achieves lossless data compr...

2019-07-02 15:54:25 231

原创 POJ 1065

题目:Wooden SticksTime Limit:1000MS Memory Limit:10000K Total Submissions:27393 Accepted:11897 DescriptionThere is a pile of n wooden sticks. The length and weight of each ...

2019-07-01 23:29:51 352

转载 Kaggle爆文:一个框架解决几乎所有机器学习问题

转载自:http://baijiahao.baidu.com/s?id=1581788955363618987&amp;wfr=spider&amp;for=pc上周一个叫 Abhishek Thakur 的数据科学家,在他的 Linkedin 发表了一篇文章 Approaching (Almost) Any Machine Learning Problem,介绍他建立的一个自动的机器学习框架,几...

2018-05-18 23:07:17 1187

原创 matplotlib绘制图表简易教程

matplotlib基本图表包含以下元素:x、y轴x、y轴刻度x、y轴刻度标签绘图区域#encoding=utf-8import matplotlib.pyplot as pltx = [1,2,3,4]y = [5,4,3,2]fig = plt.figure()#线形#图表分为2*3的网格,并选择第一个,同sublpot(2,3,1)plt.subplot(231)plt.plot(x,y)#...

2018-03-29 20:38:51 705

原创 python处理csv,excel,json,sql数据

csv文件导入数据import csvwith open(filename) as f: reader = csv.reader()header = reader.next()data = [row for row in reader]import numpy data = numpy.loadtxt('test.csv',dtype='string',delimiter=',')excel文件导...

2018-03-28 23:19:15 500

原创 sklearn.neural_network常用API介绍

sklearn.nueral_network.MLPClassifier(hidden_layer_sizes=(100,),activation='relu',solver='adam',alpha=0.0001,batch_size='auto',learning_rate='constant',learning_rate_init=0.001,power_t=0.5,max_iter=200...

2018-03-24 21:37:00 6726

原创 sklearn.neighbors常用API介绍

K近邻算法:对新的输入数据,在训练数据上找到与该实例最邻近的k个实例,k个实例的多数属于的类别作为输入数据的类别。用于分监督学习的k近邻算法:sklearn.neighbors.NearestNeighbors(n_neighbors=5,radius=1.0,algorithm='auto',leaf_size=30,metric='minkowski',p=2,metric_params=No...

2018-03-24 15:00:12 3880

原创 sklearn.naive_bayes常用API介绍

高斯朴素贝叶斯sklearn.naive_bayes.GaussianNB(priors=None):priors:array-like,shape(n_classes,)类别的先验概率,如果指定则不会根据数据改变属性:class_prior_:array,shape(n_classes,)每一类的概率class_count_:array,shape(n_classes,)每一类的训练样本个数th...

2018-03-24 00:40:44 2443

原创 sklearn.linear_model常用API介绍

sklearn.linear_model.LinearRegression(fit_intercept=True,normalize=False,copy_X=True,n_jobs=1)返回一个线性回归模型,损失函数形式为fit_intercept:boolean,可选,True(默认):是否计算截距,即f(x)=w.T*X或者f(x)=w.T*X+bnormalize:boolean,可选,F...

2018-03-23 22:08:50 5279

原创 sklearn.feature_extraction常用API介绍

特征提取:sklearn.feature_extraction.DictVectorizer(dtype=,separator='=',sparse=True,sort=True)将映射转化为向量。字典类型的对象转化为numpy.array或者scipy.sparse特征值为string类型时,向量表示为one-hot二元编码,出现的string为1,其余为0.特征值为int等

2018-03-22 20:09:27 4390

原创 sklearn.cluster常用API介绍(KMeans,MiniBatchKMeans)

问题:对于给定的数据集{x1,x2...xn},如何根据样本点自身的数据特性实现分类,也就是在没有标签的情况下将距离较近的数据点划分到同一类,假设这个类别就是他们的标签。也就是解决如下问题:通过计算机来将人类可以迅速分类的点群划分出来。这里介绍几个常用的求点到中心距离公式:1)Minkowski Distance 公式 —— λ 可以随意取值,可以是负数,也可以是正数,或是无穷大。2)Euclid...

2018-03-21 16:15:18 10393

原创 sklearn.datasets常用API介绍

sklearn.datasets返回元组(X,y),X是n_samples*n_features的矩阵表示样本特征,y是n_samples*1的矩阵表示标签含有属性data为X,target是y含有属性DESCR包含feature_names和target_names,表示数据集的详细描述.load_boston([return_X_y]) 返回波士顿房价数据集,回归问题return_X_y:默认...

2018-03-21 14:35:39 1056

原创 Python3.6应用Pyinstaller打包py文件的一些注意事项

打开cmd进入要打包的py文件目录,使用命令Pyinstaller -F -w -p -i myfile.py-F 表示生成单个可执行文件-w 表示去掉控制台窗口,这在GUI界面时非常有用。不过如果是命令行程序的话那就把这个选项删除吧!-p 表示你自己自定义需要加载的类路径,一般情况下用不到-i 表示可执行文件的图标当py文件中含有第三方库时,打包之前要把用到的第三方库文件

2017-11-05 16:31:50 4192

转载 Windows下安装scikit-learn

Windows下安装scikit-learn准备工作Python (>= 2.6 or >= 3.3),Numpy (>= 1.6.1)Scipy (>= 0.9),Matplotlib(可选).NumPyNumPy系统是Python的一种开源的数值计算扩展。这种工具可用来存储和处理大型矩阵,比Python自身的嵌套列表(nested list struct

2017-05-29 22:23:13 755

原创 装双系统时装在了逻辑分区的解决方案

相信很多人都会有在现有系统下再安装另一个操作系统的想法。昨天下午我在虚拟机上安装了一个win7,于是自信满满的在物理机上安装win7了。首先用分区助手给要安装的系统分配一个足够大小的系统盘分区。我是只有c,d盘,所以重新分了一个e盘,大小为150g,作为win7的系统盘已经足够大了。然后通过大白菜制作的安装系统U盘进入U盘启动,开始装win7,大约持续了二十分钟左右,win7装机完成。这时

2017-05-17 13:11:22 1796

计算机网络选择重传协议实验报告.docx

计算机网络选择重传协议实验报告

2017-05-16

python自然语言处理

python自然语言处理

2017-05-15

网站设计解构.pdf

网站设计解构.pdf

2017-05-15

基于Selenium 2的自动化测试 从入门到精通PDF.pdf

基于Selenium 2的自动化测试 从入门到精通PDF电子书下载 带书签目录 完整版.pdf

2017-05-15

Python灰帽子-黑客与逆向工程师的Python编程之道.pdf

Python灰帽子-黑客与逆向工程师的Python编程之道.pdf

2017-05-15

Python项目开发实战 第2版(完整版)

项目开发实地演练

2017-05-15

利用python进行数据分析

数据分析教程

2017-05-14

python金融大数据分析.pdf

基于python的大数据分析教程

2017-05-14

菜鸟Android基础入门.pdf

android开发的入门教程

2017-05-13

离散数学结构翻译版中文版

2016-11-14

空空如也

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

TA关注的人

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