2016年1月11日

Kaggle & Machine Learning

摘要: Digit Recognizer step1: KNN 识别率93%,很低,继续…… step2:logistic回归 跑了一下下,电脑有点慢 Titanic: Machine Learning from Disaster step1: CART 直接建的CART树,score为0.76 Exerc 阅读全文

posted @ 2016-01-11 21:34 JustForCS 阅读(418) 评论(0) 推荐(0)

2015年12月19日

练习题目总结

摘要: 日常练习//算法类codeforces专项10.26—11.110.12-10.25 字符串10.05-10.119.28-10.049.21-9.279.14-9.20—9月13日 阅读全文

posted @ 2015-12-19 21:06 JustForCS 阅读(156) 评论(0) 推荐(0)

2015年11月27日

日常练习//算法类

摘要: 1.Matrix //二维线段树 1 #include <iostream> 2 #include <cstring> 3 4 #define MAXN 1005 5 #define xlson kx<<1, xl, mid 6 #define xrson kx<<1|1, mid+1, xr 7 阅读全文

posted @ 2015-11-27 15:54 JustForCS 阅读(194) 评论(0) 推荐(0)

2015年11月23日

论文阅读

摘要: 记录一下阅读的论文。1. recommendations Item-to-item collaborative filtering(Amazon的经典论文,介绍了Amazon的推荐系统,item-to-item)2.个性化推荐系统的研究进展_刘建国(简要介绍推荐系统,类似绪论)3.Tracking ... 阅读全文

posted @ 2015-11-23 23:15 JustForCS 阅读(218) 评论(0) 推荐(0)

2015年11月4日

codeforces专项

摘要: //专门用于记录日常刷的codeforces上面的题目1.PawnChess(简单) 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include ... 阅读全文

posted @ 2015-11-04 21:22 JustForCS 阅读(279) 评论(0) 推荐(0)

2015年10月26日

10.26—11.1

摘要: 1.Phone List(trie/easy)//2015.10.26 09:55 1 //注意用静态建树,动态建树超时 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 ... 阅读全文

posted @ 2015-10-26 09:56 JustForCS 阅读(211) 评论(0) 推荐(0)

2015年10月22日

常见算法笔记

摘要: 算法刷题过程中学了很多算法,但是都没有做个笔记==,写一下稍微留个印象~1.曼彻斯特算法首先用一个非常巧妙的方式,将所有可能的奇数/偶数长度的回文子串都转换成了奇数长度:在每个字符的两边都插入一个特殊的符号。比如 abba 变成 #a#b#b#a#, aba变成 #a#b#a#。 为了进一步减少编码... 阅读全文

posted @ 2015-10-22 22:58 JustForCS 阅读(833) 评论(0) 推荐(0)

DM/ML学习实践(一)

摘要: //数据挖掘&机器学习实践1.简单的手写数字识别原理:可以先通过多次手写的图片生成训练集,然后利用knn就行了……代码如下(下面代码需要安装PIL/numpy库,PIL安装有点坑==官方的貌似还有点问题。。。) 1 //knn.py 2 from numpy import * 3 import... 阅读全文

posted @ 2015-10-22 13:10 JustForCS 阅读(379) 评论(0) 推荐(0)

Python常见代码

摘要: //平时学习中写的Python模块代码1.简易验证码 1 import Image, ImageDraw, ImageFont, ImageFilter 2 import random 3 4 def rndChr(): 5 return chr(random.randint(48, 57... 阅读全文

posted @ 2015-10-22 09:31 JustForCS 阅读(693) 评论(0) 推荐(0)

2015年10月21日

Link

该文被密码保护。 阅读全文

posted @ 2015-10-21 10:43 JustForCS 阅读(2) 评论(0) 推荐(0)

导航