Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COIn the `prcomp` function call, if I set the `tol` variable such that only 20 principal components are selected, and if I set the `retx` as TRUE, and access the `x` member of the return object, would that work too? I have done that and got 20 attributes instead of 104.
      singulars
    2. CO@louzer: There is no automated way in putting the tolerance level as to get a specific number of principal components. It is to cut out PC with a sd lower than a specific value. Tol is most commonly set at 1. Apart from that, this doesn't change the PC, contrary to `factanal`. So you don't get 20 components, you get 104 and ignore the last 84. That is something completely different. Please read in first on the differences between principal components and factor analysis. If you use the retx=T, then you can forget about tol and just do `pr$x[,1:20]`, similar to tt3 in my example.
      singulars
    3. COI see. Thanks. I will try factor analysis too. I just want 20 dimensions instead of 104, so as to do an approximate k-nearest neighbor search in a computationally feasible manner. I use that technique on every member of the my dataset to find true negatives which are most similar to true positives. This is because my raw dataset has a 100 times more true negatives than true positives. I want the number of instances in the positive dataset and the negative dataset to be the same, so as to make the SVM training possible on a desktop.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload