# Save Random Forest Model for Use in Android Application

**URL:** <https://discourse.julialang.org/t/save-random-forest-model-for-use-in-android-application/32400>\
**Category:** Machine Learning\
**Tags:** android\
**Created:** [December 17, 2019, 7:31pm UTC](https://discourse.julialang.org/t/save-random-forest-model-for-use-in-android-application/32400 "2019-12-17T19:31:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casstrong](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@casstrong](https://discourse.julialang.org/u/casstrong)\
**Post date:** [December 17, 2019, 7:31pm UTC](https://discourse.julialang.org/t/save-random-forest-model-for-use-in-android-application/32400/1 "2019-12-17T19:31:19Z")

</div>

I would like to train a random forest classifier (using DecisionTree.jl) and then export it for use in an Android application that I’m developing. I’ve seen ways to save the model as a .jld or a .jld2 file; however, I haven’t been able to find a way to import these files into Android to use for inference in a real-time setting. Is there any way to directly use a model trained in Julia in an Android app?

Thanks for the help!
