brew.generation package

Submodules

brew.generation.bagging module

class brew.generation.bagging.Bagging(base_classifier=None, n_classifiers=100, combination_rule='majority_vote')[source]

Bases: brew.generation.base.PoolGenerator

fit(X, y)
predict(X)

brew.generation.base module

class brew.generation.base.PoolGenerator[source]

Bases: object

fit(X, y)
predict(X)

brew.generation.random_subspace module

class brew.generation.random_subspace.RandomSubspace(base_classifier=None, n_classifiers=100, combination_rule=<function majority_vote_rule>, max_features=0.5)[source]

Bases: brew.generation.base.PoolGenerator

fit(X, y)
predict(X)

brew.generation.smote_bagging module

class brew.generation.smote_bagging.SmoteBagging(base_classifier=None, n_classifiers=100, combination_rule='majority_vote', k=2)[source]

Bases: brew.generation.base.PoolGenerator

fit(X, y)
predict(X)
smote_bootstrap_sample(X, y, b, k)

Module contents

class brew.generation.Bagging(base_classifier=None, n_classifiers=100, combination_rule='majority_vote')[source]

Bases: brew.generation.base.PoolGenerator

fit(X, y)
predict(X)
class brew.generation.SmoteBagging(base_classifier=None, n_classifiers=100, combination_rule='majority_vote', k=2)[source]

Bases: brew.generation.base.PoolGenerator

fit(X, y)
predict(X)
smote_bootstrap_sample(X, y, b, k)
class brew.generation.RandomSubspace(base_classifier=None, n_classifiers=100, combination_rule=<function majority_vote_rule>, max_features=0.5)[source]

Bases: brew.generation.base.PoolGenerator

fit(X, y)
predict(X)