in credit-card-fraud-detection/neptune_ml_utils.py [0:0]
def check_ml_enabled():
host, port, use_iam = load_configuration()
response = signed_request(
"GET", url=f'https://{host}:{port}/ml/modeltraining', service='neptune-db')
if response.status_code != 200:
print('''This Neptune cluster \033[1mis not\033[0m configured to use Neptune ML.