搜索资源列表
CubicMultinomialRegress
- 一、 一元三次回归方程 CubicMultinomialRegress.cs 方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。 以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。 public override double forecast(double x) 预测函数,根据模型得到预测结果
ExponentRegress
- 指数回归方程 ExponentRegress.cs 方程模型为 public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override double forecast(double x) 预测函数,根据模型得到预测结果。 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据越满足该模型。
HyperbolaRegress
- 双曲线回归方程 HyperbolaRegress.cs 注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。 方程模型为 public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override double forecast(double x) 预测函数,根据模型得到预测结果。 pub
LogarithmRegress
- 对数回归方程 LogarithmRegress.cs 方程模型为 Y=a*LnX+b public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override double forecast(double x) 预测函数,根据模型得到预测结果。 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据
ModifyShiftAverageRegress
- 移动平均预测 ModifyShiftAverageRegress.cs 移动平均也可画趋势图,如下: public double forecast(int interval) 移动平均认为数据是时间序列数据,该方法预测interval个时间间隔后的值 public override double[] getTrendArray() 得到趋势数组,该数组的数据直接在图形中展示出来就可以产生趋势线。
Matrix-cs
- 矩阵类,可进行矩阵的各种运算,并可求解N阶线性方程-matrices, matrix for the various operators and can solve linear equations N
firepoint
- 交 汇 的 火 力 小姜正在玩CS,喜欢思考的他看到无数子弹从他眼前飞过时想到了一个奇怪的问题:这么多子弹在空中飞来飞去,难道它们不会相撞吗?当然这是可能的。小姜把两颗子弹轨迹相交的地方叫做“火力汇点”,显然如果让敌人站在火力汇点上那么他将受到更严重的伤害。小姜想知道平面上的所有火力汇点以便对敌人造成更重的打击,但是小姜数学很差,所以他找到了你,请你帮他计算出平面上所有火力汇点的坐标。小姜用直线来描述子弹的轨迹,这种子弹很特别,它发射后会迸裂成两颗并沿相反方向飞行(汗!!那不是打自己),小姜
RICARTA-AGRAWALA--ALGORITHM
- Also known an Ricart and Agrawala’s algorithm. • Nodes use logical clocks: all events are in total order. • When a node wants to enter a CS (Critical Section) it sends a message. • The message contains following information 1.
mff.cs
- Elevator simulation in console.
DataCheck
- CS,CRC16计算器,通讯调试的必备工具。-CS and CRC calculater
An-Introduction-To-The-Kalman-Filter
- In putting together this course pack we decided not to simply include copies of the slides for the course presentation, but to attempt to put together a small booklet of information that could stand by itself. The course slides and other useful
bits
- CS:APP 实验。通过位运算实现很多函数。 位运算练习。-CS:APP lab. Bit operation exercise
CS-recovery-based-on-bayes
- 基于贝叶斯假设的压缩感知重构算法,介绍了算法迭代流程,并与OMP ROMP STOMP算法做了比较-Bayesian Hypothesis Testing Based Recovery for Compressed Sensing
bc-1.06
- 大名鼎鼎的Linux下计算器bc的源代码-GNU bc version 1.06 Program: GNU bc Author: Philip A. Nelson E-mail: phil@cs.wwu.edu OS: UNIX
MT-simulation
- 基于舍选法的蒙特卡洛抽样模拟超标准洪水,只要输入站点的平均流量,Cv和Cs即可进行重复抽样。-Rejection method based on Monte Carlo simulation of super-sampling standard flood, just enter the site s average flow, Cv and Cs can be repeated sampling.
Assignment_Prim.cs.txt
- In computer science, Prim s algorithm is a greedy algorithm that finds a minimum spanning tree for a connected weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight o
cs
- 匹配滤波器实现的matlab代码,包括输出信噪比的计算,输出波形,匹配滤波器的计算-Matlab code matched filter implementation, including the calculation of the output signal to noise ratio, the output waveform, matched filter calculation
main1
- 直接贝叶斯方法进行压缩感知中的稀疏信号的重构-direct Beiyasian method for CS reconstruction
main2
- 变分贝叶斯方法进行压缩感知中的稀疏信号的重构-Variational Bayesian method for CS reconstruction
cuckoo
- A new metaheuristic optimization algorithm, called Cuckoo Search (CS), is fully implemented, and the vectorized version is given here. This code demonstrates how CS works for unconstrained optimization, which can easily be extended to solve various g
