Page MenuHomePhabricator
Paste P6718

(An Untitled Masterwork)
ActivePublic

Authored by Tgr on Feb 20 2018, 12:23 AM.
Tags
None
Referenced Files
F13891431:
Feb 20 2018, 12:23 AM
Subscribers
None
(venv) tgr@stat1005:/srv/home/tgr/ores/editquality$ make models/huwiki.damaging.gradient_boosting.model
cat datasets/huwiki.labeled_revisions.w_cache.40k_2016.json | \
revscoring cv_train \
revscoring.scoring.models.GradientBoosting \
editquality.feature_lists.huwiki.damaging \
damaging \
--version=0.4.0 \
-p 'learning_rate=0.01' \
-p 'max_depth=5' \
-p 'max_features=log2' \
-p 'n_estimators=700' \
--label-weight "true=10" \
--pop-rate "true=0.0872" \
--pop-rate "false=0.9128000000000001" \
--center --scale > models/huwiki.damaging.gradient_boosting.model
Traceback (most recent call last):
File "/home/tgr/ores/venv/bin/revscoring", line 11, in <module>
sys.exit(main())
File "/home/tgr/ores/venv/lib/python3.5/site-packages/revscoring/revscoring.py", line 51, in main
module.main(sys.argv[2:])
File "/home/tgr/ores/venv/lib/python3.5/site-packages/revscoring/utilities/cv_train.py", line 93, in main
estimator_params[key] = json.loads(value)
File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Makefile:1429: recipe for target 'models/huwiki.damaging.gradient_boosting.model' failed
make: *** [models/huwiki.damaging.gradient_boosting.model] Error 1
make: *** Deleting file 'models/huwiki.damaging.gradient_boosting.model'