which training mode is more convenient for small datasets? I have a regression problem to be solved using one of neural networks models, but I have a small dataset which contains 30 samples.
Which training mode is more suitable for such dataset: stochastic or batch?
Of course I need to split data into training/test sets, I think that 2 or 3 folds cross-validation will not work well in this case, Am I right?

If you have 30 samples, you have insufficient data to use neural network. You should choose much simpler model. In fact, even with traditional machine learning your options would be pretty limited. For example, if you look at the flowchart from scikit-learn's site, with less than fifty samples it recommends to gather more data.

This flowchart is of course an oversimplification and probably a bit pessimistic. With thirty samples you could try using linear regression with one or two features, though keep in mind that this is a small sample size even for linear regression.
If you insist on using neural network, it is very likely to overfit and not guaranteed to give reasonable results, no matter what you choose. With that small sample you can try both approaches and choose the best one using cross-validation. But again, keep in mind that you would be validating on just few samples, so you can easily overfit to test set and end up with a useless model.
