]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
Remove accidental non-ascii chars
authorjamesb <jamesb@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Wed, 17 Mar 2010 20:38:53 +0000 (20:38 +0000)
committerjamesb <jamesb@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Wed, 17 Mar 2010 20:38:53 +0000 (20:38 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@2843 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/doc/MachineLearning.tex
opencv/doc/cxcore_basic_structures.tex

index 9de190f60d74c33e152b64ac2bf0f4c7e6be3b57..148de1817775c78510b1ffeb620350998c67e997 100644 (file)
@@ -1054,7 +1054,7 @@ Boosting is a powerful learning concept, which provide a solution to the supervi
 
 Decision trees are the most popular weak classifiers used in boosting schemes. Often the simplest decision trees with only a single split node per tree (called stumps) are sufficient.
 
-The boosted model is based on $N$ training examples ${(x_i,y_i)}1N$ with $x_i \in{R^K}$ and $y_i \in{-1, +1}$. $x_i$ is a $K$-component vector. Each component encodes a feature relevant for the learning task at hand. The desired two-class output is encoded as 1 and +1.
+The boosted model is based on $N$ training examples ${(x_i,y_i)}1N$ with $x_i \in{R^K}$ and $y_i \in{-1, +1}$. $x_i$ is a $K$-component vector. Each component encodes a feature relevant for the learning task at hand. The desired two-class output is encoded as -1 and +1.
 
 Different variants of boosting are known such as Discrete Adaboost, Real AdaBoost, LogitBoost, and Gentle AdaBoost \cross{FHT98}. All of them are very similar in their overall structure. Therefore, we will look only at the standard two-class Discrete AdaBoost algorithm as shown in the box below. Each sample is initially assigned the same weight (step 2). Next a weak classifier $f_{m(x)}$ is trained on the weighted training data (step 3a). Its weighted training error and scaling factor $c_m$ is computed (step 3b). The weights are increased for training samples, which have been misclassified (step 3c). All weights are then normalized, and the process of finding the next weak classifier continues for another $M$-1 times. The final classifier $F(x)$ is the sign of the weighted sum over the individual weak classifiers (step 4).
 
@@ -1065,7 +1065,7 @@ Different variants of boosting are known such as Discrete Adaboost, Real AdaBoos
 \begin{itemize}
 \item Fit the classifier $f_m(x) \in{-1,1}$, using weights $w_i$ on the training data.
 \item Compute $err_m = E_w [1_{(y =\neq f_m(x))}], c_m = log((1 - err_m)/err_m)$.
-\item Set $w_i \Leftarrow w_i exp[c_m 1_{(y_i \neq f_m(x_i))}], i = 1,2,,N,$ and renormalize so that $\Sigma i w_i = 1$.
+\item Set $w_i \Leftarrow w_i exp[c_m 1_{(y_i \neq f_m(x_i))}], i = 1,2,...,N,$ and renormalize so that $\Sigma i w_i = 1$.
 \item Output the classifier sign$[\Sigma m = 1M c_m f_m(x)]$.
 \end{itemize}
 \end{itemize}
index 5df73ab8702af6c9a8fa822ce695c6e113f17fe3..f4dfde2d92e20d4d95c25a910aea854880e5abb3 100644 (file)
@@ -577,7 +577,7 @@ public:
 \end{lstlisting}
 
 The class represents a 2D point, specified by its coordinates $x$ and $y$.
-Instance of the class is interchangeable with С structures \texttt{CvPoint} and \texttt{CvPoint2D32f}. There is also cast operator to convert point coordinates to the specified type. The conversion from floating-point coordinates to integer coordinates is done by rounding; in general case the conversion uses \hyperref[saturatecast]{saturate\_cast} operation on each of the coordinates. Besides the class members listed in the declaration above, the following operations on points are implemented:
+Instance of the class is interchangeable with C structures \texttt{CvPoint} and \texttt{CvPoint2D32f}. There is also cast operator to convert point coordinates to the specified type. The conversion from floating-point coordinates to integer coordinates is done by rounding; in general case the conversion uses \hyperref[saturatecast]{saturate\_cast} operation on each of the coordinates. Besides the class members listed in the declaration above, the following operations on points are implemented:
 
 \begin{lstlisting}
     pt1 = pt2 + pt3;
@@ -637,7 +637,7 @@ public:
 \end{lstlisting}
 
 The class represents a 3D point, specified by its coordinates $x$, $y$ and $z$.
-Instance of the class is interchangeable with С structure \texttt{CvPoint2D32f}. Similarly to \texttt{Point\_}, the 3D points' coordinates can be converted to another type, and the vector arithmetic and comparison operations are also supported.
+Instance of the class is interchangeable with C structure \texttt{CvPoint2D32f}. Similarly to \texttt{Point\_}, the 3D points' coordinates can be converted to another type, and the vector arithmetic and comparison operations are also supported.
 
 The following type aliases are available: