关于构建基于Fabric网络的HMS
TestNetwork 的启动流程
一个讲的较为清楚的博客:https://charlielin.top/2020/03/23/fabric-启动-test-network-详解/
在启动application时,用maven配置相关依赖的问题
对pom.xml的讲解博客:https://www.cnblogs.com/zhoudaxing/p/11338183.html
用Fabric 2.0.1 成功配置application相关包的博客:https://www.freesion.com/article/5548960752/
相关官方文档
写ChainCode参阅的文档: https://hyperledger.github.io/fabric-chaincode-java/release-2.0/api/overview-tree.html
写Application参阅的文档: https://hyperledger.github.io/fabric-gateway-java/master/overview-tree.html
在Java中使用Weka
数据集需要先以.arff的形式载入,形成instances实例,且需要指明label attribute。
将csv文件转为arff文件: https://www.codeleading.com/article/40863682135/
训练出的模型对instance类的数据进行预测;instance 包括attribute list,数据在各attribute中。
可直接保存和写入模型:
SerializationHelper.write("src/main/resources/KNN.model", knn);
IBk knn = (IBk) weka.core.SerializationHelper.read("src/main/resources/KNN.model");

浙公网安备 33010602011771号