We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed5d8a3 commit 407d8e3Copy full SHA for 407d8e3
src/test/java/org/lightgbm/predict4j/UseageTest.java
@@ -17,11 +17,13 @@
17
* @author lyg5623
18
*/
19
public class UseageTest {
20
+ //your model path
21
private static String modelPath = "LightGBM_model.txt";
22
23
@Test
24
public void test() throws FileNotFoundException, IOException {
25
String path = UseageTest.class.getClassLoader().getResource(modelPath).getPath();
26
27
path = URLDecoder.decode(path, "utf8");
28
29
Boosting boosting = Boosting.createBoosting(path);
0 commit comments