# Couldn't use TransformedTargetModel() function in MLJ

**URL:** <https://discourse.julialang.org/t/couldnt-use-transformedtargetmodel-function-in-mlj/111347>\
**Category:** New to Julia\
**Tags:** question, package\
**Created:** [March 8, 2024, 11:26am UTC](https://discourse.julialang.org/t/couldnt-use-transformedtargetmodel-function-in-mlj/111347 "2024-03-08T11:26:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Realyyc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/realyyc/32/206582_2.png) [@Realyyc](https://discourse.julialang.org/u/Realyyc)\
**Post date:** [March 8, 2024, 11:26am UTC](https://discourse.julialang.org/t/couldnt-use-transformedtargetmodel-function-in-mlj/111347/1 "2024-03-08T11:26:10Z")

</div>

I’ve downloaded MLJ pkg, but :

```julia
using MLJ

TransformedTargetModel()

```

```julia
UndefVarError: `TransformedTargetModel` not defined

Stacktrace:
 [1] top-level scope
   @ In[22]:10

```

I don’t know if the function is actually not in this pkg, but I find the function in the introducion of MLJ  
([Target Transformations · MLJ](https://docs.juliahub.com/General/MLJ/0.20.3/target_transformations/#MLJBase.TransformedTargetModel))

julia 1.10.0  
win10  
VScode+Jupiter Notebook  
MLJ v0.16.7
