<reponame>MildoCentaur/titanic-ds-python
from flask import Flask, request
from sklearn.model_selection import train_test_split

app = Flask(__name__)


@app.route('/api', methods=['POST'])
def say_hello():
    data = request.get_json(force=True)
    name = data['name']
    return "hello {0}".format(name)


if __name__ == '__main__':
    app.run(port=10001, debug=True)

import lightgbm as lgb

train_test_split