Coder Social home page Coder Social logo

Comments (1)

laresbernardo avatar laresbernardo commented on August 28, 2024

Hey @malaaam Glad you are using my library!

Please, can you tell me why do you want MAPE specifically, additionally or instead the other metrics shown in the plot? I'm curious...

On the other hand, if you need to get the metric (MAPE), you can access it with lares::mape(real_values, predicted_values) or with the pre-calculated results$metrics data frame that returns the lares::h2o_automl function (I guess it's what you are using).

Additionally, if you wish to plot the results with that metric shown, you can check the mplot_lineal function and simply copy/paste it as a new local function, changing the metrics you wish to plot in the inner labels object.

On my side, I guess I could let the user select which metrics are shown in the plot by adding a new parameter to the function... something like metrics=c("RMSE","MAPE","R2")

Hope that works out for you ;)

from lares.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.