code: def project_biases(tf_features, n_features):
      """
      Projects the biases from the feature space to calculate bias per actor
      :param tf_features:
      :param n_features:
      :return:
      """
      tf_feature_biases = tf.Variable(tf.zeros([n_features, 1]))
  
      # The reduce sum is to perform a rank reduction
      tf_projected_biases = tf.reduce_sum(
          tf.sparse_tensor_dense_matmul(tf_features, tf_feature_biases),
          axis=1,
      )
  
      return tf_feature_biases, tf_projected_biases
  
file_path: tensorrec/tensorrec/recommendation_graphs.py
imports: import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: project_biases(tf_features, n_features) and returns: tf_feature_biases,  tf_projected_biases