jishiqi
动态倒计时牌,目标时间(即倒计时截至时间)的年、月、日、时、分、秒以及倒计时主题可以根据不同主题由用户动态设定,并且在此设定基础上在屏幕上显示距离相关主题到达之时还有n年、n天和n秒(其中的三个n各不相同,且随着程序运行动态变化),以北京时间作为主要显示板块,同时显示纽约、伦敦时间的附加倒计时板块。程序中除了刚运行时给出一次当前标准时间值(或读出系统当前时间)外,在程序运行期间应在自己独立的用户时钟控制下,而不受外界输入影响和系统时间的束缚。(Dynamic countdown, the target time (ie, as the countdown time) of the year, month, day, hour, minute, second, and the countdown theme can set different themes by the users, and in this setting is displayed on the screen on the basis of distance-related There are n the theme of the time of arrival, n day n seconds (one of the three different n, and with the dynamic program runs), to Beijing as the main display section, also shows New York, London time, the additional countdown Plate. In addition to just run the program once the current standard time value is given (or read the current system time), but during the program should be independent in their own under the control of the user clock, and free from outside influence and input system time constraints.
)
- 2011-05-07 17:14:32下载
- 积分:1
StepclassV2
逐步判别分析的主函数
用于分类
[sel,c,c0,re,P]=StepclaassV2(data,[50 50 50],data,10)
输入变量
x为训练集.每行为一个样本,每列为一个变量.
Class_x,为训练集的分类情况,一行,为各类样本数量,例如[5 6 9]
Test为待分类样本.
输出变量:sel为选择的变量序号,c,c0为拟合出的判别函数.re为对Test的判别结果,P为其后验概率.
author 王新 2012.4.8
例子Sample:
load fisheriris
x=meas
Class_x=[50,50,50]
Test=meas(1:5,:)
Fa1=4
[sel,c,c0,re,P]=StepclaassV2(x,Class_x,Test,Fa1)( Stepwise discriminant analysis for the classification of the main function [sel, c, c0, re, P] = StepclaassV2 (data, [50 50 50], data, 10) input variables x as the training set, each conduct a sample of each as a variable. Class_x, the classification for the training set, a row, the number of samples for all types, for example, [5 6 9] Test sample to be classified. output variable: sel for the selected variables serial number, c, c0 is fitted discriminant function. re discrimination results for the Test, P its posterior probability. author Wang 2012.4.8 examples Sample: load fisheriris x = meas Class_x = [50,50,50] Test = meas (1:5, :) Fa1 = 4 [sel, c, c0, re, P] = StepclaassV2 (x, Class_x, Test, Fa1))
- 2020-09-18 12:27:56下载
- 积分:1