Avoiding Overfitting in Variable-Order Markov Models: a Cross-Validation Approach. - Valeria Secchini; Javier Garcia-Bernardo; Petr Janský (CoRR, 2025)