CSMR_train: The train function of the CSMR algorithm.

View source: R/RBSL.R

CSMR_trainR Documentation

The train function of the CSMR algorithm.

Description

The train function of the CSMR algorithm.

Usage

CSMR_train(x, y, nit, nc, max_iter)

Arguments

x

The matrix

y

The external supervised variable.

nit

xxx

nc

The component number in the mixture model.

max_iter

The maximum iteration number.

Value

A list object consist of coefficient, clustering membership, data x, external variable y, predicted y based on regression model.


changwn/RMR documentation built on March 29, 2025, 3:15 p.m.