Learn R Programming

LibOPF-in-R

This is a version in R language of an famous brazilian classifier called LibOPF (https://github.com/jppbsi/LibOPF), which is a library of functions and programs for free usage in the design of optimum-path forest classifiers.

Please read the package help and visit the Wiki for all the information needed to work with LibOPF.

Package manual: https://cran.r-project.org/web/packages/LibOPF/LibOPF.pdf

More about LibOPF: https://github.com/jppbsi/LibOPF/wiki, http://www.ic.unicamp.br/~afalcao/libopf/

Copy Link

Version

Install

install.packages('LibOPF')

Monthly Downloads

118

Version

2.6.2

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rafael Junqueira Martarelli

Last Published

February 7th, 2023

Functions in LibOPF (2.6.2)

opf_check

Checks the OPF file for proper formatting purposes
opf_accuracy4label

Computes the OPF accuracy for each class of a given set
opf_read_distances

Reads a file which contains the precalculated distances
opf_train

Executes the training phase of the OPF classifier
opf_read_classification

Reads a file which contains the nodes' predicted labels
opf_split

Generates training, evaluation and test sets for the OPF classifier
opf_run_example

Runs an usage example
opf_semi

Executes the semi supervised training phase
txt2opf

Converts a text file to an OPF subGraph object
opf_merge

Merge subGraphs
opf_write_modelfile

Writes into a file the trained OPF classifier
opf_learn

Executes the learning phase of the OPF classifier
opf_write_subGraph

Writes into a file a subGraph
opf_read_modelfile

Reads a file which contains the learned model
opf_read_subGraph

Reads a file which contains the subGraph
opf_cluster

Computes clusters by unsupervised OPF
opf_classify

Executes the test phase of the OPF classifier
opf_normalize

Normalizes data for the OPF classifier
opf_distance

Generates the precomputed distance file for the OPF classifier
opf_create_subGraph

Creates an empty subGraph structure
opf_knn_classify

Executes the test phase of the OPF classifier with knn adjacency
opf_knn_train

Executes the training phase of the OPF classifier with knn adjacency
opf_write_classification

Writes into a file the predicted labels produced by the opf classificator
opf_write_distances

Writes into a file the precalculated distances computed by opf_distances function
subGraph-class

Subgraph class
opf_pruning

Executes the pruning algorithm
svm2opf

Converts a LIBSVM file to an OPF subGraph object
opf2svm

Converts an OPF subGraph object to a LIBSVM file
opf2txt

Converts an OPF subGraph object to a text file
opf_accuracy

Computes the OPF accuracy
SNode-class

Subgraphs' node class
opf_fold

Generates k folds (objects) for the OPF classifier
opf_info

Gives information about the OPF file