classify: add activation to plugin and script

Also complete the addition of adagrad ballast.