Research Article

Improving Neutron-Gamma Discrimination with Stilbene Organic Scintillation Detector Using Blind Nonnegative Matrix and Tensor Factorization Methods

Algorithm 2

Multilayer NTF1.
Input: set of Q matrices : input data, J: number of basis components
Output: factor and set of factors
 Such that the suitable cost functions are minimized.
begin
  l = 0                   /∗ number of layers ∗/
  
  repeat
   
   Initial randomly
   /∗ Minimize alternatively with suitable cost functions ∗/
   
   
   
  until a stopping criterion is met      /∗ convergence condition ∗/
   
end