plspm.weights module¶
-
class
plspm.weights.
WeightsCalculatorFactory
(config: plspm.config.Config, iterations: int, tolerance: float, correction: float, scheme: plspm.scheme.Scheme)¶ Bases:
object
Internal class that is used to calculate weights and scores from the data using the model.
-
__init__
(config: plspm.config.Config, iterations: int, tolerance: float, correction: float, scheme: plspm.scheme.Scheme)¶ Initialize self. See help(type(self)) for accurate signature.
-
calculate
(data: pandas.core.frame.DataFrame)¶ Internal method that performs the calculation to estimate weights and scores.
-