Comments (2)
Hello @anuragverma77 ,
For the error, can you tell me which deephyper version you are using?
>>> import deephyper
>>> deephyper.__version__
Sorry for the lack of the documentation on this part, I will try to add more soon.
When you wonder what arguments can be processed by the deephyper
command line I encourage you to use the --help
argument, for example:
$ deephyper nas --help (dh) I
usage: deephyper nas [-h] {ambs,random,regevo,agebo,ambsmixed,regevomixed} ...
positional arguments:
{ambs,random,regevo,agebo,ambsmixed,regevomixed}
optional arguments:
-h, --help show this help message and exit
Which give you a clear list of acceptable keyword for the search algorithms.
Also if you want more information about a specific algorithm use the same trick but after adding the search argument, such as:
$ deephyper nas ambs --help (dh) I
usage: deephyper nas ambs [-h] [--problem PROBLEM] [--backend BACKEND]
[--max-evals MAX_EVALS]
[--eval-timeout-minutes EVAL_TIMEOUT_MINUTES]
[--ray-address RAY_ADDRESS]
[--ray-password RAY_PASSWORD]
[--num-cpus-per-task NUM_CPUS_PER_TASK]
[--num-gpus-per-task NUM_GPUS_PER_TASK]
[--seed SEED] [--cache-key {uuid,to_dict}]
[--num-ranks-per-node NUM_RANKS_PER_NODE]
[--num-evals-per-node NUM_EVALS_PER_NODE]
[--num-nodes-per-eval NUM_NODES_PER_EVAL]
[--num-threads-per-rank NUM_THREADS_PER_RANK]
[--num-threads-per-node NUM_THREADS_PER_NODE]
[--num-workers NUM_WORKERS] [--log-dir LOG_DIR]
[--run RUN] [--evaluator EVALUATOR]
[--surrogate-model {RF,ET,GBRT,DUMMY,GP}]
[--liar-strategy {cl_min,cl_mean,cl_max}]
[--acq-func {LCB,EI,PI,gp_hedge}] [--kappa KAPPA]
[--xi XI] [--n-jobs N_JOBS]
optional arguments:
-h, --help show this help message and exit
--problem PROBLEM Module path to the Problem instance you want to use
for the search.
--backend BACKEND Keras backend module name
--max-evals MAX_EVALS
maximum number of evaluations
--eval-timeout-minutes EVAL_TIMEOUT_MINUTES
Kill evals that take longer than this
--ray-address RAY_ADDRESS
This parameter is mandatory when using evaluator==ray.
It reference the "IP:PORT" redis address for the RAY-
driver to connect on the RAY-head.
--ray-password RAY_PASSWORD
--num-cpus-per-task NUM_CPUS_PER_TASK
--num-gpus-per-task NUM_GPUS_PER_TASK
--seed SEED Random seed used.
--cache-key {uuid,to_dict}
Cache policy.
--num-ranks-per-node NUM_RANKS_PER_NODE
Number of ranks per nodes for each evaluation. Only
valid if evaluator==balsam and balsam job-mode is
'mpi'.
--num-evals-per-node NUM_EVALS_PER_NODE
Number of evaluations performed on each node. Only
valid if evaluator==balsam and balsam job-mode is
'serial'.
--num-nodes-per-eval NUM_NODES_PER_EVAL
Number of nodes used for each evaluation. This
Parameter is usefull when using data-parallelism or
model-parallism with evaluator==balsam and balsam job-
mode is 'mpi'.
--num-threads-per-rank NUM_THREADS_PER_RANK
Number of threads per MPI rank. Only valid if
evaluator==balsam and balsam job-mode is 'mpi'.
--num-threads-per-node NUM_THREADS_PER_NODE
Number of threads per node. Only valid if
evaluator==balsam and balsam job-mode is 'mpi'.
--num-workers NUM_WORKERS
Number of parallel workers for the search. By default,
it is being automatically computed depending on the
chosen evaluator. If fixed then the default number of
workers is override by this value.
--log-dir LOG_DIR Path of the directory where to store information about
the run.
--run RUN Defaults to 'deephyper.nas.run.alpha.run'.
--evaluator EVALUATOR
Defaults to 'ray'.
--surrogate-model {RF,ET,GBRT,DUMMY,GP}
Type of surrogate model (learner).
--liar-strategy {cl_min,cl_mean,cl_max}
Constant liar strategy
--acq-func {LCB,EI,PI,gp_hedge}
Acquisition function type
--kappa KAPPA Controls how much of the variance in the predicted
values should be taken into account. If set to be very
high, then we are favouring exploration over
exploitation and vice versa. Used when the acquisition
is "LCB".
--xi XI Controls how much improvement one wants over the
previous best values. If set to be very high, then we
are favouring exploration over exploitation and vice
versa. Used when the acquisition is "EI", "PI".
--n-jobs N_JOBS number of cores to use for the 'surrogate model'
(learner), if n_jobs=-1 then it will use all cores
available.
from deephyper.
Hi @Deathn0t
Thanks. Please don't be sorry. You are helping people and that's more than enough.
I am using the latest version 0.2.4
from deephyper.
Related Issues (20)
- TypeError in GaussianProcessRegressor.fit() during CBO search HOT 4
- [FEATURE] Add option to minimise run-time to profile decorator
- [FEATURE] Handling of failures for MOO HOT 1
- [FEATURE] Checkpoint/Restart with fit_surrogate for MOO
- [FEATURE] add "pareto_efficient" boolean to result data frame of search HOT 1
- [FAQ] Direct Saving of Model with Best Weights and Biases HOT 2
- [DOC] RedisJSON Spack installation HOT 2
- [BUG] Multi-Objective Optimization - 101 - Error when loading the benchmark HOT 1
- [FEATURE] profile decorator should measure memory consumption HOT 1
- [OPT] Vectorise multi-objective scalarization functions
- [FEATURE] NAS search should collect metadata of trained neural networks
- [BUG] mpicomm KeyError:0 bug on ALCF Polaris after slingshot upgrade HOT 2
- [FEATURE] Parallel Coordinates Plots for Hyperparameter optimization results
- [BUG] UnboundLocalError: local variable 'max_features' referenced before assignment
- [DOC] Grid search with CBO HOT 2
- [Bug] Deprecated max_features="auto" in RandomForestRegressor causes UnboundLocalError in sklearn versions >=1.3 HOT 1
- [BUG] CBO fails when Multi-Objective Optimization uses constant liar HOT 1
- [BUG] NAS fails with Keras 3.0 HOT 1
- [BUG] why is cython a dependency? HOT 3
- [FAQ] How do I use DeepHyper with a job that requires Python multiprocessing? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deephyper.