def compute_adjacency_matrix(X, method='<STR_LIT>', **kwargs):
if method == '<STR_LIT>':<EOL><INDENT>if X.shape[<NUM_LIT:0>] > <NUM_LIT>:<EOL><INDENT>method = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>method = '<STR_LIT>'<EOL><DEDENT><DEDENT>return Adjacency.init(method, **kwargs).adjacency_graph(X.astype('<STR_LIT:float>'))<EOL>
Compute an adjacency matrix with the given method