-
基于蚁群的分类算法
用蚁群算法解决分类问题,但目前我的这段代码只能处理离散的属性。连续性的属性可以先自己进行离散化。当初偷懒了,没有把写离散化的代码。这段代码的水平很低,各位忍忍吧,请原谅一个python新手。
- 2022-03-04 23:23:51下载
- 积分:1
-
猫狗识别优化模型
可以用来训练出模型,并识别出猫或狗,直接可以运行识别猫狗(It can be used to train models and identify cats or dogs. It can run directly to recognize cats and dogs.)
- 2019-03-10 16:06:42下载
- 积分:1
-
python hog 特征提取
import cv2
import numpy as np
import math
import matplotlib.pyplot as plt
class Hog_descriptor():
def __init__(self, img, cell_size=16, bin_size=8):
self.img = img
self.img = np.sqrt(img / np.max(img))
self.img = img * 255
self.cell_size = cell_size
self.bin_size = bin_size
self.angle_unit = 360 / self.bin_size
# assert type(self.bin_size) == int, "bin_size should be integer,"
# assert type(self.cell_size) == int, "cell_size should be integer,"
# assert type(self.angle_unit) == int, "bin_size should be divisible by 360"
def extract(self):
height, width = self.img.shape
gradient_magnitude, gradient_angle = self.global_gradient()
gradient_magnitude = abs(gradient_magnitude)
cell_gradient_vector = np.zeros((int(height / self.cell_size), int(width / self.cell_size), self.bin_size))
for i in rang
- 2022-04-02 09:16:48下载
- 积分:1
-
Python for Data Analysis
说明: 利用python进行数据分析,英文书籍,从pandas库的数据分析工具开始利用高性能工具对数据进行加载、清理、转换、合并以及重塑;利用matpIotlib创建散点图以及静态或交互式的可视化结果;利用pandas的groupby功能对数据集进行切片、切块和汇总操作;处理各种各样的时间序列数据。(Starting from the data analysis tools of pandas database, high performance tools are used to load, clean, transform, merge and remodel data; scatter plots and static or interactive visualization results are created by matpIotlib; data sets are sliced, sliced and aggregated by pandas group by function; and various operations are processed. Time series data.)
- 2020-06-16 03:20:01下载
- 积分:1
-
用python实现爬取笑话发送邮件和短信
用python调取笑话接口API,获取笑话内容,将笑话内容通过邮件和短信的方式发送给女朋友。短信服务用的阿里大鱼。可以将代码设定定时执行,每天定时运行爬去并发送。每天给女友发送一个新的笑话。没有购买短信服务的可以使用邮件的方式哦,邮件是免费的。
- 2023-09-01 14:55:03下载
- 积分:1
-
laplacian
说明: Calculate the Laplacian of an image, can be accelerated by the GPU.
- 2020-06-21 11:00:02下载
- 积分:1
-
pacman
说明: 使用python gui编写的pacman游戏。(pacman in python gui)
- 2020-03-29 12:51:05下载
- 积分:1
-
homework_SVM.py
说明: 实现支持向量机SVM算法,用于iris分类,包括用cvxopt进行优化(Implement SVM algorithm for iris classification, including cvxopt optimization)
- 2018-12-25 23:43:05下载
- 积分:1
-
Python神经网络编程
说明: python 神经网络编程,附中英文版本,无付费密码,放心下载(Make Your Own Neural Network)
- 2019-04-10 17:31:32下载
- 积分:1
-
Lig Fikstürü
它是审判我从其他网站拿一些副本和我不记得他们的地址。为您生活愉快,你可以匹配的团队和联赛。它有也另一个代码的牌打好。很快他们会有一些变化。
- 2022-08-19 09:53:03下载
- 积分:1