def clustering(x_train,
               y_train,
               writer,
               sheet_name,
               multiple=False,
               binary=True):
    cluster = Cluster()
    cluster.setupResults()
    cluster.train(x_train, y_train, multiple=multiple, binary=binary)
    cluster.results.to_excel(writer, sheet_name=sheet_name)
def clustering(x_train, y_train, x_test, y_test):
    cluster = Cluster()
    cluster.train(x_train, y_train, x_test, y_test)