-
matrix of the code library, very useful, please try downloading!
关于矩阵运算的代码类库,非常有用,请下载试一试!-matrix of the code library, very useful, please try downloading!
- 2023-02-19 04:50:04下载
- 积分:1
-
k-均值算法 python
均值比率
试图生成速度快、 内存效率的 K-均值程序。
安装
gem来源-http://rubygems.org
sudo gem安装 k_means
如何使用
需要 "rubygems"
要求 "k_means"
数据 = [[1,1]、 [1,2],[1,1],[1000年、 1000年],[500、 500]]
kmeans = KMeans.new (数据,: 质心 = > 2)
kmeans.inspect # 使用 kmeans.view 拿到未检查数组
= > [[3,4],[0,1,2]]
自定义的质心
需要 "rubygems"
要求 "k_means"
# 您自定义的质心需要有 #position 和 #reposition 的方法
类 CustomCentroid
attr_acces
- 2022-04-28 00:29:05下载
- 积分:1
-
函数最小的遗传算法
经典算法应用: 遗传算法求函数最小的例子-Genetic algorithm for the smallest example of function
- 2023-06-28 14:50:03下载
- 积分:1
-
双曲线回归方程 HyperbolaRegress.cs
注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错...
双曲线回归方程 HyperbolaRegress.cs
注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。
方程模型为
public override double[] buildFormula()
得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。
public override double forecast(double x)
预测函数,根据模型得到预测结果。
public override double computeR2()
-Hyperbola regression equation HyperbolaRegress.cs attention! The model demands a and b value is greater than 0! Caution should be taken when using the model verify the conditions of this restriction. I realize the model error is not to join any flow control. X should not to 0. Equation model for public override double [] buildFormula () get coefficient array, the storage order and model coefficients contrary, that is, the array is followed by the value of coefficient b, a. public override double forecast (double x) prediction function, according to the results of model prediction. public override double computeR2 ()
- 2022-02-07 00:59:29下载
- 积分:1
-
勒让德
勒让德-高斯求积法求磁感应强度-Legendre- Gauss quadrature method for magnetic induction
- 2022-03-06 01:01:20下载
- 积分:1
-
这个代码执行算术运算。这只是一个计算器。非常…
This code performs the arithmatic operations. This is simply an calculator. Very useful code for the beginner of C-This code performs the arithmatic operations. This is simply an calculator. Very useful code for the beginner of C++
- 2022-03-01 14:40:36下载
- 积分:1
-
//=== === === === === ==== === === === === === === =// letter Description// func...
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合的多项式的相关系数
//使用方法:int M------ 拟合多项式的阶数(已知条件)
// double *b--- 拟合曲线的系数,排列顺序为由高阶到低阶(已知条件)
// double *x--- 结点x轴数据(已知条件)
// double *y--- 结点y轴数据(已知条件)
// double *Yg-- 结点估计值,个数为m(过程变量)
// int m------ 结点个数(已知条件)
//注意事项:多项式阶数最高为10,多项式的形式为 y = a0 + a1x +a2x2
-//=== === === === === ==== === === === === === === =// letter Description// function name : Correlation// Function functions : Calculation least squares polynomial fitting of the correlation coefficient// Use : int M------ polynomial fitting stage (known condition)//* b--- double fitting song The coefficient, Higher-order the order on grounds of low order (known condition)//* double-node x x axis data (known to be pieces)// double* y--- node y-axis data (known condition)//* double FSL-- Nodes estimates, Number m (process variables)// int m------ node number (known condition)// Note : polynomial order of a maximum of 10. polynomials in the
- 2022-04-29 13:08:12下载
- 积分:1
-
模式识别工具箱,可用于人脸识别
模式识别研究主要集中在两方面,一是研究生物体(包括人)是如何感知对象的,属于认识科学的范畴,二是在给定的任务下,如何用计算机实现模式识别的理论和方法。前者是生理学家、心理学家、神经生理学家的研究内容,后者通过数学家、信息学专家和科技工作者近几十年来的努力,已经取得了系统的研究成果。.人脸识别是基于人的脸部特征信息进行身份识别的一种生物识别技术。用摄像机或摄像头采集含有人脸的图像或视频流,并自动在图像中检测和跟踪人脸,进而对检测到的人脸进行脸部的一系列相关技术,通常也叫做人像识别、面部识别。该代码是一个模式识别工具包,里面有很多相关算法,包括很多不错的 demo!
- 2022-03-15 23:24:18下载
- 积分:1
-
实时运动边缘检测
这是由作者 ofOh 演示实现等。al.,基于离散余弦变换,可选性 2012.Thanks 的实时运动检测。
- 2022-09-27 21:45:08下载
- 积分:1
-
零树编码源码
零树编码源码-Zerotree coding source
- 2022-04-20 07:15:44下载
- 积分:1