Armed police were called after getting reports of a man attacking people with a large machete