replace loadSync with fromString
reorganization in machine-learning