View source: R/roc_curve_simulation.R
compute_roc_curve_modified_vertex | R Documentation |
We compute the ROC curve by assessing the overlap of reconstructed cusps and causal cusps. Reconstructing a causal cusp here means identifying one vertex that is in the causal cusp. We do this for every complex in the data set then average the ROC curves.
compute_roc_curve_modified_vertex(
data,
class_1_causal_points,
class_2_causal_points,
distance_to_causal_point = 0.1,
rate_values,
grid_size,
eta = 0.1,
directions_per_cone,
curve_length,
directions,
truncated = 0,
class = 0,
ball_radius = ball_radius,
ball = TRUE,
radius = 0,
mode = "grid",
subdivision = 3
)
data |
(list) : Metadata about the simulated shapes (vertex coordinates, etc.) |
class_1_causal_points |
: Vertex indices of causal points for class 1. |
class_2_causal_points |
: Vertex indices of causal points for class 2. |
distance_to_causal_point |
(float) : For interpolated shapes, the distance from a vertex to the causal points to be considered a "causal vertex" |
rate_values |
(vector) : Vector of variable importances for each sub-level set across each direction in a given cone. |
grid_size |
(int) : The fine-ness/granularity of the interpolated shapes. |
eta |
(float) : The kernel shape parameter. |
directions_per_cone |
(int): The number of directions we want generated within each cone. |
curve_length |
(int) : Number of sub-level sets in each EC computation. |
directions |
(nx3 matrix): The matrix of directions for which the (S/D) EC curve were computed over. |
truncated |
(int) : The number of "cuts" to compute TPR/FPR for the ROC curve over. Used to speed up ROC computations. |
class |
(int) : The class of the group of shapes we compute the ROC curve against. |
ball_radius |
(float) : The radius of the bounding ball used if we compute the balled EC curve. |
ball |
(boolean) : Denotes whether or not to compute the EC curves over a ball for uniform measurements |
radius |
(int) : The number of sub-level sets "before" and "after" the selected sub-level sets we want to include (during reconstruction). |
mode |
(string) : The data generation scheme. We currently support 'sphere', 'gaussian_grid", or interpolations (default). |
subdivision |
(int) : The fineness of the sphere meshes (if mode == 'sphere'). We currently use subdivision = 3. |
total_rate_roc (matrix) : The ROC curve.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.