Closed mtsokol closed 2 years ago
Hi @j-ittner @joerg-schneider!
Here's a PR based on Friday's discussion: a separation of LearnerDF into LearnerDF and SupervisedLearnerDF for easy incorporation of clustering algorithms (introduced in the other PR).
LearnerDF
SupervisedLearnerDF
And here's new inheritance hierarchy:
┌───────────┐ ┌───►│EstimatorDF│ # introduces `fit` │ └───────────┘ │ ▲ │ │ ┌──────────┴──┐ ┌────┴────┐ │TransformerDF│ │LearnerDF│ # introduces `predict` and `fit_predict` └─────────────┘ └─────────┘ ▲ ▲ ┌─────────┘ │ │ │ ┌────────┴──┐ ┌─────────┴─────────┐ │ClustererDF│ │SupervisedLearnerDF│ # introduces `score` └───────────┘ └───────────────────┘ ▲ ▲ │ │ │ │ ┌──────────┴─┐ ┌────────┴──┐ │ClassifierDF│ │RegressorDF│ └────────────┘ └───────────┘
What do you think?
Hi @j-ittner @joerg-schneider!
Here's a PR based on Friday's discussion: a separation of
LearnerDF
intoLearnerDF
andSupervisedLearnerDF
for easy incorporation of clustering algorithms (introduced in the other PR).And here's new inheritance hierarchy:
What do you think?