{"cells": [{"cell_type": "markdown", "metadata": {}, "source": ["# Decision Tree and Logistic Regression\n", "\n", "The notebook demonstrates the model *DecisionTreeLogisticRegression* which replaces the decision based on one variable by a logistic regression."]}, {"cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [{"data": {"text/html": ["
\n", ""], "text/plain": ["\n", " | name | \n", "score | \n", "
---|---|---|
0 | \n", "LogisticRegression | \n", "0.644444 | \n", "
1 | \n", "DecisionTreeClassifier | \n", "0.933333 | \n", "
2 | \n", "DecisionTreeLogisticRegression - depth=1 | \n", "0.700000 | \n", "
3 | \n", "DecisionTreeLogisticRegression - depth=5 | \n", "0.855556 | \n", "