You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Features could allow arg/distribution combination based on a different variety of distributions and constructions.
Idea
Introduce a FeatureArgType type so build_features can create more flexible types with a build_args function dispatching over ::FeatureArgType
E.g. informally building the the classic scalar feature would involve:
abstract type FeatureArgType
Affine <:FeatureArgTypefunctionbuild_args(
samp::sampler,
feature_parameters::Dict,
inputs::Array,
::Affine,
)
xi =get_distribution(samp)["xi"]
uniform =get_distribution(samp)["uniform"]
return inputs*xi + uniform
end
Features could allow arg/distribution combination based on a different variety of distributions and constructions.
Idea
Introduce a
FeatureArgType
type sobuild_features
can create more flexible types with abuild_args
function dispatching over::FeatureArgType
E.g. informally building the the classic scalar feature would involve:
replacing the hardcoded
RandomFeatures.jl/src/Features.jl
Lines 148 to 156 in 2d864cc
The text was updated successfully, but these errors were encountered: