Fractional calculus approach to machine learning