2025年11月20日
摘要: # 导入必要的库(去重、排序) import os import time import numpy as np import matplotlib.pyplot as plt from PIL import Image from sklearn.metrics import classificat 阅读全文
posted @ 2025-11-20 22:15 1235yyq 阅读(3) 评论(0) 推荐(0)
  2025年10月22日
摘要: 代码 import torch from torch import optim, nn from torchvision import datasets, transforms from torch.utils.data import DataLoader import torch.nn.funct 阅读全文
posted @ 2025-10-22 14:37 1235yyq 阅读(4) 评论(0) 推荐(0)
  2025年10月21日
摘要: 【金山文档 | WPS云文档】 卷积神经网络原理详解视频读书报告.zip https://www.kdocs.cn/l/cuZhWNWbLsdC 阅读全文
posted @ 2025-10-21 22:35 1235yyq 阅读(4) 评论(0) 推荐(0)
  2025年6月23日
摘要: import pygame import random import sys from pygame.locals import * # 初始化pygame pygame.init() # 游戏窗口设置 SCREEN_WIDTH = 800 SCREEN_HEIGHT = 600 screen = 阅读全文
posted @ 2025-06-23 12:07 1235yyq 阅读(13) 评论(0) 推荐(0)
摘要: Python科学计算库读书报告 1. NumPy、SciPy、Pandas、Matplotlib基本函数用法 1.1 NumPy基本函数 import numpy as np # 创建数组 arr1 = np.array([1, 2, 3, 4, 5]) # 一维数组 arr2 = np.array 阅读全文
posted @ 2025-06-23 12:03 1235yyq 阅读(19) 评论(0) 推荐(0)
摘要: import random import sys def print_intro(): """打印程序介绍信息""" print(""" 排球比赛模拟程序(学号后两位:04) 程序功能: 1. 模拟排球比赛过程,遵循正式比赛规则 2. 前4局25分制,需赢2分以上 3. 决胜局15分制,需赢2分以上 阅读全文
posted @ 2025-06-23 11:43 1235yyq 阅读(10) 评论(0) 推荐(0)
摘要: import jieba from collections import Counter import urllib.request # 下载红楼梦文本(如果本地没有) url = "https://raw.githubusercontent.com/noname2048/hongloumeng/m 阅读全文
posted @ 2025-06-23 11:32 1235yyq 阅读(16) 评论(0) 推荐(0)
  2025年6月17日
摘要: import pygame pygame.init() screen_width = 800 screen_height = 600 screen = pygame.display.set_mode((screen_width,screen_height)) pygame.display.set_c 阅读全文
posted @ 2025-06-17 08:51 1235yyq 阅读(10) 评论(0) 推荐(0)
摘要: 一、学习背景​ 人工智能时代,语音处理应用广泛,Python 凭借丰富库和简洁语法成为语音开发热门语言,为提升技能,我开启 Python 语音基础学习。​ 二、学习内容​ (一)语音处理基础理论​ 学习语音从模拟信号转换为数字信号的采样、量化、编码知识,了解 8kHz 等常见采样频率、量化位数对音质 阅读全文
posted @ 2025-06-17 08:47 1235yyq 阅读(13) 评论(0) 推荐(0)
  2025年4月19日
摘要: 5.1 def draw_田字格(width): for _ in range(width + 1): print("+ ", end="") print("+") for _ in range(width): for _ in range(width + 1): print("| ", end=" 阅读全文
posted @ 2025-04-19 14:21 1235yyq 阅读(10) 评论(0) 推荐(0)