Skip to content

Commit

Permalink
[FIX] ADD forecasting init design to pip data files (#459)
Browse files Browse the repository at this point in the history
* add forecasting_init.json to data files under setup

* avoid undefined reference in scale_value
  • Loading branch information
dengdifan committed Aug 5, 2022
1 parent 0e574af commit c7220f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ def scale_value(self,
outputs = raw_value - loc.to(device)
else:
outputs = (raw_value - loc.to(device)) / scale.to(device)
return outputs
return outputs
else:
return raw_value

@abstractmethod
def forward(self,
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
},
test_suite="pytest",
data_files=[('configs', ['autoPyTorch/configs/default_pipeline_options.json']),
('portfolio', ['autoPyTorch/configs/greedy_portfolio.json'])],
('portfolio', ['autoPyTorch/configs/greedy_portfolio.json']),
('forecasting_init', ['autoPyTorch/configs/forecasting_init_cfgs.json'])],
dependency_links=['https://github.com/automl/automl_common.git/tarball/autoPyTorch#egg=package-0.0.1']
)

0 comments on commit c7220f7

Please sign in to comment.