Skip to content

Performing GMRQ #1

Description

@drdoppio

At the stage of Gmrq.ipynb of your tutorial I have gotten the following errors:

Input In [1], in <cell line: 87>()
84 no_clusters=[700,800,900]
85 tica_lagtime=[2,4,6]
---> 87 GMRQ(no_of_features,no_of_components,no_clusters,tica_lagtime)

Input In [1], in GMRQ(no_of_features, no_of_components, no_clusters, tica_lagtime, parameter, gmrq_dir, clustering_dir)
56 else:
57 print('Running the {}th cycle'.format(i+1))
---> 58 cv = KFold(len(trajectories), n_folds=6, shuffle=True) #split the dataset into training set and test set
59 results = []
60 print_results = [] #train score, test score

TypeError: init() got an unexpected keyword argument 'n_folds'

Any suggestions?
thanks
Sandor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions