payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/annoviko/pyclustering/issues/570","repository_url":"https://api.github.com/repos/annoviko/pyclustering","labels_url":"https://api.github.com/repos/annoviko/pyclustering/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/annoviko/pyclustering/issues/570/comments","events_url":"https://api.github.com/repos/annoviko/pyclustering/issues/570/events","html_url":"https://github.com/annoviko/pyclustering/issues/570","id":541507124,"node_id":"MDU6SXNzdWU1NDE1MDcxMjQ=","number":570,"title":"ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()","user":{"login":"nabilEM","id":6951635,"node_id":"MDQ6VXNlcjY5NTE2MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/6951635?v=4","gravatar_id":"","url":"https://api.github.com/users/nabilEM","html_url":"https://github.com/nabilEM","followers_url":"https://api.github.com/users/nabilEM/followers","following_url":"https://api.github.com/users/nabilEM/following{/other_user}","gists_url":"https://api.github.com/users/nabilEM/gists{/gist_id}","starred_url":"https://api.github.com/users/nabilEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabilEM/subscriptions","organizations_url":"https://api.github.com/users/nabilEM/orgs","repos_url":"https://api.github.com/users/nabilEM/repos","events_url":"https://api.github.com/users/nabilEM/events{/privacy}","received_events_url":"https://api.github.com/users/nabilEM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-22T22:12:12Z","updated_at":"2019-12-22T22:12:12Z","closed_at":null,"author_association":"NONE","body":"Thank you for your library, it is very useful for me and the data mining community. I wanted to run birch algorithm but I had this error from the cftree.py:  if (merged_entry.get_diameter() > self.__threshold): ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all(). \r\n\r\nAlso when I want to use the parameter diameter when I instantiate the birch algorithm, I get this error: birch_instance = birch(x,3,diameter=0.1)\r\nTypeError: __init__() got an unexpected keyword argument 'diameter'.\r\n\r\nOne last question, would it be possible to leave the parameter number_clusters optional to let the user use other clustering algorithms in the last step of birch instead of the hierarchical method?"}}
other: {"actor":{"display_login":"nabilEM"}}