摘要: ### 1.2 密码学及安全技术 ![i区块链中的密码学与安全技术](https://upload-images.jianshu.io/upload_images/21415382-a06021e50cc209bf.png?imageMogr2/auto-orient/strip%7CimageVi 阅读全文
posted @ 2023-06-24 17:27 架构师老狼 阅读(262) 评论(0) 推荐(0) 编辑
摘要: ## 1.1共识机制 ### 1.1.1核心定义 区块链上的共识机制主要解决由谁来构造区块,以及如何维护区块链统一的问题 ### 1.1.2共识机制分类 ![共识机制分类](https://upload-images.jianshu.io/upload_images/21415382-3fc906c 阅读全文
posted @ 2023-06-04 21:59 架构师老狼 阅读(88) 评论(0) 推荐(0) 编辑
摘要: ## 1 整体架构 ![fabric架构图](https://upload-images.jianshu.io/upload_images/21415382-dbc852a38f6c6c80.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240 阅读全文
posted @ 2023-05-27 20:33 架构师老狼 阅读(31) 评论(0) 推荐(0) 编辑
摘要: #### 1 椭圆曲线密码学 - 椭圆曲线密码学(Elliptic Curve Cryptography,缩写ECC),是基于椭圆曲线数学理论实现的一种非对称加密算法。椭圆曲线在密码学中的使用是在1985年有Neal Koblitz和Victor Miller分别提出来的。 - 标准的椭圆曲线 ![ 阅读全文
posted @ 2023-05-27 18:00 架构师老狼 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1 目标 根据历史女性乳腺癌患者数据集(医学指标)构建逻辑回归分类模型进行良/恶性乳腺癌肿瘤预测 2 数据集 2.1 数据集来源 数据集源于威斯康星州临床科学中心。每个记录代表一个乳腺癌的随访数据样本。这些是DR Wolberg自1984~1995随访搜集连续乳腺癌患者数据,数据仅包括那些具有侵入性 阅读全文
posted @ 2019-02-13 14:48 架构师老狼 阅读(1294) 评论(0) 推荐(0) 编辑
摘要: 2.6 spark实战案例:实时日志分析 2.6.1 交互流程图 2.6.2 客户端监听器 (java) @SuppressWarnings("static access") private void handleSocket() { lock.lock(); Writer writer = nul 阅读全文
posted @ 2019-02-13 14:45 架构师老狼 阅读(1136) 评论(1) 推荐(0) 编辑
摘要: 2.4 sparkContext IO:读 2.4.1 textFile Load a text file and convert each line to a Row. lines = sc.textFile("examples/src/main/resources/people.txt") 2. 阅读全文
posted @ 2019-02-13 14:44 架构师老狼 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 2.2 RDD:计算 transform action 2.2.1 aggregate x = sc.parallelize([2,3,4], 2)[Task不能跨分片,task数为2] neutral_zero_value = (0,1) sum: x+0 = x, product: 1 x = 阅读全文
posted @ 2019-02-13 14:43 架构师老狼 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 2.1 pycharm远程开发调试 2.1.1 python版本一致 版本都保持3.6.6 root cd /usr/local/python3/bin/pip3 list 备注:[python模块导入顺序是从sys.path中取,可以代码加入到sys.path。 当前目录 PYTHONPATH 安 阅读全文
posted @ 2019-02-13 14:42 架构师老狼 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1.2 安装配置 1.2.1 安装jdk1.8 root vim /etc/profile export JAVA_HOME=/data/software/jdk1.8.0_191 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_ 阅读全文
posted @ 2019-02-13 14:41 架构师老狼 阅读(198) 评论(0) 推荐(0) 编辑