Pagina principală

From Bitnami MediaWiki
Revision as of 09:28, 21 December 2022 by 193.231.17.46 (talk)

MediaWiki has been installed.<syntaxhighlight lang="python3"> def sequence_generator_unique(instance_len, ploidy, no_subsets):

   sequence = np.zeros((ploidy, instance_len), dtype="intp")
   subsets = np.random.permutation(no_subsets)
   for p in range(ploidy):
       for i in range(no_subsets):
           sequence[p][i] = subsets[i]
       for i in range(no_subsets,instance_len):
           sequence[p][i] = np.random.randint(no_subsets)
   return sequence

</syntaxhighlight>Consult the User's Guide for information on using the wiki software.

Getting started