Click4Ai

483.

Medium

### LightGBM Basics

In this problem, you will learn the basics of LightGBM, a popular gradient boosting framework. LightGBM is known for its speed and efficiency, making it a great choice for large-scale machine learning tasks.

**Example:** Train a LightGBM model on the Boston housing dataset to predict house prices.

**Constraints:** Use the LightGBM library and NumPy for this problem.

Your task is to implement a function that trains a LightGBM model on the Boston housing dataset and returns the predicted house prices.

Test Cases

Test Case 1
Input: [[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]]
Expected: [[10.0]]
Test Case 2
Input: [[20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]]
Expected: [[40.0]]
+ 3 hidden test cases