You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param invertSources boolean indicating whether the document-level source values should be included (= {@code true}) rather than excluded.
624
624
* @param invertSections boolean indicating whether the document-level section values should be included (= {@code true}) rather than excluded.
625
625
* @param invertTypes boolean indicating whether the document-level type values should be included (= {@code true}) rather than excluded.
626
-
* @param k The number of clusters or factions, for example 2 for bi-polarisation.
627
-
* @param numParents The number of cluster solutions (i.e., parents) to generate in each iteration, for example 30 or 50.
628
-
* @param iterations For how many generations should the genetic algorithm run at most? This is the maximal number of generations through which optimisation should be attempted. Will be lower if early convergence is detected. A suggested starting value is 1000.
629
-
* @param elitePercentageThe share of cluster solutions in each parent generation that is copied into the children generation without changes, between 0.0 and 1.0, usually around 0.1.
630
-
* @param mutationPercentage The probability with which each bit in any cluster solution is selected for mutation after the cross-over step. For example 0.1 to select 10% of the nodes to swap their memberships.
631
-
* @param qualityFunctionThe quality function to evaluate cluster solutions. Supported values are "modularity", "eiIndex", and "absdiff".
632
-
* @param normaliseMatrices boolean indicating whether the network matrices should be normalised before computing the polarisation score.
633
-
* @param randomSeed The random seed to use for the random number generator. Pass 0 for random behaviour.
634
-
* @return A PolarisationResultTimeSeries object containing the results of the genetic algorithm for each time step and iteration.
626
+
* @param algorithm The algorithm to maximise polarisation at each time step. Can be "greedy" (for a greedy algorithm) or "genetic" (for a genetic algorithm).
627
+
* @param normaliseScoresboolean indicating whether the polarisation scores should be normalised by dividing them by their theoretical maximum within a given network. This takes away the effect of more activity (possibly due to participation by more actors or more statements per actor) contributing to polarisation scores and focuses solely on structure given the edge mass in the network. Without normalisation, time periods with more actors and activity will elevate the polarisation of the network (at constant levels of being divided over concepts).
628
+
* @param numClusters The number of clusters or factions k, for example 2 for bi-polarisation.
629
+
* @param numParents Only for the genetic algorithm: The number of cluster solutions (i.e., parents) to generate in each iteration, for example 30 or 50.
630
+
* @param numterations Only for the genetic algorithm: For how many generations should the genetic algorithm run at most? This is the maximal number of generations through which optimisation should be attempted. Will be lower if early convergence is detected. A suggested starting value is 1000.
631
+
* @param elitePercentageOnly for the genetic algorithm: The share of cluster solutions in each parent generation that is copied into the children generation without changes, between 0.0 and 1.0, usually around 0.1.
632
+
* @param mutationPercentage Only for the genetic algorithm: The probability with which each bit in any cluster solution is selected for mutation after the cross-over step. For example 0.1 to select 10% of the nodes to swap their memberships.
633
+
* @param randomSeed Only for the genetic algorithm: The random seed to use for the random number generator. Pass 0 for random behaviour.
634
+
* @return A PolarisationResultTimeSeries object containing the results of the algorithm for each time step and iteration.
0 commit comments