mlr3proba | Probabilistic Supervised Learning for mlr3 | Machine Learning library

 by   mlr-org R Version: v0.4.13 License: LGPL-3.0

kandi X-RAY | mlr3proba Summary

kandi X-RAY | mlr3proba Summary

mlr3proba is a R library typically used in Artificial Intelligence, Machine Learning, Deep Learning, Pytorch applications. mlr3proba has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

The current mlr3proba release focuses on survival analysis, and contains:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mlr3proba has a low active ecosystem.
              It has 85 star(s) with 14 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 32 open issues and 139 have been closed. On average issues are closed in 106 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mlr3proba is v0.4.13

            kandi-Quality Quality

              mlr3proba has 0 bugs and 0 code smells.

            kandi-Security Security

              mlr3proba has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mlr3proba code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mlr3proba is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              mlr3proba releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mlr3proba
            Get all kandi verified functions for this library.

            mlr3proba Key Features

            No Key Features are available at this moment for mlr3proba.

            mlr3proba Examples and Code Snippets

            mlr3proba,Citing mlr3proba
            Rdot img1Lines of Code : 9dot img1License : Weak Copyleft (LGPL-3.0)
            copy iconCopy
            @Article{,
              title = {mlr3proba: An R Package for Machine Learning in Survival Analysis},
              author = {Raphael Sonabend and Franz J Király and Andreas Bender and Bernd Bischl and Michel Lang},
              journal = {Bioinformatics},
              month = {02},
              year = {20  
            mlr3proba,Installation
            Rdot img2Lines of Code : 2dot img2License : Weak Copyleft (LGPL-3.0)
            copy iconCopy
            install.packages("mlr3proba")
            
            remotes::install_github("mlr-org/mlr3proba")
              

            Community Discussions

            QUESTION

            mlr3 AutoFSelector glmnet: Error in (if(cv)glmnet::cv.glmnet else glmnet::glmnet)(x = data, y = target, :# x should be a matrix with 2 or more columns
            Asked 2022-Jan-24 at 18:05

            I am a beginner on mlr3 and am facing problems while running AutoFSelector learner associated to glmnet on a classification task containing >2000 numeric variables. I reproduce this error while using the simpler mlr3 predefined task Sonar. For note, I am using R version 4.1.2 (2021-11-01)on macOS Monterey 12.1. All required packages have been loaded on CRAN.

            ...

            ANSWER

            Answered 2022-Jan-24 at 18:05

            This is a problem specific to glmnet. glmnet requires at least two features to fit a model, but in at least one configuration (the first ones in a sequential forward search) you only have one feature.

            There are two possibilities to solve this:

            1. Open an issue in mlr3fselect and request a new argument min_features (there already is max_features) to be able to start the search with 2 or more features.
            2. Augment the base learner with a fallback which gets fitted if the base learner fails. Here is fallback to a simple logistic regression:

            Source https://stackoverflow.com/questions/70835642

            QUESTION

            Unable to train dataset by mlr3proba after encoding and scaling it with mlr3pipeline
            Asked 2021-Apr-30 at 15:21

            when I run the code below for training a model in mlr3proba after encoding and scaling my dataset with mlr3pipeline:

            ...

            ANSWER

            Answered 2021-Apr-30 at 15:21

            You need to wrap the learner in the GraphLearner PipeOp:

            Source https://stackoverflow.com/questions/67318846

            QUESTION

            pipeops makes paramter not available for tuning in mlr3proba
            Asked 2021-Apr-28 at 20:59

            I am using mlr3proba package for machine learning survival analysis.
            My dataset contains factor, numeric and integer features.
            I used 'scale' and 'encode' pipeops to preprocess my dataset for deephit and deepsurv neural network methods as following codes:

            ...

            ANSWER

            Answered 2021-Apr-26 at 07:15

            Hi thanks for using mlr3proba! The reason for this is because the parameter names change when wrapped in the pipeline, you can see this in the example below. There are a few options to solve this, you could change the parameter ids to match the new names after wrapping in PipeOps (Option 1 below), or you could specify the tuning ranges for the learner first then wrap it in the PipeOp (Option 2 below), or you could use an AutoTuner and wrap this in the PipeOps. I use the final option in this tutorial.

            Source https://stackoverflow.com/questions/67257519

            QUESTION

            How to transform '2 levels ParamUty' class in nested cross-validation of mlr3proba?
            Asked 2021-Apr-19 at 04:08

            For survival analysis, I am using mlr3proba package of R.
            My dataset consists of 39 features(both continuous and factor, which i converted all to integer and numeric) and target (time & status).
            I want to tune hyperparameter: num_nodes, in Param_set.
            This is a ParamUty class parameter with default value: 32,32.
            so I decided to transform it.
            I wrote the code as follows for hyperparamters optimization of surv.deephit learner using 'nested cross-validation' (with 10 inner and 3 outer folds).

            ...

            ANSWER

            Answered 2021-Apr-17 at 08:46

            Hi thanks for using mlr3proba. I have actually just finished writing a tutorial that answers exactly this question! It covers training, tuning, and evaluating the neural networks in mlr3proba. For your specific question, the relevant part of the tutorial is this:

            Source https://stackoverflow.com/questions/67132598

            QUESTION

            Element with key 'surv.xgboost' not found in DictionaryLearner
            Asked 2020-Sep-11 at 07:49

            I am using R version 3.6.3, mlr3 version 0.3.0 and mlr3proba version 0.1.6 (the latest development versions I could find) and xgboost version 0.90.0.2 → I am trying to use the command: lrn("surv.xgboost") but I receive the error message:

            ...

            ANSWER

            Answered 2020-Jul-16 at 10:58

            Thanks for your interest in mlr3proba :) The xgboost learner is currently in limbo between mlr3proba and mlr3learners, as of tomorrow you can simply run

            Source https://stackoverflow.com/questions/62932576

            QUESTION

            mlr3 distrcompose cdf: subscript out of bounds
            Asked 2020-Jul-30 at 12:04

            R version used: 3.6.3, mlr3 version: 0.4.0-9000, mlr3proba version: 0.1.6.9000, mlr3pipelines version: 0.1.2 and xgboost version: 0.90.0.2 (as stated on Rstudio package manager)

            I have deployed the following graph pipeline:

            ...

            ANSWER

            Answered 2020-Jul-29 at 08:51

            The problem lies in distr6 here, please install the latest versions of distr6 (1.4.2) and mlr3proba (0.2.0) from CRAN and then try again.

            Source https://stackoverflow.com/questions/63149750

            QUESTION

            mlr3proba surv.xgboost is not producing distr output + documentation link unstable
            Asked 2020-Jul-24 at 18:55
            R version  used: 3.6.3, mlr3 version: 0.4.0-9000, mlr3proba version: 0.1.6.9000 and xgboost version: 0.90.0.2 (as stated on Rstudio package manager)
            
            ...

            ANSWER

            Answered 2020-Jul-24 at 18:55

            Hi thanks for using mlr3proba! Good spot on the documentation problem, I will get that fixed asap. xgboost does not natively predict distr, this is a mistake in the documentation. You can check this with LearnerSurvXgboost$new()$predict_types. However it is easy to get a distribution prediction:

            Source https://stackoverflow.com/questions/63077894

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mlr3proba

            Install the last release from CRAN:.

            Support

            mlr3proba is a free and open source software project that encourages participation and feedback. If you have any issues, questions, suggestions or feedback, please do not hesitate to open an “issue” about it on the GitHub page!. In case of problems / bugs, it is often helpful if you provide a “minimum working example” that showcases the behaviour (but don’t worry about this if the bug is obvious).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link