I'm using $k$-fold cross validation technique for generating train, test and validation indexes for a neural network. My sample size is 230~700. What is best $k$ for cross validation here. Now I'm using 10-fold cross validation but I think it is too high. What is your idea?
I've been using the $K$-fold cross-validation a few times now to evaluate performance of some learning algorithms, but I've always been puzzled as to how I should choose the value of $K$.  I've often seen and used a value of $K = 10$, but this seems totally arbitrary to me, and I now just use $10$ by habit instead of thinking it over. To me it seems that you're getting a better granularity as you improve the value of $K$, so ideally you should make your $K$ very large, but there is also a risk to be biased.  I'd like to know what the value of $K$ should depend on, and how I should be thinking about this when I evaluate my algorithm. Does it change something if I use the stratified version of the cross-validation or not?
Why is volatile needed in C? Why is volatile needed in C? What is it used for? What will it do? Show all of my question/answers to me even if they are deleted How to calculate information included in R's confusion matrix I want know the formulas for the information highlighted in the confusion matrix in the picture below: Probability of Various Combinations of Weather There's a 10% chance it will rain today. There's a 15% chance it will snow today.   What percentage chance is it that it will:   Both rain and snow (it can both rain and snow at the same time)? Neither rain nor snow? -   Raining and snowing are independent of each other.  EDIT: (ADDED)   Rain or snow but not both? Currently, when flagging an off-topic question, the following choices are offered.   Questions about general computing hardware and software are off-topic for Stack Overflow. Questions concerning problems with code you've written must describe the specific problem and include valid code to reproduce it. Questions must demonstrate a minimal understanding of the problem being solved. Questions on professional server, networking, or related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. This question belongs on another site in the Stack Exchange network   However, there are some questions that fit in none of these categories.  For example, career advice questions are off-topic here (and on programmers.SE), questions like  are off-topic on pretty much any SE site.    Some questions might also be relevant on another SE site not listed when the "belongs on another site" option is selected.  How should those questions be flagged?  Why isn't there a "it's off-topic because it is" option?  EDIT: just to be clear, I don't have the "Other" option under Off-Topic. More fine grained syntax highlighting in Emacs/AUCTeX I'd like to get a notification when a question that I've voted to close (but isn't closed yet) is edited How and why do you use an image histogram? I realize that an image histogram is a graphical display of an images tonal distribution (i.e. horizontal darks to lights, vertical pixel distribution), but how does one really use it and why? I mean, can't you determine everything you need just by looking at the image? Output from ls has newlines but displays on a single line. Why? Can a hyphen be used without anything on the right side? Positivity of a determinant Why and how does C# allow accessing private variables outside the class itself when it's within the same containing class? Check if file is already open What is the maximum or minimum tire width I can fit on my bicycle The difference between GPU and CPU What does capital letter I mean in this formulas? Hello I don't understand meaning of the symbol represented by a capital letter "I" in the formulas below. There is  to the paper with the formulas.    At the beginning I thought it mean "where c is not equal to the result of classifier T(m)", however in step (d) there is a multiplication symbol before it, so it probably mean that "I" should "return" a value. I'm an android developer and have laptop with 4GB RAM. When I compile my project the RAM is used at 100%.    If I add more RAM will it solve the problem? Can you please check my Cesaro means proof I wanted to prove the following:  if $x_n \to x$ then $y_n \to x$ where $$ y_n = {x_1 + \dots + x_n \over n}$$  Please can you tell me if my proof is correct? My proof is this:  Let $\varepsilon &gt; 0$. Fix $N$ such that $n &gt; N$ implies $|x_n - x| &lt; {\varepsilon \over 2}$.   Then $\left |{1 \over n} \sum_{k=N+1}^{N + n} x_k - x \right | &lt; {\varepsilon \over 2}$. Now let $M$ be such that ${|x_1 + \dots + x_N | \over M} &lt; {\varepsilon \over 2}$ and $M &gt; N$. Then  $$ \left | \sum_{k=1}^M {x_k \over M} - x   \right | \le  \left | \sum_{k=1}^N {x_k \over M}   \right | +  \left | \sum_{k=N+1}^M {x_k \over |M-N|}  - x   \right | &lt; \varepsilon $$ Here the proof is finished. But one can observe:  It is possible that $y_n$ converges even if $x_n$ doesn't: If $x_{2n} = 0$ and $x_{2n + 1} = 1$ then $x_n$ does not converge but $y_n \to {1 \over 2}$. Which of the following polynomials are subspaces of $\mathbb{P}_n$ for an appropriate value of n? Definition. A subspace  of a vector space V is a subset H of V that has three properties  (a) The zero vector of V is in H.  (b) $\forall$ u, v $\in H$, we have  u + v $\in H$.   (c) $\forall$ u $\in H$, c scalar, we have c  u $\in H$.  For $n \geq$ 0, denote $\mathbb{P}_n$ to be the set of all polynomials of degree at most $n$.  Which of the following are subspaces of $\mathbb{P}_n$ for an appropriate value of $n$? Support your answer with reason.  (a) All polynomials of the form $p(t) = a + t^2$, where $a \in \mathbb{R}$.  (b) All polynomials of degree at most 3, with integers as coefficients.  Solution:  Both the statements (a) and (b) above are not subspaces of $\mathbb{P}_n$.  Reason:  For part (a), All polynomials of the form $p(t) = a + t^2$, where $a \in \mathbb{R}$, is not a subspace because it failed to meet the standards of the first property stated above, that is, the coefficient of the $t^2$ term is always a 1, therefore the zero vector is not in this subspace of polynomials.    For part (b), All polynomials of degree at most 3, with integers as coefficents is also not a subspace becuase it as well failed to meet the standards of the third property, that is, integer coefficents, when multiplied by a real scalar, will not necessarily be of integer type leading to integer coefficents. Thusly, the resulting polynomial will not be in the subset of polynomials $\mathbb{P}_n$. $\Box$  Can someone please look at this and see if I have the right idea and approach to this question. Thank You In java SSL over https without certificate