Update learning examples

For #311
This also fixes a bug when using Select, Apply and ParameterCollection
Merge pull request #323 from mhoward2718/DEV2.5.0

Update learning examples