{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.14","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":81933,"databundleVersionId":9643020,"sourceType":"competition"}],"dockerImageVersionId":30761,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# **FOREWORD**","metadata":{}},{"cell_type":"markdown","source":"We install basic packages for starters for the **Child Mind Institute — Problematic Internet Use** competition. We install the below packages as below- <br>\n\n|Package      | Version Number|\n|----------   | :-:       |\n|LightGBM     | 4.5.0 | \n|XgBoost      | 2.1.1 |\n|Polars       | 1.7.1 |\n|Scikit-learn | 1.4.2 |\n","metadata":{}},{"cell_type":"code","source":"%%writefile requirements.txt\n\nlightgbm==4.5.0\nxgboost==2.1.1\nscikit-learn==1.4.2\nnumpy==1.26.4\nscipy==1.14.0","metadata":{"execution":{"iopub.status.busy":"2024-09-20T19:46:36.630256Z","iopub.execute_input":"2024-09-20T19:46:36.631258Z","iopub.status.idle":"2024-09-20T19:46:36.663810Z","shell.execute_reply.started":"2024-09-20T19:46:36.631205Z","shell.execute_reply":"2024-09-20T19:46:36.662548Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%time \n\nimport os\ntry:\n    os.mkdir(\"/kaggle/working/MLPackages\")\nexcept:\n    pass\n\n!pip download -q -r requirements.txt -d /kaggle/working/MLPackages","metadata":{"execution":{"iopub.status.busy":"2024-09-20T19:46:36.665933Z","iopub.execute_input":"2024-09-20T19:46:36.666336Z","iopub.status.idle":"2024-09-20T19:46:49.536766Z","shell.execute_reply.started":"2024-09-20T19:46:36.666296Z","shell.execute_reply":"2024-09-20T19:46:49.535312Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%time \n\ntry:\n    os.mkdir(\"/kaggle/working/PolarsGPU171\")\n    os.mkdir(\"/kaggle/working/Polars171\")\nexcept:\n    pass\n\n!pip download polars[gpu] --extra-index-url=https://pypi.nvidia.com -d /kaggle/working/PolarsGPU171\n!pip download polars==1.7.1 -d /kaggle/working/Polars171","metadata":{"execution":{"iopub.status.busy":"2024-09-20T19:46:49.538477Z","iopub.execute_input":"2024-09-20T19:46:49.538840Z","iopub.status.idle":"2024-09-20T19:47:18.472809Z","shell.execute_reply.started":"2024-09-20T19:46:49.538802Z","shell.execute_reply":"2024-09-20T19:47:18.471425Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!ls\n%reset -f","metadata":{"execution":{"iopub.status.busy":"2024-09-20T19:47:18.475630Z","iopub.execute_input":"2024-09-20T19:47:18.476053Z","iopub.status.idle":"2024-09-20T19:47:19.742194Z","shell.execute_reply.started":"2024-09-20T19:47:18.475985Z","shell.execute_reply":"2024-09-20T19:47:19.741073Z"},"trusted":true},"execution_count":null,"outputs":[]}]}