摘要: from numpy import genfromtxt from sklearn import linear_model datapath=r"Delivery_Dummy.csv" data = genfromtxt(datapath,delimiter=",") x = data[1:,:-1] y = data[1:,-1] print x print y mlr = linear... 阅读全文
posted @ 2017-09-02 19:06 WangLC 阅读(396) 评论(0) 推荐(0)
摘要: 异或运算 手写体识别 阅读全文
posted @ 2017-09-02 17:46 WangLC 阅读(1705) 评论(0) 推荐(0)
摘要: 人脸识别 阅读全文
posted @ 2017-09-01 20:52 WangLC 阅读(1616) 评论(0) 推荐(0)
摘要: import csv import random import math import operator def loadDataset(filename, split, trainingSet = [], testSet = []): with open(filename, 'rb') as csvfile:#逗号分隔符的文件类型 lines = csv.reade... 阅读全文
posted @ 2017-09-01 14:25 WangLC 阅读(213) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- from sklearn.feature_extraction import DictVectorizer import csv from sklearn import tree from sklearn import preprocessing from sklearn.externals.six im... 阅读全文
posted @ 2017-09-01 12:21 WangLC 阅读(430) 评论(0) 推荐(0)
摘要: !"#$%&'()*+, ................................/.一.数.日///0123456789:://::;<=>>>?@ALex[\]^_`expsubsup|}~~~~~·××××ΔΨγμφφ.В——————‘’’‘“””,……………………………………………… 阅读全文
posted @ 2017-06-10 16:44 WangLC 阅读(1735) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-"""__title__ = ''__author__ = 'wlc'__mtime__ = '2017/3/13'"""print("hello world!")import keywordprint(keyw 阅读全文
posted @ 2017-04-23 19:27 WangLC 阅读(224) 评论(0) 推荐(0)
摘要: cat moretrain.zip* > moretrain.zip kill -9 ppid 阅读全文
posted @ 2017-02-16 13:28 WangLC 阅读(107) 评论(0) 推荐(0)
摘要: select * from new_doc_collection where title in (select title from new_doc_collection group by title having count(title) > 1) and id in (select min(id 阅读全文
posted @ 2016-11-17 10:45 WangLC 阅读(150) 评论(0) 推荐(0)
摘要: 日志:(CREATE BY WLC) 1:IEEE文章摘要爬取 ①:运行Crawler目录下的IEEE1024.php (16年10月24日) ②:运行根目录下的IEEE1025.php(16年10月25日) ③:会议->http://ieeexplore.ieee.org/xpl/conhome. 阅读全文
posted @ 2016-11-09 15:03 WangLC 阅读(3539) 评论(1) 推荐(1)