ML-KULeuven / deepproblog

DeepProbLog is an extension of ProbLog that integrates Probabilistic Logic Programming with deep learning by introducing the neural predicate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to wrote prolog programming for Classification & Regression Task

GlitchofMatrix opened this issue · comments

I saw your examples and it was very clear.
But, I am new to Prolog.
I need an example for binary classification, multiclass, multilabel classification, regression tasks.
Thanks in advance

Hi

The addition example is multiclass classification. The coins example is binary classification. Regression tasks are not possible in DeepProbLog currently. What exactly would you want to do w.r.t. multilabel classification?

Yes. Multilabel multiclass classification

You can introduce separate predicates for each of the labels. They are not necessarily mutually exclusive, so you are automatically in the multi-label setting.