Coder Social home page Coder Social logo

automlr's People

Contributors

berndbischl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

automlr's Issues

Installation fails

Trying to install this per the instructions in the README and it fails. Help troubleshooting?

Running RStudio Server on CentOS. I followed the instructions to run devtools::install_github("mb706/mlr", ref = "mb706_CPO") before starting.

Looks like it's breaking when it's trying to access mlrLearners.R, which I don't see in the R subdirectory. Here's my log:

> devtools::install_github("mlr-org/automlr")
Downloading GitHub repo mlr-org/automlr@master
from URL https://api.github.com/repos/mlr-org/automlr/zipball/master
Installing automlr
'/usr/lib64/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  '/tmp/RtmpaJKfvi/devtools7ea11b07fc6/mlr-org-automlr-8e74e08'  \
  --library='/home/mydir/R/x86_64-redhat-linux-gnu-library/3.4' --install-tests 

* installing *source* package ‘automlr’ ...
./configure: line 13: ./searchspaceconvert.py: Permission denied

R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(checkmate)
> library(roxygen2)
> roxygenise()
First time using roxygen2. Upgrading automatically...
Loading required package: mlr
Loading required package: ParamHelpers
Loading required package: BBmisc
Loading required package: parallelMap
Error in readLines(con, warn = FALSE, n = n, ok = ok, skipNul = skipNul) : 
  cannot open the connection
Calls: roxygenise ... lapply -> FUN -> parse -> read_lines_enc -> readLines
In addition: Warning messages:
1: In normalizePath(file.path(path, "R", collate)) :
  path[8]="/tmp/RtmpaJKfvi/devtools7ea11b07fc6/mlr-org-automlr-8e74e08/R/mlrLearners.R": No such file or directory
2: In normalizePath(rfiles, winslash = "/") :
  path[8]="/tmp/RtmpaJKfvi/devtools7ea11b07fc6/mlr-org-automlr-8e74e08/R/mlrLearners.R": No such file or directory
3: In readLines(con, warn = FALSE, n = n, ok = ok, skipNul = skipNul) :
  cannot open file '/tmp/RtmpaJKfvi/devtools7ea11b07fc6/mlr-org-automlr-8e74e08/R/mlrLearners.R': No such file or directory
Execution halted
ERROR: configuration failed for package ‘automlr’
* removing ‘/home/mydir/R/x86_64-redhat-linux-gnu-library/3.4/automlr’
Installation failed: Command failed (1)

Installation fails with current MLR version

As described in the installation section, the installation of automlr is currently only possible by using the adapted MLR version that contains a specific CPO extension. However, this version of MLR is not up-to-date and the pull request mentioned in the installation section is already merged into MLR. Therefore, I was trying to install automlr with the current MLR version(2.12.1). This fails with the following error message:

roxygenise()
First time using roxygen2. Upgrading automatically...
Updating roxygen version in /tmp/RtmpYSmN2Q/devtoolsf733f14c882/mlr-org-automlr-8e74e08/DESCRIPTION
Writing NAMESPACE
Loading automlr
Loading required package: mlr
Loading required package: ParamHelpers
Error in makeCPO("cfimputer", .datasplit = "factor", .properties.adding = "missings", (from CPO.R#24) :
could not find function "makeCPO"

It suspect that the makeCPO method was removed again from MLR and moved to mlrCPO. Therefore, I installed mlrCPO and added it as a dependency to a local clone of the automlr repo. Unfortunately, the installations fails again, giving me the following error:

roxygenise()
First time using roxygen2. Upgrading automatically...
Updating roxygen version in /tmp/RtmpYSmN2Q/filef735918e0f6/automlr/DESCRIPTION
Writing NAMESPACE
Loading automlr
Loading required package: mlr
Loading required package: ParamHelpers
Loading required package: mlrCPO
Error in makeCPO("cfimputer", .datasplit = "factor", .properties.adding = "missings", (from CPO.R#24) :
unused arguments (.datasplit = "factor", .properties.adding = "missings", .stateless = TRUE, cpo.trafo = {
for (n in names(data)) {
data[[n]] = factor(data[[n]], levels = c("MISSING", levels(data[[n]])))
data[[n]][is.na(data[[n]])] = "MISSING"
}
data
})

It seems that the CPO calls used in master/R/CPO.R are outdated. It there any chance to get automlr running with the current MLR release or would this require a lot of work on automlr to get this up-to-date?

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.