logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

集成学习与深度学习 加载模型方法

1. 集成学习import joblibjoblib.load("model.pkl")2.深度学习用torch自带的load()import torchdata = torch.load("model.pkl")error:pickle.UnpicklingError: A load persistent id instruction was encountered,but no persist

安装OpenCV命令

Packages for standard desktop environments (Windows, macOS, almost any GNU/Linux distribution)Option 1 - Main modules package:pip install opencv-pythonOption 2 - Full package (contains both main modul

#opencv
Image size of 512922x322 pixels is too large. It must be less than 2^16 in each direction

plt.figure(figsize=(10,8))sns.regplot(x=data[num],y=data['Building Area Unit Price'], marker="o",ci=95,scatter_kws={"color":"b","alpha":0.2,"s":3},fit_reg=False)#线性回归ci=95表示95%置信区间x = data['x'].to_n.

#python
暂无文章信息