摘要: from sklearn.datasets import fetch_openml # 获取数据 mnist = fetch_openml('mnist_784', version=1, as_frame=False,parser='pandas') X, y = mnist["data"], mn 阅读全文
posted @ 2023-03-15 16:11 缘故为何 阅读(59) 评论(0) 推荐(0) 编辑
摘要: from sklearn.datasets import fetch_openml # 获取数据 mnist = fetch_openml('mnist_784', version=1, as_frame=False,parser='pandas') X, y = mnist["data"], mn 阅读全文
posted @ 2023-03-14 15:22 缘故为何 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1.创建父模块 创建maven模块,不用勾选任何东西 依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2 阅读全文
posted @ 2023-02-01 17:22 缘故为何 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.安装包 pip3 install rpa=1.48.1 pip3 install muggle-ocr=1.0.3 如果muggle-ocr使用pip3安装不了,只能手动安装。 百度网盘:https://pan.baidu.com/s/1K3Tq9Vz-u3oQ8tWUXBweTg 提取码:zf 阅读全文
posted @ 2023-01-30 17:20 缘故为何 阅读(511) 评论(0) 推荐(0) 编辑
摘要: 1.现象 在springboot配置文件需要使用字符串类型的数值时候,有时候直接写一个0开头的数值,例如011。配置生效之后,打印配置参数时候发现不对。输入的是数值9。试过很多次,都是一样的情况。刚刚开始还以为是有配置字段冲突导致其他内部配置覆盖了我们自定义的参数。改了字段名称之后发现一样的结果。 阅读全文
posted @ 2022-11-07 14:41 缘故为何 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 1.依赖 <!--pkcs8 -> pkcs1--> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> <version>1.60</version> </dependen 阅读全文
posted @ 2022-07-27 14:38 缘故为何 阅读(814) 评论(0) 推荐(0) 编辑
摘要: from time import sleep from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.chrome. 阅读全文
posted @ 2022-06-24 15:14 缘故为何 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1.使用String.join List<String> list = new ArrayList<>(Arrays.asList("1","2","3","4","5")); String result = String.join(",",list); System.out.println(res 阅读全文
posted @ 2022-04-07 10:14 缘故为何 阅读(2504) 评论(0) 推荐(1) 编辑
摘要: 1.安装包 pip3 install kafka-python 2.消费者 from kafka import KafkaConsumer import json consumer = KafkaConsumer('sink',group_id='test',bootstrap_servers=[' 阅读全文
posted @ 2022-02-24 17:57 缘故为何 阅读(876) 评论(0) 推荐(1) 编辑
摘要: package Consumer; import com.alibaba.fastjson.JSONObject; import org.apache.flink.api.common.functions.FilterFunction; import org.apache.flink.api.com 阅读全文
posted @ 2022-02-24 17:54 缘故为何 阅读(353) 评论(0) 推荐(0) 编辑