Comments (3)
The reason seems to be the deep_clone()
of the ParamSetCollection
.
Marc and I debugged a similar thing in mlr3keras
there the culprit seemed to be a fail in cloning ParamSetCollections
.
A reproducible example might perhaps be resampling
any learner that has a ParamSetCollection
instead of a ParamSet
, I think the problem is deep cloning of .values
.
from paradox.
@pfistfl We might have violated the rules of ParamSetCollection
s?
#' A collection of multiple [ParamSet] objects.
#' * The collection is basically a light-weight wrapper / container around references to multiple sets.
#' * In order to ensure unique param names, every param in the collection is referred to with
#' "<set_id>.<param_id>". Parameters from ParamSets with empty (i.e. `""`) `$set_id` are referenced
#' directly. Multiple ParamSets with `$set_id` `""` can be combined, but their parameter names
#' must be unique.
#' * Operation `subset` is currently not allowed.
#' * Operation `add` currently only works when adding complete sets not single params.
#' * When you either ask for 'values' or set them, the operation is delegated to the individual,
#' contained param set references. The collection itself does not maintain a `values` state.
#' This also implies that if you directly change `values` in one of the referenced sets,
#' this change is reflected in the collection.
#' * Dependencies: It is possible to currently handle dependencies
#' * regarding parameters inside of the same set - in this case simply
#' add the dependency to the set, best before adding the set to the collection
#' * across sets, where a param from one set depends on the state
#' of a param from another set - in this case add call `add_dep` on the collection.
#'
#' If you call `deps` on the collection, you are returned a complete table of dependencies, from sets and across sets.
I should have added the dependency to the set before creating the graph learner.
from paradox.
I think in may case I do not have deps and the culprit seems to be the deep cloning
from paradox.
Related Issues (20)
- How to define gamma.mu for surv.svm in paradox? HOT 1
- .has_extra_trafo when trafo = NULL HOT 1
- How to assign specific value on unmet dependency? HOT 1
- Other parameters besides Uty should have repr
- Add method set_defaults
- Initial values vs defaults HOT 3
- remaining sugar functions
- moving irace parameters implementation to Paradox HOT 5
- Constructing list of `to_tune` objects from `ParamSet` [Question] HOT 2
- ParamSetCollection: trafo
- sugar function for ParamSetCollection
- Autocompletion HOT 1
- Feature request: ps_from_df
- paradox check breaks with to_tune over large param set
- Add "Complex-Default" option to available default values HOT 2
- ParamUty's default custom_check function should be crated
- remove sourcerefs of function values and custom_check
- formatting of `NoDefault` in data.table
- CRAN releases
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 paradox.