Machine learning estimation of magnetic parameters and classification of magnetic vortex states