import pandas as pd

import common.dataset.dataset_builder as db
from common.algorithms.decision_tree import DecisionTree
from common.algorithms.lottery import Lottery
from common.algorithms.random_forest import RandomForest
from common.algorithms.simple_perceptron import SimplePerceptron
from common.experiment.experiment_comparer import Comparer, TestType

pd.set_option('display.max_columns', None)
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', -1)

ds = db.create_titanic_dataset()

algorithms = []

algorithms.append(SimplePerceptron())

comparer = Comparer(ds, 0.2, algorithms, test_type=TestType.FULL_TEST)

print(comparer)
# print(comparer.last_confusion)

24faf0373e68fe1a69655d457b35b60925d3a056
<mask token>

<mask token>
pd.set_option('display.max_columns', None)
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', -1)
<mask token>
algorithms.append(SimplePerceptron())
<mask token>
print(comparer)

<mask token>
pd.set_option('display.max_columns', None)
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', -1)
ds = db.create_titanic_dataset()
algorithms = []
algorithms.append(SimplePerceptron())
comparer = Comparer(ds, 0.2, algorithms, test_type=TestType.FULL_TEST)
print(comparer)

import pandas as pd
import common.dataset.dataset_builder as db
from common.algorithms.decision_tree import DecisionTree
from common.algorithms.lottery import Lottery
from common.algorithms.random_forest import RandomForest
from common.algorithms.simple_perceptron import SimplePerceptron
from common.experiment.experiment_comparer import Comparer, TestType
pd.set_option('display.max_columns', None)
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', -1)
ds = db.create_titanic_dataset()
algorithms = []
algorithms.append(SimplePerceptron())
comparer = Comparer(ds, 0.2, algorithms, test_type=TestType.FULL_TEST)
print(comparer)

import pandas as pd

import common.dataset.dataset_builder as db
from common.algorithms.decision_tree import DecisionTree
from common.algorithms.lottery import Lottery
from common.algorithms.random_forest import RandomForest
from common.algorithms.simple_perceptron import SimplePerceptron
from common.experiment.experiment_comparer import Comparer, TestType

pd.set_option('display.max_columns', None)
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', -1)

ds = db.create_titanic_dataset()

algorithms = []

algorithms.append(SimplePerceptron())

comparer = Comparer(ds, 0.2, algorithms, test_type=TestType.FULL_TEST)

print(comparer)
# print(comparer.last_confusion)
