摘要: 参阅地址: https://www.jianshu.com/p/ae5157c26af9 代码实现: public class GA { private int ChrNum = 10; //染色体数量 private String[] ipop = new String[ChrNum]; //一个 阅读全文
posted @ 2019-11-30 10:11 大浪淘沙、 阅读(769) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-11-30 10:07 大浪淘沙、 阅读(201) 评论(0) 推荐(0)
摘要: 参阅地址: https://www.jianshu.com/p/ae5157c26af9 代码实现: public class GA { private int ChrNum = 10; //染色体数量 private String[] ipop = new String[ChrNum]; //一个 阅读全文
posted @ 2019-11-29 14:21 大浪淘沙、 阅读(201) 评论(0) 推荐(0)
摘要: tf.reduce_mean https://blog.csdn.net/he_min/article/details/78694383 计算均值,全部数字的均值,纵向一维的均值,横向一维的均值 tf.squared_difference 计算差平方 https://www.cnblogs.com/ 阅读全文
posted @ 2019-11-22 17:13 大浪淘沙、 阅读(162) 评论(0) 推荐(0)
摘要: 创造并运行数据 创造了-3到3的32条数据,然后通过sess.run获取并显示输出数据。 x=tf.linspace(-3.0,3.0,32) print(x) sess=tf.Session() result=sess.run(x) print(result) 运行数据的另一种方法是使用eval( 阅读全文
posted @ 2019-11-20 19:39 大浪淘沙、 阅读(242) 评论(0) 推荐(0)
摘要: 不管怎样,为了简便开发,通信选择串口通信。 推荐文章:https://blog.csdn.net/magnetoooo/article/details/53564797 推荐测试工具:https://blog.csdn.net/u011625775/article/details/99681560( 阅读全文
posted @ 2019-11-19 16:54 大浪淘沙、 阅读(5584) 评论(1) 推荐(0)
摘要: 指定设备与矩阵乘法 使用tf.device("/gpu:0")用于指定设备进行运算。 在使用jupyter notebook的时候,可能会出现使用异常,需要使用config=tf.ConfigProto(allow_soft_placement=True)来处理。 该运行结果为12。属于叉乘。点乘使 阅读全文
posted @ 2019-11-18 12:07 大浪淘沙、 阅读(264) 评论(0) 推荐(0)
摘要: 导入: 其中的TF_CPP_MIN_LOG_LEVEL据说是为了忽略警告,但是我这里没有意义(numpy的一些警告) import tensorflow as tf import os os.environ["TF_CPP_MIN_LOG_LEVEL"]='3' 常量字符串运算: 其中,log_de 阅读全文
posted @ 2019-11-16 21:13 大浪淘沙、 阅读(342) 评论(0) 推荐(0)
摘要: 图 来源:Gradient-Based Learning Applied to Document Recognition 参阅CSDN:https://blog.csdn.net/dcxhun3/article/details/46878999 c1 156=(5*5+1)*6 122304=(5* 阅读全文
posted @ 2019-11-06 19:57 大浪淘沙、 阅读(303) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-11-03 22:56 大浪淘沙、 阅读(152) 评论(0) 推荐(0)
摘要: 参阅: https://blog.csdn.net/chengmo123/article/details/96477103 https://www.cnblogs.com/zhuminghui/p/9507982.html 后者介绍了如何生成线程 前者介绍了生成线程中可能出现的一些问题(线程生出的对 阅读全文
posted @ 2019-10-19 20:03 大浪淘沙、 阅读(983) 评论(0) 推荐(0)
摘要: 首先通过lsblk 查看一下文件系统情况 然后通过fdisk /dev/sda类似命令,打开对应的磁盘管理,然后: 删除所有磁盘分区 重新建立一个更大的分区。 保存退出 再次通过lsblk查看分区大小,发现还是大小已经更改了。 但是通过df -hT命令,查找到的结果中,根目录挂载位置仍然是原来的大小 阅读全文
posted @ 2019-10-12 19:50 大浪淘沙、 阅读(1322) 评论(0) 推荐(0)
摘要: 鼠标静止消失 https://blog.csdn.net/zhu378287521/article/details/95598372 apt-get install unclutter echo “@unclutter -idle 1 -root” >> /etc/xdg/lxsession/LXD 阅读全文
posted @ 2019-09-28 21:07 大浪淘沙、 阅读(315) 评论(0) 推荐(0)
摘要: 这篇写的是不太对的,详细还是找个靠谱的吧! 一些说明、参阅 https://github.com/MorvanZhou/Reinforcement-learning-with-tensorflow/blob/master/contents/1_command_line_reinforcement_l 阅读全文
posted @ 2019-09-13 20:32 大浪淘沙、 阅读(4001) 评论(3) 推荐(2)
摘要: 快速排序、广度优先搜索、狄克斯特拉算法、贪婪算法、动态规划、其它说明 阅读全文
posted @ 2019-09-07 09:57 大浪淘沙、 阅读(370) 评论(0) 推荐(0)
摘要: 大概是两年前,在手指上生了一个硬硬的痘,本来也不在意,但是最后变成了三个,也不痛不痒,没有感觉。 后来实习期间查找相关资料,认为是疣体。 去过小诊所,有些表示不会治,有些懒得配药,刚开始用大蒜敷,大概一周,没有效果还把手指上其它地方辣疼了好久。 后来用多维酸,试了两周,效果不明显,结果那么贵的药还丢 阅读全文
posted @ 2019-09-06 21:04 大浪淘沙、 阅读(298) 评论(0) 推荐(0)
摘要: 多表查询 避免笛卡尔积 select * from emp,dept where emp.`dept_id` = dept.`id`;#设置过滤条件(隐式内连接) select emp.`name`, dept.`name` from emp,dept where emp.`dept_id` = d 阅读全文
posted @ 2019-09-05 20:15 大浪淘沙、 阅读(268) 评论(0) 推荐(0)
摘要: 排序 select * from std_old order by age asc;#对表std_old进行age字段升序排列 select * from std_old order by age desc;#对表std_old进行age字段降序排列 select * from std order 阅读全文
posted @ 2019-09-05 16:30 大浪淘沙、 阅读(186) 评论(0) 推荐(0)
摘要: 数据库的安装: 配置好编码、环境变量。 文本来源传智javaEE学院 一些定义 SQL structured query language 结构化查询语言 DDL Data definition language 数据定义语言 DML Data Manipulation language 数据操纵语 阅读全文
posted @ 2019-09-05 10:14 大浪淘沙、 阅读(191) 评论(0) 推荐(0)
摘要: 学习来源与说明 https://www.kancloud.cn/thinkphp/thinkphp5_quickstart 测试与部署均在windows10下进行学习。 快速入门第三节 获取当前的请求信息的四种方案 继承think\Controller <?php namespace app\ind 阅读全文
posted @ 2019-08-14 22:09 大浪淘沙、 阅读(247) 评论(0) 推荐(0)