Fork me on GitHub
#data-science
<
2019-01-14
>
alan19:01:28

clj-boost 0.0.4 is out! There's a very important bug fix if you have a European (or any Locale with a comma decimal separator) and a new dmatrix identity method!!!! https://clojars.org/clj-boost

👍 15
aaelony22:01:30

One comment on the choice of name clj-boost … XGBoost is not the only boosting implementation (e.g. see lightgbm or catboost). Perhaps there might be a way to indicate more strongly that this is purely xgboost, or is the intention to include other boosting tools in the same library at some point?

alan07:01:52

The second one I guess. I'm currently exploring LightGBM 😄

aaelony16:01:35

I think enhancements to xgboost make it possible to emulate lightgbm something akin to this: http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/xgboost.html#lightgbm-emulation-mode-options

jsa-aerial22:01:06

Hanami 0.6.0 https://github.com/jsa-aerial/hanami is now available. Mostly a clean and refactor release. However, also resolves an issue with shadow-cljs - Thanks @pfeodrippe !

alan08:01:03

Hi, I'm not able to understand how to change :axis: when I try (hc/xform ht/xy-encoding :XAXIS "test") nothing happens to the result

jsa-aerial15:01:24

That will result in this:

jsa-aerial15:01:53

{:y {:field "y",
     :type "quantitative"},
 :x {:field "x",
     :type "quantitative",
     :axis "test"},
 :tooltip
 [{:field "x", :type "quantitative"}
  {:field "y", :type "quantitative"}]}

jsa-aerial15:01:29

Note [:x :axis] is "test", which is what you specified.

jsa-aerial15:01:08

Note: (hc/get-default :XAXIS) => {:title :XTITLE, :grid :XGRID, :format :XFORMAT}

jsa-aerial15:01:08

So, what you may be wanting is

jsa-aerial15:01:44

(hc/xform ht/xy-encoding :XTITLE "test")

jsa-aerial15:01:09

{:y {:field "y", 
       :type "quantitative"},
 :x {:field "x",
       :type "quantitative",
      :axis {:title "test"}},
 :tooltip
 [{:field "x", :type "quantitative"}
  {:field "y", :type "quantitative"}]}

jsa-aerial15:01:49

Wow, slack is absolutely atrocious at formatting code...

alan16:01:52

Ok, actually I want to change labels size so I guess I have to pass a map to :XAXIS

jsa-aerial16:01:29

Given the current default, that would be correct. Feel free to change this to something you think would work better for you - or, as you say, for the case in hand, just pass a legal VGL map