Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Bug Reporting: Just Updated To Trains==0.16.3. Tested With Lightgbm==3.0.0

Bug reporting:
Just updated to trains==0.16.3. Tested with lightgbm==3.0.0
File "/home/nokchan/anaconda3/envs/cba/lib/python3.7/site-packages/trains/binding/frameworks/__init__.py", line 36, in _inner_patch raise ex File "/home/nokchan/anaconda3/envs/cba/lib/python3.7/site-packages/trains/binding/frameworks/__init__.py", line 34, in _inner_patch ret = patched_fn(original_fn, *args, **kwargs) File "/home/nokchan/anaconda3/envs/cba/lib/python3.7/site-packages/trains/binding/frameworks/lightgbm_bind.py", line 121, in _train params, train_set = args ValueError: not enough values to unpack (expected 2, got 0)

  
  
Posted 4 years ago
Votes Newest

Answers 7


Hi, I think I can confirm this is a bug of Trains. Is that ok if I submit a PR to fix this?

  
  
Posted 4 years ago

Hi EnviousStarfish54 , can you run the https://github.com/allegroai/trains/blob/master/examples/frameworks/lightgbm/train_with_lightbgm.py ? does it works for you?

  
  
Posted 4 years ago

TimelyPenguin76 It works fine. I may need to check on my side, I just notice it was caused by @funcy.log_durations decorator. It may changes the function signature and causing some issue with it. I don't have time to look into it yet, but the example works fine.

  
  
Posted 4 years ago

Hi EnviousStarfish54 , Sure, PRs always appreciated 🙂

  
  
Posted 4 years ago

Ok, will prepare a PR and script to reproduce the error

  
  
Posted 4 years ago

Hi EnviousStarfish54 ,

Thank you for reporting about it, checking it

  
  
Posted 4 years ago
972 Views
7 Answers
4 years ago
one year ago
Tags