RnRTD: Intelligent Approach Based on the Relationship-Driven Neural Network and Restricted Tensor Decomposition for Multiple Accusation Judgment in Legal Cases
Algorithm 1
The solution of Problem 2 by using ALS Algorithm.
Input: Tensor χ which represents the original legal case data, , the restricted tensor η, , and its weight .
Output: The factor matrix sets and ,,.
Initialize the factor matrix sets and ;
for to do
// First, pick the elements in the factor set as variables
for to K do
;
;
;
end
// Then, pick the elements in the factor set as variables