<commit_before># -*- coding: utf-8 -*-
'''
Copyright 2015 by <NAME>
This file is part of Statistical Parameter Estimation Tool (SPOTPY).

:author: <NAME>

This class holds example code how to use the dream algorithm
'''

import spotpy
from spotpy.examples.spot_setup_hymod_exe import spot_setup
#from spotpy.examples.spot_setup_hymod_python import spot_setup


if __name__ == "__main__":
    parallel ='seq'
    # Initialize the Hymod example
    spot_setup=spot_setup()
    
    #Select number of maximum repetitions
    rep=200
    
    #Start a sensitivity analysis
    sampler=spotpy.algorithms.fast(spot_setup, dbname='FAST_hymod', dbformat='csv')
    #sampler.sample(rep)
    
    # Load the results gained with the dream sampler, stored in DREAM_hymod.csv
    results = spotpy.analyser.load_csv_results('FAST_hymod')
    
    # Example plot to show the sensitivity index of each parameter
    spotpy.analyser.plot_fast_sensitivity(results, number_of_sensitiv_pars=3)

    <commit_msg>Increased number of iterations for fast tutorial<commit_after># -*- coding: utf-8 -*-
'''
Copyright 2015 by <NAME>
This file is part of Statistical Parameter Estimation Tool (SPOTPY).

:author: <NAME>

This class holds example code how to use the dream algorithm
'''

import spotpy
from spotpy.examples.spot_setup_hymod_exe import spot_setup
#from spotpy.examples.spot_setup_hymod_python import spot_setup


if __name__ == "__main__":
    parallel ='seq'
    # Initialize the Hymod example
    spot_setup=spot_setup()
    
    #Select number of maximum repetitions
    rep=1000
    
    #Start a sensitivity analysis
    sampler=spotpy.algorithms.fast(spot_setup, dbname='FAST_hymod', dbformat='csv')
    #sampler.sample(rep)
    
    # Load the results gained with the dream sampler, stored in DREAM_hymod.csv
    results = spotpy.analyser.load_csv_results('FAST_hymod')
    
    # Example plot to show the sensitivity index of each parameter
    spotpy.analyser.plot_fast_sensitivity(results, number_of_sensitiv_pars=3)

    
{'fraction_non_alphanumeric': 0.0802775024777007, 'fraction_numerical': 0.009415262636273538, 'mean_word_length': 4.111392405063291, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6631522', 'n_tokens_mistral': 657, 'n_tokens_neox': 627, 'n_words': 184}