CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - k matrix
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Games
SDK
Other
Search - k matrix - List
[
Other resource
]
朴素贝叶斯
DL : 0
调用过程 CM = Confusion_matrix(train_predicts, train_targets) [combining_predicts, errorrate] = combining_NB(DP, test_targets, CM) DP,三维数组,(i,j,k)为第k个样本的DP矩阵 targets 为 0 1 2 -process called CM = Confusion_matrix (train_predicts, train_targets) [combining_predicts, errorrate] = combining_NB (DP, test_targets, CM) DP, three-dimensional array (i, j, k) for the k samples of DP matrix targets for 0 1 2
Date
: 2008-10-13
Size
: 2.18kb
User
:
qianyg
[
Other resource
]
disp_rand
DL : 0
本程序用matlab生成白噪声,并且基于一个离散线性随机系统的模型生成了y(k)和x(k),绘制出了x(k|k-1)和x(k)的对比曲线,求出了提前一步预报的误差协方差阵的稳定值-the procedures used Matlab generate white noise, and on a discrete linear stochastic systems model generated y (k) and x (k), mapping out the x (k | k-1) and x (k) contrast curves, get a step ahead forecasting error covariance matrix of stable value
Date
: 2008-10-13
Size
: 1.06kb
User
:
孙磊
[
Other resource
]
MCRGSA
DL : 1
MCRGSA------组播路由问题遗传模拟退火算法 %M-----------遗传算法进化代数 %N-----------种群规模,取偶数 %Pm----------变异概率调节参数 %K-----------同一温度下状态跳转次数 %t0----------初始温度 %alpha-------降温系数 %beta--------浓度均衡系数 %ROUTES------备选路径集 %Num---------到各节点的备选路径数目 %Cost--------费用邻接矩阵 %Source------源节点标号 %End---------目的节点标号组成的向量 %MBR---------各代最优路径编码-MCRGSA ------ Multicast Routing genetic simulated annealing% M -------- --- genetic algorithm algebra% N ----------- population size, even take Pm ----------% probability parameter variation% ----------- same temperature K Jump under a number of state ----------% t0 initial temperature cooling% alpha ------- beta coefficient% -------- balanced concentration coefficient% ROUTES ------ Alternative Path Set% Enable --------- nodes to the number of alternative paths% -------- Cost adjacent costs Matrix% Source ------ source node labeling% End --------- destination node labeling Group Vector%% of the MBR --------- generations optimal path coding
Date
: 2008-10-13
Size
: 1.72kb
User
:
程爱华
[
Other resource
]
dir2cas
DL : 0
直接型到级联型的形式转换 % [b0,B,A]=dir2cas(b,a) %b 为直接型的分子多项式系数 %a 为直接型的分母多项式系数 %b0为增益系数 %B 为包含各bk的K乘3维实系数矩阵 %A 为包含各ak的K乘3维实系数矩阵 %-directly to the cascade-type conversion in the form of%% [belts, B, A] = dir2cas (b, a)% b-to direct the molecular polynomial coefficients% for a direct-denominator polynomial coefficients% of the gain coefficient belts% B To contain the bk K by the three-dimensional real coefficient matrix% A to include all ak K by the three-dimensional real coefficient matrix%
Date
: 2008-10-13
Size
: 904byte
User
:
吴江华
[
Other resource
]
sgj4
DL : 0
邻接矩阵类的根是A d j a c e n c y W D i g r a p h,因此从这个类开始。程序1 2 - 1给出了类的描述。程 序中,先用程序1 - 1 3中函数Make2DArray 为二组数组a 分配空间,然后对数组a 初始化,以描述 一个n 顶点、没有边的图的邻接矩阵,其复杂性为( n2 )。该代码没有捕获可能由M a k e 2 D A r r a y 引发的异常。在析构函数中调用了程序1 - 1 4中的二维数组释放函数D e l e t e 2 D -adjacency matrix type is the root A d j a c c e n y W D i g r a p h, the category from the start. Procedure 1 2 - 1 is a kind of description. Procedures, use procedures 1 - 1 3 Make2DArray Function of two arrays a group of space allocation, Then a pair of array initialization to describe a n vertices, there is no edge of the adjacency matrix, the complexity of (n2). The code may not caught by M a k e r 2 D. A. r y a trigger abnormal. The destructor method is called in the process 1 - 1 4 2-D array of release function D e l e t e 2 D
Date
: 2008-10-13
Size
: 1.28kb
User
:
史桂金
[
Other resource
]
matlabmatrix
DL : 0
1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
Date
: 2008-10-13
Size
: 920byte
User
:
wangshujuan
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.