上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: #-*- coding:utf-8 -*- from Crypto.Cipher import AES import base64 class AesEncry(object): key = r'****************' # aes秘钥 自己随便设置 def encrypt(self, d 阅读全文
posted @ 2022-06-29 17:01 cup_leo 阅读(301) 评论(0) 推荐(0) 编辑
摘要: xgboost的遗传算法调参 xgboost的遗传算法调参 - wzd321 - 博客园 (cnblogs.com)if __name__ == '__main__': trainFilePath = 'dataset/soccer/train.csv' testFilePath = 'datase 阅读全文
posted @ 2022-06-28 08:57 cup_leo 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 如果使用 pip install faiss 在CPU上安装faiss,请尝试以下操作: pip uninstall faiss pip install faiss-cpu 或与康达: conda install -c pytorch faiss-cpu https://blog.csdn.net/ 阅读全文
posted @ 2022-06-22 17:46 cup_leo 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 1、(24条消息) 推荐系统_weixin_30721077的博客-CSDN博客 推荐系统 协同过滤 计算指标概述及代码 阅读全文
posted @ 2022-06-22 09:14 cup_leo 阅读(12) 评论(0) 推荐(0) 编辑
摘要: spark-shell --packages com.microsoft.azure:synapseml_2.12:0.9.5 pyspark --packages com.microsoft.azure:synapseml_2.12:0.9.5 spark-submit --packages co 阅读全文
posted @ 2022-06-02 11:19 cup_leo 阅读(469) 评论(0) 推荐(0) 编辑
摘要: https://pythontutor.com/ 代码执行过程可视化,拯救了我的脑细胞! - 知乎 (zhihu.com) 阅读全文
posted @ 2022-05-22 14:57 cup_leo 阅读(97) 评论(0) 推荐(0) 编辑
摘要: (21条消息) python partition by函数_Spark Python API函数学习:pyspark API(4)_张景淇的博客-CSDN博客 阅读全文
posted @ 2022-05-22 09:59 cup_leo 阅读(65) 评论(0) 推荐(0) 编辑
摘要: import datetime def create_assist_date(datestart = None,dateend = None): # 创建日期辅助表 if datestart is None: datestart = '2022-04-25' if dateend is None: 阅读全文
posted @ 2022-05-19 20:40 cup_leo 阅读(904) 评论(0) 推荐(1) 编辑
摘要: 类别特征处理 Kaggle知识点:类别特征处理 - 知乎 (zhihu.com) 阅读全文
posted @ 2022-05-12 10:13 cup_leo 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ## mapPartions def model_pred(partitionData): updatedData = [] for row in partitionData: pred_value = model.value.predict([row[2:]])[0] pred_value = f 阅读全文
posted @ 2022-05-10 21:25 cup_leo 阅读(83) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页