# What is the most ideal predictor for predicting binary vectors?

**URL:** <https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260>\
**Category:** Machine Learning\
**Tags:** question\
**Created:** [December 1, 2025, 3:56pm UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260 "2025-12-01T15:56:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [December 1, 2025, 3:56pm UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/1 "2025-12-01T15:56:00Z")

</div>

I want to predict a vector whose elements are binary. What is the most promising machine learning model for doing this at present? Is there a corresponding Julia package?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 1, 2025, 8:45pm UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/2 "2025-12-01T20:45:38Z")

</div>

That’s a pretty broad question - see [List of Supported Models · MLJ](https://juliaai.github.io/MLJ.jl/stable/list_of_supported_models/) and read a bit about the classifier models to see if any might be particularly suited, or if you don’t want to spend any time just use Xgboost Classifier and a logistic regression via GLM.jl

---

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [December 2, 2025, 3:06am UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/3 "2025-12-02T03:06:46Z")

</div>

Thank you, @nilshg !

What is the relationship between Julia’s different machine learning packages? (For example, `MLJ.jl`, `Flux.jl`, …) Is there a kind of overall introduction like an overview chart?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 2, 2025, 9:31am UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/4 "2025-12-02T09:31:34Z")

</div>

Not as far as I’m aware. MLJ is a framework which unifies access to lots of different models and provides convenience functions for tuning, stacking etc., so in that sense it sits on top of a number of ML packages which implements a specific methodology/estimator.

---

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [December 2, 2025, 10:03am UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/5 "2025-12-02T10:03:56Z")

</div>

Thank you very much, @nilshg ! Now I have general cognition of where MLJ.jl is located.

---

<div class="post-metadata">

**Author:** ![langestefan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/langestefan/32/207923_2.png) [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Post date:** [December 2, 2025, 2:30pm UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/6 "2025-12-02T14:30:29Z")

</div>

If you want to explore probabilistic methods as well, I recommend RxInfer.jl and Turing.jl. You could start with simple categorical models and build out more complex models from there.

---

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [December 2, 2025, 3:13pm UTC](https://discourse.julialang.org/t/what-is-the-most-ideal-predictor-for-predicting-binary-vectors/134260/7 "2025-12-02T15:13:59Z")

</div>

Thank you @langestefan I’ll have a try if possible. 🤝
