发布时间:2021-06-10 17:18:34
import pgzrun# 全局变量和初始化信息TITLE = 'xxx'WIDTH = 400HEIGHT = 500# 绘制游戏元素def draw(): pass# 更新游戏状态def update(): pass# 处理键盘.........【阅读全文】
发布时间:2021-06-09 17:07:35
#-*- encoding=utf-8 -*-import osimport timeimport pickleimport numpy as npimport xgboostimport sklearn.metrics as metricsfrom ray import tunefrom ray.tune.suggest.bohb import TuneBOHBfrom ray.tune.schedulers import HyperBandForBOHB def get_auc_ks(scores, lab.........【阅读全文】
发布时间:2021-06-08 17:25:51
import cv2from email.mime.image import MIMEImagefrom email.mime.text import MIMETextfrom email.mime.multipart import MIMEMultipart# import smtplib #发送邮件import smtplibfrom smtplib import SMTPimport timehost = 'smtp.qq.com' #邮箱的接口port = '25' #端口pwd .........【阅读全文】
发布时间:2021-06-07 17:33:34
import pygameimport sysfrom pygame.locals import *import numpy as npclass Card(pygame.sprite.Sprite): def __init__(self, x, y, card_state): self.image = pygame.image.load("images/card.png")  .........【阅读全文】
发布时间:2021-06-04 17:28:57
max_consume_money = consume_moneyfor day_up_down in data.index: open = data.loc[day_up_down].values[0] high = data.loc[day_up_down].values[1] low = data.loc[day_up_down].values[2] # clos.........【阅读全文】