摘要: 数据库事务的隔离级别有4个,由低到高依次为: Read uncommitted Read committed Repeatable read Serializable 这四个级别可以逐个解决脏读 、不可重复读 、幻读 问题。 可能出现 ×: 不会出现 Read uncommitted 读未提交 Re 阅读全文
posted @ 2018-10-09 21:02 wwcom123 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 【背景】 在scikit-learn基础上系统结合数学和编程的角度学习了机器学习后(我的github:https://github.com/wwcom614/machine-learning),意犹未尽,打算再借势学习下深度学习TensorFlow。无奈安装之后遇到了这个问题,耽误了几个小时才得以解 阅读全文
posted @ 2018-07-01 19:51 wwcom123 阅读(9195) 评论(0) 推荐(1) 编辑
摘要: 【背景】 Python易用,但包管理和Python不同版本的问题比较头疼,特别是当你使用Windows的时候。为了解决这些问题,有不少发行版的Python,比如WinPython、Anaconda等,这些发行版将python和许多常用的package打包,方便直接使用 【概述】 Anaconda是一 阅读全文
posted @ 2018-06-07 21:32 wwcom123 阅读(1205) 评论(0) 推荐(1) 编辑
摘要: 1. 引入Junit4的Maven依赖 2. Junit中的常用注解 @BeforeClass – 针对所有测试,只执行一次,且必须为static void,在类中的任意public static void方法执行之前执行 @Before – 初始化方法 对于每一个测试方法都要执行一次,在任意使用@ 阅读全文
posted @ 2018-05-26 10:19 wwcom123 阅读(264) 评论(0) 推荐(0) 编辑
摘要: ElasticSearch5的elasticsearch.yml配置 注意 elasticsearch.yml中的配置,冒号和后面配置值之间有空格 cluster.name: my-application 指定集群的名称,同一个集群的节点务必设置同一名称 node.name: node-1 指定节点 阅读全文
posted @ 2018-05-05 23:49 wwcom123 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 概述 elasticsearch-head,之前插件plugin方式已废弃,现已改为nodejs的NPM安装,独立WEB服务方式。 elasticsearch-head网址:https://github.com/mobz/elasticsearch-head 步骤 1.安装nodejs 下载node 阅读全文
posted @ 2018-05-05 20:35 wwcom123 阅读(273) 评论(0) 推荐(0) 编辑