Estimation of rail capacity using regression and neural network