自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

转载 AdaBoost

from numpy import *''' 生成数据'''def createData(): dataMat = matrix( [[0.],[1.],[2.],[3.],[4.],[5.],[6.],[7.],[8.],[9.]]) classLabels = [1.0,1.0,1.0,-1.0,-1.0,-1.0,...

2016-12-01 02:35:00 100

转载 k近邻法及其实现

基础知识:1、k近邻法的学习模型k近邻法是基本且简单的分类与回归的方法,基本做法是:对给定的训练实例点和输入实例点,首先确定输入实例点的k个最近邻实例点,然后利用这k个训练实例点的类的多数来预测输入实例点的类,k近邻模型对应于基于训练数据集对特征空间的一种划分。在k近邻法中,当训练集、距离度量、k值及分类决策规则确定后,其结果唯一确定。具体算法如下: 2...

2016-09-07 16:12:00 128

转载 PLA感知机及其实现

基础知识:1、感知机学习的模型感知机是根据输入实例的特征向量x对其进行二分分类的线性分类模型:f(x) = sign(w.x + b)感知机模型对应于输入空间中的超平面w.x + b = 0,也即感知机学习的目的就是:找到一个能够完美划分不同类别的实例点的超平面;2、感知机学习的策略感知机的学习策略就是极小化损失函数: 损失函数对应于误分类...

2016-09-06 17:37:00 178

转载 VM ware 12下安装Ubuntu及其配置

Pintos 配置一、 安装虚拟机这里推荐VMware:百度VMware,下载VMware,直接双击即可安装。(傻瓜式安装)当然,还有别的虚拟机软件,也可以装双系统,但是别的虚拟机软件还未测试,双系统的联网会比较麻烦,这里用VMware来做示范。VMware12下载地址:http://www.xiazaiba.com/html/27692.html#j_d...

2016-03-23 01:07:00 464

转载 Sicily 1198 Substring

1198. SubstringConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionDr lee cuts a string S into N pieces,s[1],…,s[N].Now, Dr lee gives you these N sub-strings: s[1],…s...

2016-03-23 00:32:00 93

转载 Sicily 1176 Two Ends

1176. Two EndsConstraintsTime Limit: 1 secs, Memory Limit: 64 MBDescriptionIn the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is w...

2016-03-23 00:28:00 100

转载 Sicily 1051 Biker’s Trip Odomete

1051. Biker's Trip OdometeConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the b...

2016-03-23 00:26:00 153

转载 Sicily 1046 Plane Spotting

1046. Plane SpottingConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionCraig is fond of planes. Making photographs of planes forms a major part of his daily life. Since h...

2016-03-23 00:25:00 102

转载 Sicily 1035 DNA matching

1035. DNA matchingConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionDNA (Deoxyribonucleic acid) is founded in every living creature as the storage medium for genetic inf...

2016-03-23 00:23:00 84

转载 Sicily 1027 MJ,Nowhere to Hide

1027. MJ, Nowhere to HideConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionOn BBS, there is a familiar term called MJ (short for MaJia), which means another BBS ID of on...

2016-03-23 00:21:00 144

转载 Sicily 1021 Couple

1021. CouplesConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionN couples are standing in a circle, numbered consecutively clockwise from 1 to 2N. Husband and wife do not...

2016-03-23 00:20:00 98

转载 Sicily 1020 Big Integer

1020. Big IntegerConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionLong long ago, there was a super computer that could deal with VeryLongIntegers(no VeryLongInteger wil...

2016-03-23 00:17:00 91

空空如也

空空如也

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

TA关注的人

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