machine learning with graphic interaction