# Nacos搭建 - 创建文件conf/cluster.conf 配置地址 \`\`\`shell ip1:port1 ip2:port2 # nacos对应的ip与端口,每个ncaos都要有本文件 \`\`\` - 然后修改application.properties对应端口 - 数据库使用同一
# 传统架构 分布式+Dubbo !\[image-20200906111828992\](https://i.loli.net/2020/09/06/9jUCHOSyFZqTpWk.png) # 微服务架构 ## 微服务架构的优缺点 微服务关注的是敏捷,快速开发 !\[image-20211126
# Managing the Application Availability State \`\`\`java @Component public class ReadinessStateExporter { @EventListener public void onStateChange(Ava
!\[请输入图片描述\]\[1\] !\[请输入图片描述\]\[2\] !\[请输入图片描述\]\[3\] !\[请输入图片描述\]\[4\] \[1\]: https://img1.imgtp.com/2022/07/30/ViPN6RDT.png \[2\]: https://img1.imgt
``` # 新建测量器 m = tf.keras.metrics.Accuracy() # 写入测量器 m.update_state([0,1,1],[0,1,2]) # 读取统计信息 m.result() # 准确率为0.66 # 清除 m.reset_states() ``` ``` acc_m
--- title: Systemctl date: 2022-01-16 15:04:50 updated: 2022-01-16 15:04:50 comments: true tags: - linux - systemctl categories: - \[note\] lang: zh_C
  * MeanAbsoluteError (绝对值误差,用于回归,可以简写为MAE,函数形式为mae) * MeanAbsolutePercentageError