上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页
摘要: import xlrd import numpy as np from sklearn.model_selection import train_test_split #划分测试集和训练集 import matplotlib.pyplot as plt from sklearn.model_sele 阅读全文
posted @ 2022-10-05 16:05 cup_leo 阅读(529) 评论(0) 推荐(0)
摘要: Releases · PurlingNayuki/lingoes-extractor (github.com) 阅读全文
posted @ 2022-10-05 10:21 cup_leo 阅读(334) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- import oss2 import os#官方参考:https://help.aliyun.com/document_detail/88426.html# 阿里云账号AccessKey拥有所有API的访问权限,风险很高。强烈建议您创建并使用RAM用户 阅读全文
posted @ 2022-09-26 09:37 cup_leo 阅读(362) 评论(0) 推荐(0)
摘要: #coding=utf-8 from __future__ import division import numpy as np import pandas as pd import random import math from sklearn import metrics from sklear 阅读全文
posted @ 2022-09-23 13:50 cup_leo 阅读(386) 评论(0) 推荐(0)
摘要: 代码参考: https://mp.weixin.qq.com/s/9D-h0T6ZBeEf09wUQBemnw 使用中文模型,需要下载的文件: 模型文件下载地址:bert-base-chinese at main (huggingface.co) 注意:另存为可能下载的是html,注意文件大小与原始 阅读全文
posted @ 2022-09-21 10:06 cup_leo 阅读(895) 评论(0) 推荐(0)
摘要: 1、python打包生成exe过程报错RecursionError: maximum recursion depth exceeded解决办法 【解决办法】打开你生成的spec格式的文件,然后在最上面复制import syssys.setrecursionlimit(5000)然后运行 pyinst 阅读全文
posted @ 2022-09-20 11:11 cup_leo 阅读(299) 评论(0) 推荐(0)
摘要: python调用百度的情感分析API过程 (28条消息) python调用百度的情感分析API过程_SunshinePluto的博客-CSDN博客 def baidu_api(text): new_each = {'text': text} # 将文本数据保存在变量new_each中,data的数据 阅读全文
posted @ 2022-09-16 10:57 cup_leo 阅读(288) 评论(0) 推荐(0)
摘要: from decimal import * a1 = Decimal('1.125').quantize(Decimal('0.00'),rounding=ROUND_HALF_UP) 参考:(27条消息) python 如何四舍五入_doudou_nc的博客-CSDN博客_python 四舍五入 阅读全文
posted @ 2022-09-14 12:23 cup_leo 阅读(86) 评论(0) 推荐(0)
摘要: #top N select id,title,content,score,website_name,publish_time,url from ( SELECT id,title,content,score,website_name,publish_time,url, if(@cid=website 阅读全文
posted @ 2022-09-07 16:59 cup_leo 阅读(78) 评论(0) 推荐(0)
摘要: 实践参考 无周期性--参考 (26条消息) 使用python建立ARIMA模型_古杜且偲的博客-CSDN博客_arima python 有周期性--参考 https://mp.weixin.qq.com/s/rPeWlC7EdNto57ZsFvZ-ug 时间序列预测模型ARIMA介绍(含源码) 阅读全文
posted @ 2022-08-24 15:35 cup_leo 阅读(136) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页