Training of ASPs