Description Usage Arguments Value Author(s) Examples
The labeled feature matrix can be used as input for Support Vector Machines (SVM) classifier. The classifier then assigns each bait-prey pair a confidence score, indicating the level of support for that pair of proteins to interact. Hyperparameter optimization can also be performed to select a set of parameters that maximizes the model's performance. This function also computes the areas under the precision-recall (PR) and ROC curve to evaluate the performance of the classifier.
1 2 3 4 5 6 7 8 9 10 11 12 |
dtInput |
Data frame containing instances with class labels |
impute |
Logical value, indicating whether to impute missing values |
p |
The percentage of data that goes to training; defaults to 0.3 |
parameterTuning |
Logical value; indicating whether to tune SVM hyper parameters |
cost |
Cost of constraints violation |
gamma |
Parameter needed for all kernels except linear |
kernel |
Kernel type: 'linear', 'polynomial', 'sigmoid', or 'radial'; defaults to 'radial' |
ncross |
K-fold cross validation on the training data is performed to assess the quality of the model; defaults to 10 |
pr.plot |
Logical value, indicating whether to plot precision-recall (PR) curve |
roc.plot |
Logical value, indicating whether to plot ROC curve |
Data frame containing a classification results for all instances in the data set, where positive confidence score corresponds to the level of support for the pair of proteins to be true positive, whereas negative score corresponds to the level of support for the pair of proteins to be true negative.
Matineh Rahmatbakhsh, matinerb.94@gmail.com
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.