代码搜索:Probability
找到约 4,670 项符合「Probability」的源代码
代码结果 4,670
www.eeworm.com/read/159519/10644466
java ch3ex11.java
public class ch3ex11{
public static void main(String[]args){
int j,c,count;
count=0;
for(j=0;j
www.eeworm.com/read/421949/10676546
m bayescln.m
function [I,Pkx]=bayescln(X,MI,SIGMA,Pk)
% BAYESCLN Bayes classifier for Gaussian distributiuon.
% [I,Pkx]=bayescln(X,MI,SIGMA,Pk)
%
% This function classifies into the class according to the
%
www.eeworm.com/read/421949/10676564
m~ bayescln.m~
function [I,Pkx]=bayescln(X,MI,SIGMA,Pk)
% BAYESCLN Bayes classifier for Gaussian distributiuon.
% [I,Pkx]=bayescln(X,MI,SIGMA,Pk)
%
% This function classifies into the class according to the
%
www.eeworm.com/read/420306/10804709
m betalpr.m
% BETALPR - Beta Distribution - Log Probability Ratio
% Copyright (c) 1998, Harvard University. Full copyright in the file Copyright
%
% [ lpr ] = betalpr(p1,p2,alpha,beta)
%
% returns the log of t
www.eeworm.com/read/349646/10808444
m dirichletpdf.m
function p = dirichletpdf(x, alpha)
%DIRICHLETPDF Dirichlet probability density function.
% p = dirichletpdf(x, alpha) returns the probability of vector
% x under the Dirichlet distribution with p
www.eeworm.com/read/349646/10808972
m dirichletpdf.m
function p = dirichletpdf(x, alpha)
%DIRICHLETPDF Dirichlet probability density function.
% p = dirichletpdf(x, alpha) returns the probability of vector
% x under the Dirichlet distribution with p
www.eeworm.com/read/270992/11013580
m paradox.m
%paradox.m/created by PJNahin for "Duelling Idiots"(3/1/99)
%
%
clear s
clear r
a=input('What is average lifetime of single system: ')
a=1/a;
t=1:200;
for n=1:1:200
s(n)=1-exp(-a*n);
www.eeworm.com/read/270992/11013585
m underdog2.m
%underdog2.m/created by PJNahin for "Duelling Idiots"(2/17/98)
%
%
duration=zeros(1,100);
for i=1:100
p=i/100;
common1=(1-p)^4;
common2=p^4;
duration(i)=4*(common1+common2)+20*(com
www.eeworm.com/read/270992/11013592
m theory.m
%theory.m/created by PJNahin for "Duelling Idiots"(6/10/98)
%This m-file plots the theoretical distribution function
%for Problem 17.
%
%
factor=2/pi;
for l = 1:1414
lscale=l/1000;
if l
www.eeworm.com/read/270992/11013600
m underdog1.m
%underdog1.m/created by PJNahin for "Duelling Idiots"(2/17/98)
%
%
for p1=50:100
p=p1/100;
common=(1-p)^4;
weaker=common*(1+4*p+10*p*p+20*p*p*p);
P(p1-49)=weaker;
end
p=.5:.01:1;