Page MenuHomePhabricator

makefile generate makes impossible rules when no model is available
Closed, ResolvedPublic

Description

The following happens because we have not specified a model for azwiki yet.

(3.5) [halfak@stat1006: ~/projects/editquality]
$ make models -n
cat datasets/arwiki.autolabeled_revisions.20k_2016.json | \
revscoring extract \
	editquality.feature_lists.arwiki.reverted \
	--host https://ar.wikipedia.org \
	--extractor 4 \
	--verbose > datasets/arwiki.autolabeled_revisions.w_cache.20k_2016.json
cat datasets/arwiki.autolabeled_revisions.w_cache.20k_2016.json | \
revscoring cv_train \
	revscoring.scoring.models.GradientBoosting \
	editquality.feature_lists.arwiki.reverted \
	reverted_for_damage \
	--version=0.4.1 \
	-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.035186595582635184" \
	--pop-rate "false=0.9648134044173649" \
	--center --scale > models/arwiki.reverted.gradient_boosting.model
make: *** No rule to make target 'azwiki_models', needed by 'models'.  Stop.