Skip to content

Commit

Permalink
remove target as alias for tranformer to close #856
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Sep 22, 2023
1 parent fa955a5 commit 1678e5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/composition/models/transformed_target_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ tmodel2 = TransformedTargetModel(model, transformer=y->log.(y), inverse=z->exp.(
function TransformedTargetModel(
args...;
model=nothing,
target=nothing, # to be deprecated
transformer=target, # then this should be `nothing`
transformer=nothing,
inverse=nothing,
cache=true,
)
Expand Down

0 comments on commit 1678e5c

Please sign in to comment.