parameters: (a_rows, a_cols, b_rows, b_cols)
return_statement: return intersection / (a_size + b_size - intersection)
docstring: Jaccard coefficient on the elements of the two biclusters.
docstring_summary: Jaccard coefficient on the elements of the two biclusters.
docstring_tokens: Jaccard coefficient on the elements of the two biclusters .
function: def _jaccard(a_rows, a_cols, b_rows, b_cols):
      """Jaccard coefficient on the elements of the two biclusters."""
      intersection = ((a_rows * b_rows).sum() *
                      (a_cols * b_cols).sum())
  
      a_size = a_rows.sum() * a_cols.sum()
      b_size = b_rows.sum() * b_cols.sum()
  
      return intersection / (a_size + b_size - intersection)
function_tokens: def _jaccard ( a_rows , a_cols , b_rows , b_cols ) : intersection = ( ( a_rows * b_rows ) . sum ( ) * ( a_cols * b_cols ) . sum ( ) ) a_size = a_rows . sum ( ) * a_cols . sum ( ) b_size = b_rows . sum ( ) * b_cols . sum ( ) return intersection / ( a_size + b_size - intersection )