Generalized Nets in Artificial Intelligence. Vol. 2: Generalized Nets and Machine Learning