projection: project additional data points along the direction of...

Description Usage Arguments Value

Description

This function projects additional data points along the direction of classification boundary after normalize it based on the center and std of classification data (used in SVM), calcualtes the length of projection and percentage of cells along the same direction of classification boundary

Usage

1
projection(to_be_normed, center, std, weight)

Arguments

to_be_normed

Matrix containing single cells information to be projected

center

Center of typical cells

std

Standard deviations of typical cells

weight

Direction of boundary plane given by SVM(), weight should be formatted as a n by 1 matrix, n is the number of dimension

Value

projected A list of projected distance between each test data point to the classification boundary

percent percentage of data points in to_be_normed matrix that have positive distance to the classification boundary


aspen-shen/RefCells documentation built on May 17, 2019, 2:49 p.m.