Learn R Programming

snnR (version 1.0)

orthantProject: orthantProject

Description

This function obtains an orthant projection.

Usage

orthantProject(w, xi)

Arguments

w

(numeric,\(n\)) weights and biases data-vector.

xi

(numeric,\(n\)) weights and biases data-vector.

Value

A vector of weights and biases containing zero values.

Details

\( P_{O}(X+h)= \{ 0 \quad if \quad X_i(X_i+h_i)<0; \quad X_i+h_i \quad if \quad otherwise\}\)