![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 51
VegB
这个作者很懒,什么都没留下…
展开
-
【LeetCode】Minimum Window Substring
Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).原创 2017-02-04 15:22:42 · 224 阅读 · 0 评论 -
【LeetCode】Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.原创 2017-02-03 11:34:29 · 236 阅读 · 0 评论 -
【LeetCode】Remove Nth Node From End of List
DescriptionRemove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head.原创 2017-02-03 11:24:17 · 248 阅读 · 0 评论 -
【Python】Hash+随机salt - 密码加密
Yixiaohan/show-me-the-code 第0021题Notes 这个小项目中涉及加入随机salt的哈希算法。原创 2017-01-30 11:49:59 · 2306 阅读 · 0 评论 -
【Python】用python对excel进行读写
Yixiaohan/show-me-the-code 第0014 ~ 0016题 && 第0020题这个小项目中涉及用python操作excel的方法。原创 2017-01-29 17:25:50 · 893 阅读 · 0 评论 -
【Python】生成图片验证码
DescriptionYixiaohan/show-me-the-code 第0010题这个小项目中涉及随机字符串的形成,以及PIL模块的使用。本项目中涉及到的PIL模块的一些基础操作如下:原创 2017-01-29 15:01:11 · 2945 阅读 · 0 评论 -
【Python】生成随机字符串并存入MySQL数据库
Yixiaohan/show-me-the-code 第0001题 && 第0002题 这个小项目中涉及随机字符串的形成,以及用python连接MySQL的内容。原创 2017-01-28 16:05:37 · 1668 阅读 · 1 评论 -
【Python】网络爬虫-批量下载图片
Yixiaohan/show-me-the-code 第0008题 && 第0009题 && 第0013题这个小项目中涉及BeautifulSoup模块的使用、文件I/O操作、从网络上下载文件等内容。原创 2017-01-28 17:30:00 · 2337 阅读 · 1 评论 -
【Python】为图片加上数字上标
Yixiaohan/show-me-the-code Python 练习册,每天一个小程序 第0000题 这个小项目涉及到了PIL中Image、ImageDraw还有ImageFont模块的简单使用。原创 2017-01-28 15:59:53 · 8557 阅读 · 0 评论 -
【机器学习】人像分类(四)——灰度矩阵恢复成灰度图
简介 对Matlab不是非常熟悉,经过查询,了解到可以使用 colormap(flipud(gray)) 设置画出的图为灰度图(不然画出来是彩色的)。 imagesc(Matrix, []) 则用来将矩阵Matrix还原成图。原创 2017-02-08 19:56:11 · 3657 阅读 · 0 评论 -
【机器学习】人像识别(三)——K-Means聚类
K-Means聚类是一种非监督的聚类方式,原理参看数据挖掘十大算法 | k-means。原创 2017-02-08 19:11:45 · 3701 阅读 · 1 评论 -
【机器学习】人像识别(二)——PCA降维
降维。我用了python里sklearn.decomposition模块的IncrementalPCA。原创 2017-02-08 18:51:24 · 629 阅读 · 0 评论 -
【机器学习】人像分类(一)——过程总结
给定一组内容是两个人在不同光线条件、不同表情下拍摄的面部照片,将照片按照人物分成两类。这个寒假里计划要干的事情其实有很多,完成这个项目是其中之一;对CS的热门方向——如机器学习等听起来神乎其神的领域——有所了解也在ToDo-List上。据说最好的学习方式是learning in projects,不如趁此机会巩固一下python。原创 2017-02-08 16:52:13 · 1903 阅读 · 0 评论 -
【LeetCode】Generate Parentheses
Generate ParenthesesMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.原创 2017-02-03 14:49:48 · 343 阅读 · 0 评论