Description Usage Arguments Examples
This is the first step in RICWL. It calcualtes the confidence index based on the sum of similarity weighted indicator functions.
1 2 3 4 5 6 7 8 9 |
x: |
n by P feature matrix |
y: |
outcome or residual vector with sizse n |
A: |
treatment, takes value -1 and +1 with size n |
XS: |
names of feature should be used for similarity calculation, if NULL then use all |
method: |
either cosine or fraction similarity, default is cosine "cos" |
frac.par: |
the parameter needed for fraction similarity calculation |
sim.par: |
hyper-parameter governing the definition of neighborhood. It is the minimal similairty quantile for neighborhood |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.