Skip to content
R wrapper for MLJAR API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Build Status codecov


A simple R wrapper for API. It allows MLJAR users to create Machine Learning models with few lines of code:


model <- mljar_fit(,, validx=x.validation, validy=y.validation,
                proj_title="Project title", exp_title="experiment title",
                algorithms = c("logreg"), metric = "logloss")

predicted_values <- mljar_predict(model,, "Project title")

That's all folks! Yeah, I know, this makes Machine Learning super easy! You can use this code for following Machine Learning tasks:

  • Binary classification (your target has only two unique values)
  • Regression (your target value is continuous)
  • More is coming soon!

How to install

You can install mljar directly from CRAN:


Alternatively, you can install the latest development version from GitHub using devtools:


How to use it

  1. Create an account at and login.
  2. Please go to your users settings (top, right corner).
  3. Get your token, for example 'exampleexampleexample'.
  4. Set environment variable MLJAR_TOKEN with your token value in shell:
export MLJAR_TOKEN=exampleexampleexample

or directly in RStudio:

  1. That's all, you are ready to use MLJAR in your R code!

What's going on?

  • This wrapper allows you to search through different Machine Learning algorithms and tune each of the algorithm.
  • By searching and tuning ML algorithm to your data you will get very accurate model.
  • By calling function mljar_fit you create new project and start experiment with models training. All your results will be accessible from your account - this makes Machine Learning super easy and keeps all your models and results in beautiful order. So, you will never miss anything.
  • All computations are done in MLJAR Cloud, they are executed in parallel. So after calling mljar_fit method you can switch your computer off and MLJAR will do the job for you!
  • I think this is really amazing! What do you think? Please let us know at




To run tests use simple command in your R session:

You can’t perform that action at this time.