上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 78 下一页

2018年7月6日

摘要: pandas用法大全: https://blog.csdn.net/liufang0001/article/details/77856255 1.合并:concat命令: 1.frames = [df1, df2, df3] 2.result = pd.concat(frames) pandas用法 阅读全文
posted @ 2018-07-06 09:28 张博的博客 阅读(218) 评论(0) 推荐(0)

2018年7月5日

摘要: https://blog.csdn.net/fishe_r/article/details/18863447 其中的 java配置文件用: { "shell_cmd": "runJava.bat \"$file\"", "file_regex": "^(...*?):([0-9]*):?([0-9] 阅读全文
posted @ 2018-07-05 22:05 张博的博客 阅读(146) 评论(0) 推荐(0)

2018年7月4日

摘要: ●如何用http restful 发送请求request get 一个json数据? import requests response = requests.get('https://www.sojson.com/open/api/weather/json.shtml?city=北京', ) pri 阅读全文
posted @ 2018-07-04 08:27 张博的博客 阅读(963) 评论(0) 推荐(0)

2018年7月3日

摘要: mxnet也是一个很方便的深学框架 阅读全文
posted @ 2018-07-03 20:14 张博的博客 阅读(116) 评论(0) 推荐(0)
摘要: ● 先写一堆小class, ●再写一个最后需要跑的public class xxxxxx,这个类里面写方法:public static void main(String []args) ● 程序运行时候就从public class void main(String []args)开始跑.这个程序跑完 阅读全文
posted @ 2018-07-03 20:10 张博的博客 阅读(134) 评论(0) 推荐(0)

2018年7月1日

摘要: 1.集成学习:1.adaboost:基学习器学完后,把基学习器进行线性组合再训练参数 2.bagging:对学习样本进行随机选择,得到不同的学习器.再对学习器进行投票选择 3.随即森林:决策树是每一次在全部的特征中选一个做划分,随机森林是先随意给k个特征,在这k个特征里面选.这样可以避免过你和. 2 阅读全文
posted @ 2018-07-01 17:39 张博的博客 阅读(118) 评论(0) 推荐(0)

2018年6月30日

摘要: 安装: conda install pytorch -c pytorch pip3 install torchvision pip install torchtext 这3个命令就够了 阅读全文
posted @ 2018-06-30 20:06 张博的博客 阅读(147) 评论(0) 推荐(0)
摘要: ''' 学习多进程和多线程 ''' import multiprocessing def deadLoop(): while True: pass if __name__ == '__main__':#多进程必须写这一行 p1 = multiprocessing.Process(target=dea 阅读全文
posted @ 2018-06-30 15:39 张博的博客 阅读(98) 评论(0) 推荐(0)

2018年6月29日

摘要: 这里面起名是有点玄学 from collections import namedtuple Point = namedtuple('dsafdsf', ['x', 'y'])#本质就是等价于 class Point(): # def __init__(self,x,y): # self.x=x # 阅读全文
posted @ 2018-06-29 20:03 张博的博客 阅读(575) 评论(0) 推荐(0)
摘要: ●叶子节点=度为2的节点数+1 ●线索二叉树:结点中加入一个前驱和后继. 树的存储:双亲法(因为每个节点只有一个父节点,所以只存一个parent即可),孩子法,孩子兄弟法 ●有序查找:2分,斐波那契查找.斐波那契法:比如表里面有20个元素.斐波那契数列是1,1,2,3,5,8,13,21那么我们就找 阅读全文
posted @ 2018-06-29 11:13 张博的博客 阅读(145) 评论(0) 推荐(0)
上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 78 下一页

导航