def save_results(predictions, filename):
    with open(filename, 'w') as f:
        f.write("id,ACTION\n")
        for i, pred in enumerate(predictions):
            f.write("%d,%f\n" % (i + 1, pred))
Calling L{findObject} results in a deprecation warning
dataset/ETHPy150Open kaz-Anova/ensemble_amazon/amazon_main_xgboost_count.py/save_results--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_util.py/TestFindObject.test_deprecation