Closed matthewedwarddavidson closed 8 months ago
Thanks for pointing this out!
Indeed, our desired result is:
{"housing-median-age" 0.060262475752573055,
"median-income" 0.7847621702619059,
"bedrooms-per-house" 0.010547166447551434,
"population-per-house" 0.14442818753796965}
But the actual result is:
{"housing-median-age" [:size 4],
"median-income" [:indices (0 1 2 3)],
"bedrooms-per-house" [:values (0.060262475752573055 0.7847621702619059 0.010547166447551434 0.14442818753796965)]}
Your patch solves this problem.
As for the extra right bracket, I think it was caused by copying the code directly from cookbook-11.clj
when writing the docs.
Merging #343 (62ea3ad) into develop (b0a8b6b) will not change coverage. The diff coverage is
n/a
.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
The example in part 11.3 did not work for me, it was zipmapping column headers to
:size
,:indices
,:values
of feature-importances. There was also an extra closing bracket on the end, maybe for a missing bit of code? The suggested change does what, I think, the example was meant to show.