Primary competition visual

Womxn in Big Data South Africa: Female-Headed Households in South Africa

Helping South Africa
$5 000 USD
Challenge completed over 5 years ago
Prediction
1161 joined
204 active
Starti
Nov 25, 19
Closei
Feb 23, 20
Reveali
Feb 24, 20
Starter script for R users (LB: 3.5841)
Help · 14 Dec 2019, 02:15 · edited 1 minute later · 8

Starter Rscript for Womxn in Big Data South Africa Project

Hi guys, I just shared my Rscript in my github repository. It scored 3.584 on the LB. Although Zindi has provided Python Starter Notebook already, I couldn't find any R starter codes. So, I decided to share mine.

Please ask questions on this publicly open discussion board for the fairness in this competition, if you have any.

Discussion 8 answers

Yet to look at the code but well done for taking the initiative to share an R starter code.

Been struggling with installing LGBM on my laptop. Could you please share the steps to its installation. Thanks

14 Dec 2019, 04:16
Upvotes 0

I don't remember I have tried anything special. I think I just followed official document. such as this.

Anyway, if you can't successfuly install it, i recommend you try it on kaggle notebook.

Okay. I will follow the documentation. Thanks

User avatar
Mahmoud_Trigui
Freelance

after many tries, I managed to install it following these steps : https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#windows .

and may be, I'm not sure, you need to execute this as a fnal step : install.packages(file.path("C:/", "LightGBM", "R-package"), repos = NULL, type = "source")

hope it works for you :)

Thanks. Got it working now

User avatar
Mahmoud_Trigui
Freelance

Hi :)

I installed it and loaded succeffuly but today I got this error, ahve any idea about it ?

[LightGBM] [Fatal] Check failed: num_data > 0 at D:\a\1\s\src\io\dataset.cpp, line 30 .

Error in data$construct() :

lgb.Dataset.construct: cannot create Dataset handle

what agorithm did you use? and what feature engineering did you do please?

20 Dec 2019, 13:31
Upvotes 0

lightgbm without any feature engineering