{"nbformat_minor": 1, "metadata": {"kernelspec": {"language": "python", "display_name": "Python 3", "name": "python3"}, "language_info": {"nbconvert_exporter": "python", "mimetype": "text/x-python", "name": "python", "pygments_lexer": "ipython3", "file_extension": ".py", "codemirror_mode": {"name": "ipython", "version": 3}, "version": "3.6.1"}}, "cells": [{"source": "from multiprocessing import Pool, cpu_count\nimport gc; gc.enable()\nimport xgboost as xgb\nimport pandas as pd\nimport numpy as np\nfrom sklearn import *\nimport sklearn", "metadata": {"_uuid": "2487a0bf10921c6f6eb6e225d967a336cbd69d41", "_cell_guid": "62509b8c-412c-4216-9fc9-4d8589a6fe86", "trusted": true}, "outputs": [], "execution_count": null, "cell_type": "code"}, {"source": "train = pd.read_csv('../input/train.csv')\ntest = pd.read_csv('../input/sample_submission_zero.csv')\nuser_logs = pd.read_csv('../input/user_logs.csv', usecols=['msno'])", "metadata": {"trusted": true, "_uuid": "6b0b29c70e8edd3f00a7f42319f848391c8c62ad", "_cell_guid": "fb5c56d7-2035-4d01-9f17-7dfca59babb8", "collapsed": true}, "outputs": [], "execution_count": null, "cell_type": "code"}, {"source": "user_logs = pd.DataFrame(user_logs['msno'].value_counts().reset_index())", "metadata": {"trusted": true, "_uuid": "80ce13ea4bc57fa6db6a02bf4428fee62985c63f", "_cell_guid": "6e971b61-d074-4d08-af50-2ab99a08f3d5", "collapsed": true}, "outputs": [], "execution_count": null, "cell_type": "code"}, {"source": "user_logs.head(10)", "metadata": {"_uuid": "dc7c2df235779ab2c06609cfc2be3872428b980a", "_cell_guid": "a0eedad3-291a-4e0e-b292-92bf7392ebee", "trusted": true}, "outputs": [], "execution_count": null, "cell_type": "code"}], "nbformat": 4}