- 博客(6)
- 资源 (6)
- 收藏
- 关注
原创 python3测试报告
"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E.g. import unittest import HTMLTestRunner ... define your te
2020-07-14 14:46:41
582
原创 图像分割
有什么方法能把这几个网球分割开,或者分割出最上面这个,自己留一份,其余两份分给他相邻的两个小朋友。接着2号、3号、4号、5号小朋友同样这么做。问一轮后,每个小朋友手上分别有多少糖果?#include<iostream>using n...
2019-04-27 21:29:55
2188
原创 贝叶斯分类器
编程实现贝叶斯分类器。编写matlab函数,输入为:(a)均值向量;(b)c类问题的类分布的协方差矩阵;(c)c类的先验概率;(d)基于上述类的包含列向量的矩阵X。根据贝叶斯规则,输出为一个N维向量,它的第i列表示相应输入向量X的第i列的类别。clear all;clc;mu = [1 -1];Sigma = [.9 .4; .4 .3];r = mvnrnd(mu, Sigma, 5...
2019-01-03 15:10:57
369
转载 matlab水果识别
clear;clc;close all;%%%%%%%%%%%%%%%%% 读取原图,并处理成二值图像 %%%%%%%%%%%%%%%%%%%%%%%I=imread(‘tao.png’);I2=rgb2gray(I);BW=im2bw(I2,0.9);figure(1),subplot(1,3,1),imshow(I),title(‘原始图像’);subplot(1,3,2),ims...
2018-12-23 13:29:16
12559
11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅