-
天气决策树源代码
用Information
Gain构造决策树的方法。
计算各分支的熵
“晴”的分支含2个正例3个反例,所需期望信息量为:
M(天况为晴)=-2/5 * log2 (2/5)-3/5 * log2 (3/5)
= 0. 971 bits
“多云”的分支,含4个正例0个反例:
M(天况为多云)=0
“雨”的分支,含3个正例2个反例:
M(天况为雨)=-3/5 * log2 (3/5)-2/5 * log2 (2/5)
- 2023-03-06 04:15:04下载
- 积分:1
-
将求解偏微分方程和局部网格加密简单组合在了一起。用的方程是一个含有间断二次系数的椭圆型方程,在系数间断的位置,解会有一个弱间断。...
将求解偏微分方程和局部网格加密简单组合在了一起。用的方程是一个含有间断二次系数的椭圆型方程,在系数间断的位置,解会有一个弱间断。-Will solve the partial differential equations and local mesh refinement simple combinations together. Used equation is a quadratic coefficient of containing discontinuous elliptic equations, the location of discontinuity in the coefficient, there will be a weak solution of continuity.
- 2022-05-26 19:00:46下载
- 积分:1
-
matlab SA algorithm
应用背景
智能优化,线性规划,路径寻优,。。。。。。。。。。。。。。。
关键技术matlab实现,求解优化问题,最优值寻找。。。
- 2022-02-24 18:16:56下载
- 积分:1
-
直流电机的 PID 控制
pid 控制直流电机转速和旋转编程与 CCS 编译器 (C 代码),用 protus 模拟
- 2022-03-09 19:29:15下载
- 积分:1
-
数据挖掘经典FP
数据挖掘经典FP-growth算法C源码实现-Data Mining the classical FP-growth algorithm C source code to achieve
- 2022-02-20 03:43:10下载
- 积分:1
-
A5算法的实现(使用C语言)
实现A5算法的加密与解密程序,是源代码程序希望对大家有帮助~亲测有效
- 2022-03-31 07:25:57下载
- 积分:1
-
Double integraltion by Trapazoidal rule
#包括;
- 2022-04-06 13:00:03下载
- 积分:1
-
主要分为3个函数。第一个函数为粒子群初始化函数
InitSwarm(SwarmSize......AdaptFunc)其主要作用是初始化粒子群的粒子,...
主要分为3个函数。第一个函数为粒子群初始化函数
InitSwarm(SwarmSize......AdaptFunc)其主要作用是初始化粒子群的粒子,并设定粒子的速度、位置在一定的范围内。
-Mainly divided into three functions. The first function for the particle swarm initialization function InitSwarm (SwarmSize. ..... AdaptFunc) whose primary role is to initialize the particle swarm of particles, and set the speed of particles, location in a certain range.
- 2022-09-29 01:25:03下载
- 积分:1
-
电力有源滤波器ip-iq检测算法matlab仿真
应用背景应用于电子电子,电能质量,绿色电网方面,主要用于三相三线或三相四线电力设备中,用于谐波和无功的检测和治理关键技术使用广泛的ip-iq谐波和无功检测算法的matlab仿真,可以应用于电能质量治理,主要使用在三相三线和三相四线系统中
- 2022-02-20 04:41:32下载
- 积分:1
-
解迷宫,要求只能左手贴在墙上走
Problem
Edison, a robot, does not have a right hand or eyes. As a brave robot, he always puts his left hand on the wall no matter he walks or turns around. Because he thinks it is too dangerous, Edison does not
- 2022-06-22 01:23:19下载
- 积分:1