can't figure this error out?
See original GitHub issue@kaz-Anova @jq (sorry for @ )
prediction to has failed due to 2
printing prediction to preds.csv has failed due to null
predicting on test data lasted : 323.916000
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NullPointerException
at stacknetrun.runstacknet.main(runstacknet.java:745)
... 5 more
Command on cmd(Anaconda’s Terminal in a Virtual env)
java -jar StackNet.jar train task=classification train_file=train.csv test_file=test.csv params=params.txt pred_file=preds0.csv
test_target=false has_head=true verbose=true Threads=4 folds=3 metric=auc --output_name=model_params --indices_name=k_folds --seed=10 --include_target=True
Here’s my params.txt
XgboostClassifier booster:gbtree num_round:1500 eta:0.03 max_leaves:0 gamma:.6 max_depth:8 min_child_weight:1.0 subsample:0.9 colsample_bytree:0.75 colsample_bylevel:0.85 lambda:1.0 alpha:1.0 seed:1 threads:4 bags:1 verbose:true
SklearnknnClassifier seed:1 usedense:true use_scale:false distance:cityblock metric:uniform n_neighbors:10 thread:4 verbose:true
KerasnnClassifier loss:categorical_crossentropy standardize:true use_log1p:true shuffle:true batch_normalization:true weight_init:lecun_uniform momentum:0.9 optimizer:sgd use_dense:true l2:0.1,0.1 hidden:30,20 activation:relu,relu droupouts:0.2,0.1 epochs:250 lr:0.01 batch_size:32 stopping_rounds:10 validation_split:0.2 seed:1 verbose:true
SklearnknnClassifier seed:1 usedense:true use_scale:false distance:cosine metric:uniform n_neighbors:10 thread:4 verbose:true
KerasnnClassifier loss:categorical_crossentropy standardize:true use_log1p:false shuffle:true batch_normalization:true weight_init:lecun_uniform momentum:0.9 optimizer:sgd use_dense:true l2:0.001,0.001 hidden:30,15 activation:relu,relu droupouts:0.3,0.1 epochs:250 lr:0.01 batch_size:32 stopping_rounds:10 validation_split:0.2 seed:1 verbose:true
XgboostClassifier booster:gbtree num_round:1000 eta:0.03 max_leaves:0 gamma:.6 max_depth:8 min_child_weight:1.0 subsample:0.9 colsample_bytree:0.75 colsample_bylevel:0.85 lambda:1.0 alpha:1.0 seed:1 threads:4 bags:1 verbose:true
KerasnnClassifier loss:categorical_crossentropy standardize:true use_log1p:false shuffle:true batch_normalization:true weight_init:lecun_uniform momentum:0.9 optimizer:sgd use_dense:true l2:0.001,0.001 hidden:50,25 activation:relu,relu droupouts:0.25,0.15 epochs:250 lr:0.01 batch_size:32 stopping_rounds:10 validation_split:0.2 seed:1 verbose:true
I had verified that the repo is the latest version, and other proper installations as well…
I am on Win 10 x64, 8 gigs 4 logical Cores.
The weird part is on removing the xgb, it works absolutely perfect ( I am having xgb at the end of the 2nd level)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
I can't figure this error out - Bukkit Forums
Code: final BlockState titleEnts[] = chunk.getTileEntities();. And line 34 is calling the chunkFurnaces() function which holds line 53, see ...
Read more >java - ')' expected error .... Can't figure this out
I've Googled the issue and can't figure it out, so I'm consulting the experts at Stack Overflow. Any help greatly appreciated. java ·...
Read more >Can't figure this DistributedCOM error out. Event ID: 10016
Open component services. Click Computer, click my computer, and then click DCOM. Look for the corresponding service that appears on the error ......
Read more >Can't Figure Out What Is Causing Missing \item Error - TeX
The \flushleft at the end of each of the three figure environments are creating issues. Commenting those makes everything OK.
Read more >Error: Can't figure out which ctor to call · Issue #910 - GitHub
Hi, is it possible to use the following library(Microsoft.Azure.WebJobs.EventHubs) with .Net Framework 4.7? I keep getting the following ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe I know the reason. Because I always failed to generate the sparse files, then I delete a part of data from test file, but I forgot to delete the pred_file. That is , I didn’t keep data consistent between test and pred file. I will try again.
@gdragone1 Thanks. I’ll have trouble reproducing this since my processing power is dedicated to Malware competition 😉