Closed lacava closed 2 years ago
@KGAE-CUP please provide an install.sh
with something simple like
cd taylorGP
python setup.py install
Otherwise python setup.py install
won't be triggered anywhere. Hopefully will work after that.
@KGAE-CUP please provide an
install.sh
with something simple likecd taylorGP python setup.py install
Otherwise
python setup.py install
won't be triggered anywhere. Hopefully will work after that.
@lacava Thank you for your valuable comments! I saw that there are many ways to submit code in competition requirements. To replace the "install. sh" method, I chose environmen.yml to install the virtual environment locally through "conda env create - f environment. yml". Do you have any suggestions on this? Thank you for your letter.
@lacava Thank you for your valuable comments! I saw that there are many ways to submit code in competition requirements. To replace the "install. sh" method, I chose environmen.yml to install the virtual environment locally through "conda env create - f environment. yml". Do you have any suggestions on this? Thank you for your letter.
Unless taylorGP is a conda package, you will need to both 1) create the env via environment.yml and 2) call 'python setup.py install' in the package directory. the install.sh file would accomplish 2).
this is what i understand from the .travis.yml file in your submission - i left a comment on the relevant line. you should confirm this is how to install the package.
@lacava Hello lcava, I found that the "install. sh" in the "experiment/methods/TaylorGP" folder is empty, which is not the same as the install. sh in the "submission/TaylorGP" folder, will this cause my algorithm fail to test datasets?
hi @KGAE-CUP no, you should be all set. I will let you know if I run into any issues.
cc @KGAE-CUP
Competition Checklist:
submission/
with a meaningful name corresponding to your method name.The added folder includes these elements:
[x]
metadata.yml
(required): A file describing your submission, following the descriptions inexample/metadata.yml
.[x]
regressor.py
(required): a Python file that defines your method, named appropriately. See submission/feat-example/regressor.py for complete documentation. It contains:est
: a sklearn-compatibleRegressor
object.model(X_Y=None)
: a function that returns a sympy-compatible string specifying the final model. It can optionally take the training data as an input argument. See guidance below.eval_kwargs
(optional): a dictionary that can specify method-specific arguments toevaluate_model.py
.[]
LICENSE
(optional) A license file[x]
environment.yml
(optional): a conda environment file that specifies dependencies for your submission.[]
install.sh
(optional): a bash script that installs your method.[x] additional files (optional): you may include a folder containing the code for your method in the submission.
I have verified that:
install.sh
shouldn't pulll a different version of the code when run multiple times.)Refer to the competition guide if you are unsure about any steps. If you don't find an answer, ping us!