代码
#!python.exe
"""
filename send_bin.py
brief According to the users input, read bin file, subpackage and send the file by UART.
HowToUse send_bin.py -h
author shadowThreeDgmail.com
data 20220224
&q…
1.前言
Hello,我是老六工作室,今天我们搞一个C++纯文字解谜游戏,后面有代码与解析。
感谢支持,点赞鼓励一下,谢谢!
2.代码时间
#include<iostream>
#include<windows.h>
#include<conio.h>
int power=0,light=0;
using namespace std;
int main()
…
优点
可以处理缺失值。特征只能使用一次。可以剪枝,可以避免过拟合问题。
缺点
不适合大数据集的训练,因为受内存大小影响。
计算流程
对于单个特征 A, 我们做如下假设:
有两个判断值yes和no, 概率分别为 p y p_y py和 p n p_n pn。…