Immigrate (version 0.2.1)

one.IM4E: one.IM4E

Description

This function performs (IM4E)Iterative Margin-Maximization under Max-Min Entropy algorithm for one loop.

Usage

one.IM4E(train_xx, train_yy, w, sig = 1, lambda = 1)

Arguments

train_xx

model matrix of explanatory variables

train_yy

label vector

w

initial weight

sig

sigma used in algorithm, default to be 1

lambda

lambda used in algorithm, default to be 1

Value

w

new weight vector after one loop

C

cost after one loop