上一页 1 2 3 4 5 6 ··· 126 下一页
摘要: 具体代码 import matplotlib.pyplot as plt import numpy as np import matplotlib matplotlib.use('TkAgg') from pylab import mpl mpl.rcParams['font.sans-serif' 阅读全文
posted @ 2024-04-02 19:14 yesyes1 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 问题描述 启动java项目时,突然出现这样的错误:Public Key Retrieval is not allowed; 发现是配置文件的url的赋值出现了错误; 问题解决 只需要更改将这句话添加到url后面即可: allowPublicKeyRetrieval=true 完美解决~~~ 阅读全文
posted @ 2024-04-02 18:15 yesyes1 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在我下载一些包的时候,就爆出了这个错误,查找发现是说TBB的包删除不了,删除的问题; 问题解决 直接再次执行 pip install TBB 的操作,就能够找到TBB所在包的存储路径; 之后就删除掉所有关于这个包的内容; 之后再次使用上面的命令重新下载这个包,就没有再爆出这个错误啦~~ 阅读全文
posted @ 2024-03-29 16:52 yesyes1 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1、进入到虚拟机里面的网上下载相关文件资源 网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 2、打开存储文件资源文件夹所在的虚拟机终端,执行安装下载命令 输入下面这个命令: bash Anaconda3-2020.02-Linux- 阅读全文
posted @ 2024-03-28 19:24 yesyes1 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1、进入网址:https://mirrors.tuna.tsinghua.edu.cn/ 2、在搜索框搜索releases,就能看到ubuntu-releases 3、点击进入ubuntu-releases镜像界面,选择20.04版本 4、之后再进行选择 我选择的是这个: 点击即可下载; 5、下载完 阅读全文
posted @ 2024-03-28 17:36 yesyes1 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 1、找到项目中写代码的地方 //后端 /app/src/main/java/你命名的包名/MainActivity.java //前端 /app/src/main/res/layout/activity_main.xml 2、定义一个Course,用于后面的应用(Model) 3、设定需要的视图(V 阅读全文
posted @ 2024-03-28 16:28 yesyes1 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 具体代码(Python版本) # coding: utf-8 #import tensorflow as tf import tensorflow.compat.v1 as tf tf.disable_v2_behavior() from sklearn.datasets import load_b 阅读全文
posted @ 2024-03-27 17:12 yesyes1 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 具体代码(Python版本) import numpy as np # 导入numpy库,用于进行数值计算 import matplotlib.pyplot as plt # 导入matplotlib库,用于绘制图形 from sklearn import datasets # 从sklearn库中 阅读全文
posted @ 2024-03-27 17:12 yesyes1 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 问题描述 下载好tensorflow之后,就报错了~~~ 就显示tensorflow没有那个属性 问题解决 依据网上给出的答案,官网给出的解决方案是将 import tensorflow as tf 换成: import tensorflow.compat.v1 as tf tf.disable_v 阅读全文
posted @ 2024-03-27 16:52 yesyes1 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 问题描述 应该是scikit-learn版本的问题,导致boston这个东西不能在这里使用,就出现这个错误; 问题解决 我们先将****换成这些(已经在报错里面明确给出来了): data_url = "http://lib.stat.cmu.edu/datasets/boston" raw_df = 阅读全文
posted @ 2024-03-27 16:48 yesyes1 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 126 下一页