@@ -100,29 +100,39 @@ class CVMatrix:
100100 entire dataset. This is computed only if `Y` is not `None`.
101101
102102 sum_X : np.ndarray or None
103- The row of column-wise weighted means for `X` for the entire dataset. This is
104- computed only if `center_X`, `scale_X`, or `center_Y` is `True`.
103+ The row of column-wise weighted sums of `X` for the entire dataset. This is
104+ computed only if `center_X`, `scale_X`, or `center_Y` is `True`. This is the
105+ row of column-wise sums of :math:`\mathbf{W}\mathbf{X}` if `weights` are
106+ provided and otherwise the row of column-wise sums of :math:`\mathbf{X}`.
105107
106108 sum_Y : np.ndarray or None
107- The row of column-wise weighted means for `Y` for the entire dataset. This is
109+ The row of column-wise weighted sums of `Y` for the entire dataset. This is
108110 computed only if `center_Y`, `scale_Y`, or `center_X` is `True` and `Y` is not
109- `None`.
111+ `None`. This is the row of column-wise sums of :math:`\mathbf{W}\mathbf{Y}` if
112+ `weights` are provided and otherwise the row of column-wise sums of
113+ :math:`\mathbf{Y}`.
110114
111115 sum_sq_X : np.ndarray or None
112- The row of column-wise weighted standard deviations for `X` for the entire
113- dataset. This is computed only if `scale_X` is `True`.
116+ The row of column-wise weighted squared sums of `X` for the entire dataset.
117+ This is computed only if `scale_X` is `True`. This is the
118+ row of column-wise sums of :math:`\mathbf{W}\mathbf{X}\odot\mathbf{X}` if
119+ `weights` are provided and otherwise the row of column-wise sums of
120+ :math:`\mathbf{X}\odot\mathbf{X}`.
114121
115122 sum_sq_Y : np.ndarray or None
116- The row of column-wise weighted standard deviations for `Y` for the entire
117- dataset. This is computed only if `scale_Y` is `True` and `Y` is not `None`.
123+ The row of column-wise weighted squared sums of `Y` for the entire dataset.
124+ This is computed only if `scale_Y` is `True` and `Y` is not `None`. This is the
125+ row of column-wise sums of :math:`\mathbf{W}\mathbf{Y}\odot\mathbf{Y}` if
126+ `weights` are provided and otherwise the row of column-wise sums of
127+ :math:`\mathbf{Y}\odot\mathbf{Y}`.
118128
119129 Xw : np.ndarray or None
120130 The total weighted predictor matrix `X` for the entire dataset. This is
121- :math:`\mathbf{X }\mathbf{W }`.
131+ :math:`\mathbf{W }\mathbf{X }`.
122132
123133 Yw : np.ndarray or None
124134 The total weighted response matrix `Y` for the entire dataset. This is
125- :math:`\mathbf{Y }\mathbf{W }`. This is computed only if `Y` is not `None`.
135+ :math:`\mathbf{W }\mathbf{Y }`. This is computed only if `Y` is not `None`.
126136
127137 weights : np.ndarray or None
128138 The total weights for the entire dataset. This is an array of shape (N, 1). If
0 commit comments