Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3590019
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-06-28 17:11:56

__author__ = 'marble_xu'import osimport jsonfrom abc import abstractmethodimport pygame as pgfrom . import constants as cclass State():    def __init__(self):        self.start_time = 0.0  &nb.........【阅读全文】

阅读(711) | 评论(0) | 转发(0)

发布时间:2022-06-24 17:20:17

import warnings# 忽视警告warnings.filterwarnings('ignore')import osimport matplotlibimport cv2 as cvimport numpy as npimport matplotlib.pyplot as pltfrom tensorflow.keras.callbacks import ModelCheckpoint, ReduceLROnPlateau, EarlyStoppingfrom tensorflow.keras.app.........【阅读全文】

阅读(6151) | 评论(0) | 转发(0)

发布时间:2022-06-23 17:19:19

import java.awt.BorderLayout;import java.awt.Color;import java.awt.Font;import java.awt.GraphicsEnvironment;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JCheckBox;import javax.swing.JColorChoose.........【阅读全文】

阅读(1447) | 评论(0) | 转发(0)

发布时间:2022-06-22 17:17:04

"""贪吃蛇小游戏"""import randomimport sysimport timeimport pygamefrom pygame.locals import *from collections import dequeSCREEN_WIDTH = 600SCREEN_HEIGHT = 480SIZE = 20def print_text(screen, font, x, y, text, fcolor=(255, 255, 255)):  &n.........【阅读全文】

阅读(1909) | 评论(0) | 转发(0)

发布时间:2022-06-17 17:11:21

from sklearn.decomposition import PCAimport numpy as npfrom sklearn.svm import SVCimport matplotlib.pyplot as pltfrom sklearn.model_selection import train_test_splitfrom sklearn.decomposition import PCAfrom sklearn.metrics import accuracy_scorefrom sklearn.linear_model .........【阅读全文】

阅读(5096) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册