Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/s/e/seqlearn-HEAD/seqlearn/tests/test_evaluation.py   seqlearn(Download)
import re
 
from seqlearn.evaluation import (bio_f_score, SequenceKFold,
                                 whole_sequence_accuracy)
 
    for random_state in [75, 82, 91, 57, 291]:
        kfold = SequenceKFold(
            [len(s) for s in sequences],
            n_folds=3, shuffle=True, random_state=random_state
        )
    for n_folds in [2, 3, 4]:
        for n_iter in [2, 3, 4]:
            kfold = SequenceKFold(lengths, n_folds=n_folds, n_iter=n_iter,
                                  shuffle=True, random_state=42)