sslMarkovRandomWalks: t-step Markov Random Walks

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

t-step Markov Random Walks

Usage

1
2
sslMarkovRandomWalks(xl, yl, xu, t = 10, dist.type = "Euclidean", k = 10,
  gamma = 1, improvement = 1e-04)

Arguments

xl

a n * p matrix or data.frame of labeled data.

yl

a n * 1 binary labels(1 or -1).

xu

a m * p matrix or data.frame of unlabeled data.

t

step size.

dist.type

character string; this parameter controls the type of distance measurement.(see dist or pr_DB).

k

an integer parameter controls a k-nearest neighbor graph.

gamma

a numeric parameter in the affinity matrix.

improvement

numeric. Maximum allowed distance between computed parameters in two successive iterations at the steady state.

Details

sslMarkovRandomWalks transmits known labels to unlabeled data by t-step Markov random walks.Parameters are estimated by an EM algorithm.

Value

a m * 1 integer vector representing the predicted labels of unlabeled data.

Author(s)

Junxiang Wang

References

Szummer, M., & Jaakkola, T. (2001). Partially labeled classification with M random walks. Advances in Neural Information Processing Systems, 14.

See Also

pr_DB dist

Examples

1
2
3
4
5
data(iris)
xl<-iris[c(1:20,51:70),-5]
xu<-iris[c(21:50,71:100),-5]
yl<-rep(c(1,-1),each=20)
yu<-sslMarkovRandomWalks(xl,yl,xu)


Search within the SSL package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.