SQLAlchemy, machine learning