Skip to content

TypeError: __init__() got an unexpected keyword argument 'add_noise_prob' #17

@jmrichardson

Description

@jmrichardson

Hi, I am getting this error when running this code:

from gendis.genetic import GeneticExtractor
genetic_extractor = GeneticExtractor(population_size=50, iterations=25, verbose=False,
                                     normed=False, add_noise_prob=0.3, add_shapelet_prob=0.3,
                                     wait=10, plot='notebook', remove_shapelet_prob=0.3,
                                     crossover_prob=0.66, n_jobs=4, max_len=len(X_train_pyts) // 2)

Traceback (most recent call last):
File "C:\Users\john\AppData\Roaming\Python\Python37\site-packages\IPython\core\interactiveshell.py", line 3418, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 5, in
crossover_prob=0.66, n_jobs=4, max_len=len(X_train_pyts) // 2)
TypeError: init() got an unexpected keyword argument 'add_noise_prob'

I installed by clone method. Thanks for the help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions