- 博客(4)
- 收藏
- 关注
原创 termux下载PIL报错:Could not build wheels for pillow, which is required to install pyproject.toml-based记录
皆不行,pip提示:ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects。termux的架构与寻常linux有些许不同,一般为 aarch64 Android,linux包有一些无法起作用。其他的包如face_recognition等涉及到图像的,应该也可以这样解决。我是来解决问题的,简单记录即可,其他在此不编写。所以直接使用其他机器编译好的包即可。
2024-03-14 14:41:59
750
1
原创 Python sklearn 库中岭回归的简略使用方法
import numpy as np # 快速操作结构数组的工具import matplotlib.pyplot as plt # 可视化绘制from sklearn.linear_model import RidgeCV # Ridge岭回归,RidgeCV带有广义交叉验证的岭回归from sklearn.preprocessing import PolynomialFeatures...
2018-12-09 16:39:09
1021
原创 在浏览器上打开swf文件时变成了下载swf文件解决方式
<html><head> <title>早日脱单</title> <style type="text/css"> embed { width:1540px; // 设置长度 height:722px; // 设置高低 ...
2018-07-31 09:24:00
17968
2
原创 Python的random模块功能记录
random常用函数# 导入random模块import random# 关于数字类型random.random() # 生成一个0~1的小数random.randint(3, 100) # 生成一个在[3, 100]之间的整数(前闭后闭区间)random.uniform(a, b) # 生成一个[min(a, b), max(a, b)]的浮点数random.randr...
2018-07-30 15:37:42
255
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅