登录
首页 » C# » 这是源代码贝叶斯分类器进行纹理识别过程

这是源代码贝叶斯分类器进行纹理识别过程

于 2022-01-24 发布 文件大小:75.42 kB
0 109
下载积分: 2 下载次数: 1

代码说明:

这是一种基于贝叶斯定理的简单概率分类。该项目包含可包含在任何C#项目源文件。贝叶斯分类器能够计算取决于输入的最可能的输出。因此能够在运行时添加新的原始数据,并有更好的概率分类。甲朴素贝叶斯分类假定一类的特定特征的存在(或不存在)是无关的任何其它特征的存在(或不存在),给出的类变量。例如,水果可被认为是一个苹果,如果它是红色的,圆的,并且约4“的直径。即使这些功能依赖于彼此或之上的其他特征的存在,一个朴素贝叶斯分类器考虑了所有这些性能独立作出贡献.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • pt100
    高精度算法的,PT100测温项目,包含源代码和设计文档,还有原理图(High precision algorithm, PT100 temperature measurement project, including source code and design documents, as well as schematics.)
    2018-04-18 22:06:28下载
    积分:1
  • Socket_WPF
    说明:  C#的Socket入门程序,简单demo(C # Socket Starter Program, Simple Demo)
    2020-06-17 10:20:02下载
    积分:1
  • 智能家居
    说明:  本设计是一个以STM32为主控制器,ESP8266 WIFI模块进行数据透传的对仓库环境进行检测的智能家居。此智能家居是通过多种传感器对仓库环境进行实时探测,把环境数据实时传输给用户,用户可通过客户端查看环境状况,环境数据同时显示在智能家居的1.4寸TFT LCD屏上,当环境数据超过阈值时,智能家居可实时报警并反馈通知用户。(This design is a smart home which uses STM32 as the main controller and esp8266 WiFi module for data transmission to detect the warehouse environment. This smart home detects the warehouse environment in real time through a variety of sensors, and transmits the environmental data to the user in real time. The user can view the environmental status through the client, and the environmental data is displayed on the 1.4-inch TFT LCD screen of the smart home at the same time. When the environmental data exceeds the threshold value, the smart home can give an alarm in real time and give feedback to the user.)
    2020-06-07 23:09:11下载
    积分:1
  • c# 扫描IP Http Header
    c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
    2014-06-23下载
    积分:1
  • supermario
    这是一个模仿任天堂经典游戏《超级玛丽》的克隆游戏。目前支持windows 和linux两种操作系统。你应该已经得到了这个游戏的全部源代码和地图编辑器 的源代码。地图编辑器( MapEdit目录下 )使你可以充分发挥想象力,轻而易举 地创造出游戏中的关卡 (This is a mimic classic Nintendo game " Super Mario" games Cloning. Currently supports two types of windows and linux operating system. You should have been the game all the source code and map the source code editor. Map Editor (MapEdit directory) allows you to give full play to the imagination, easy to create in-game points)
    2009-02-02 12:30:56下载
    积分:1
  • QtJava
    Qt开发中调用java。Qt 5.10以上版本可用。(Call Java in Qt development.)
    2021-04-22 00:18:49下载
    积分:1
  • 00
    说明:  还是通讯录系统 增删改查 课程设计 本科学校要求的数据结构课程设计(Or address book CRUD the data structures required by the curriculum design undergraduate schools curriculum design)
    2012-06-17 21:36:24下载
    积分:1
  • HVPM_Sensorless_2833x
    ti公司 pmsm永磁同步电机矢量控制例子程序 基于 dsp28335(Ti PMSM permanent magnet synchronous motor vector control example program based on DSP28335)
    2018-05-22 23:57:09下载
    积分:1
  • test
    说明:  一个万能的Makefile 文件,无需关心什么文件,什么目录结构,只需要在相关的目录下添加子目录(.c .h文件) ,编译即可。(目录采用递归查找方式,多级子目录均适用!)附上相关的Dome 使用例程。(A versatile Makefile, no need to care about what files, what directory structure, just add subdirectories (.c.h files) in the relevant directory, compile. (The directory uses recursive lookup mode, multi-level subdirectories are applicable!) Attach the relevant Dome usage routines.)
    2020-06-19 22:00:01下载
    积分:1
  • asp.net网站实现类似timer的定时任务
    asp.net网站实现类似timer的定时任务
    2015-05-01下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载