質問編集履歴
3
追記
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
inverse_transformは何をしているのかが知りたい
|
1
|
+
PCAのinverse_transformは何をしているのかが知りたい
|
body
CHANGED
File without changes
|
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -26,4 +26,16 @@
|
|
26
26
|
from sklearn.decomposition import PCA
|
27
27
|
import inspect
|
28
28
|
print(inspect.getsource(PCA))
|
29
|
+
```
|
30
|
+
|
31
|
+
追記
|
32
|
+
下記のコードで関数の中身が見れらしたが、self.whitenが何を指しているのかが分かりませんでした。
|
33
|
+
whiten : bool, optional (default False)
|
34
|
+
When True (False by default) the `components_` vectors are multiplied
|
35
|
+
by the square root of n_samples and then divided by the singular values
|
36
|
+
to ensure uncorrelated outputs with unit component-wise variances.
|
37
|
+
|
38
|
+
```python
|
39
|
+
import inspect
|
40
|
+
inspect.getsource(PCA.inverse_transform)
|
29
41
|
```
|
1
2番目のコードが出ていなかったため修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,6 +21,7 @@
|
|
21
21
|
pca.inverse_transform(feature)
|
22
22
|
```
|
23
23
|
|
24
|
+
|
24
25
|
```python
|
25
26
|
from sklearn.decomposition import PCA
|
26
27
|
import inspect
|