msmbuilder / osprey

🦅Hyperparameter optimization for machine learning pipelines 🦅
http://msmbuilder.org/osprey
Apache License 2.0
74 stars 26 forks source link

"merge/upgrade " Osprey with modified version from github #254

Open cxhernandez opened 5 years ago

cxhernandez commented 5 years ago

@khatuka31, I'm moving your inquiry to a new issue

Hi, @cxhernandez @rmcgibbo @mpharrigan

I installed Ospray with conda, but would like to "merge/upgrade " with modified version from github: https://github.com/larsbratholm/osprey/ the commit - '4bfbb14'

How can I do that in my conda python 3.5 virtual env. ?

I see that cross_validators.py and others are different, so I am having error whilest trying to reproduce published paper results.

Thank you in advance and really appreciate your time.

= osprey is a tool for machine learning hyperparameter optimization. = osprey version: 1.1.0 time: August 26, 2019 2:56 PM hostname: xxx cwd: /paper_si-master/osprey pid: 3929

Loading config file: config1aK.yaml...

Loading dataset...

Dataset contains 21563 element(s) with out labels The elements have shape: [(1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), ...] Instantiated estimator:

cxhernandez commented 5 years ago

Can you not use git to checkout that particular commit and then install from source using python setup.py install?

khatuka31 commented 5 years ago

Hi, I managed yesterday to do following

git remote –v

origin https://github.com/msmbuilder/osprey.git (fetch)

origin https://github.com/msmbuilder/osprey.git (push)

remote_larsbratholm_osprey https://github.com/larsbratholm/osprey.git (fetch)

remote_larsbratholm_osprey https://github.com/larsbratholm/osprey.git (push)

So I see that conda ospray path is ~/.conda/envs/pyenv35/bin/osprey

old python source code ...

and larsbratholm_osprey path is local: ~/home/ospray etc with a new python code

Do you mean to edit https://github.com/larsbratholm/osprey/blob/master/setup.py ?

On Mon, Aug 26, 2019 at 10:20 PM Carlos Hernández notifications@github.com wrote:

Can you not use git to checkout that particular commit and then install from source using python setup.py install?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/msmbuilder/osprey/issues/254?email_source=notifications&email_token=ALHNPMPKGGKH647QMK2WMSDQGQ3HZA5CNFSM4IPVDFKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FRWDY#issuecomment-525015823, or mute the thread https://github.com/notifications/unsubscribe-auth/ALHNPMNCNH4F4BMGCBLLHDLQGQ3HZANCNFSM4IPVDFKA .