Skip to Content
Practical Neural Network Recipies in C++
book

Practical Neural Network Recipies in C++

by Masters
June 2014
Intermediate to advanced
493 pages
20h 30m
English
Morgan Kaufmann
Content preview from Practical Neural Network Recipies in C++
382
Chapter
20
ing sumO and
sum1
by the prior probability and/or cost before return-
ing the ratio of
sum1
to their sum.
double parzconf ( // Returns conf in alternative hypothesis
int nO , // N of samples in null hypoth collection
int n1 , // And alternative
double *h0 , // Null hypothesis samples
double *h1 , // And alternative
double sigma , // Scale parameter (0.02 to 0.05 best)
double observed // Observed value to be classified
)
{
}
Multiple Classes
int i ;
double d, sumO, sum1 ;
sumO =
1.e-30
; // Insurance against dividing by 0 later
for (i=0 ; i<n0 ; i++) {
d = (observed - h0[i]) / sigma ;
sumO += exp ( - d * d ) ;
}
sumO /= (double ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Clustering in C++

Data Clustering in C++

Guojun Gan
Wireless Network Simulation: A Guide using Ad Hoc Networks and the ns-3 Simulator

Wireless Network Simulation: A Guide using Ad Hoc Networks and the ns-3 Simulator

Henry Zárate Ceballos, Jorge Ernesto Parra Amaris, Hernan Jiménez Jiménez, Diego Alexis Romero Rincón, Oscar Agudelo Rojas, Jorge Eduardo Ortiz Triviño

Publisher Resources

ISBN: 9780080514338