tzuliu / ooc Goto Github PK
View Code? Open in Web Editor NEWThis is a repository for the project of "Ordered Optimal Classification"
License: MIT License
This is a repository for the project of "Ordered Optimal Classification"
License: MIT License
Is it possible to plot cutting planes for each response category in a corresponding item? I would like to plot something like figure 2 from the paper.
I know how to plot cutting planes using the original OC package, but I think I don´t have all I need to plot all cutting planes for a given item.
Thanks in advance!
Installing 'ooc' as instructed yields the following error:
devtools::install_github('tzuliu/ooc')
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘ellipsis’ 0.3.0 is already loaded, but >= 0.3.1 is required
I then update 'ellipsis' to version 0.3.1. Then I try to load it, resulting in the following error:
library('ellipsis')
Error in value[3L] :
Package ‘ellipsis’ version 0.3.0 cannot be unloaded:
Error in unloadNamespace(package) : namespace ‘ellipsis’ is imported by ‘tibble’ so cannot be unloaded
In addition: Warning message:
package ‘ellipsis’ was built under R version 3.6.2
I am updating my post. The error below occurs when fitting a one-dimensional model in which one or more votes are dropped. Otherwise, it does not occur. Thanks!
Error in if (onedim.classification.errors[i, j] == 1) correct.class.binary[i, :
missing value where TRUE/FALSE needed
Installing 'ooc' as instructed yields the following error:
devtools::install_github('tzuliu/ooc')
Downloading GitHub repo tzuliu/ooc@HEAD
Skipping 1 packages not available: aspace
√ checking for file 'C:\Users\rodri\AppData\Local\Temp\RtmpAj6M69\remotes4a807872bc7\tzuliu-ooc-c9650bc/DESCRIPTION' (611ms)
- preparing 'ooc':
√ checking DESCRIPTION meta-information ...
- cleaning src
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- building 'ooc_0.1.tar.gz'
Installing package into ‘C:/Users/rodri/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
ERROR: dependency 'aspace' is not available for package 'ooc'
* removing 'C:/Users/rodri/Documents/R/win-library/4.0/ooc'
Erro: Failed to install 'ooc' from GitHub:
(convertido do aviso) installation of package ‘C:/Users/rodri/AppData/Local/Temp/RtmpAj6M69/file4a802dd97045/ooc_0.1.tar.gz’ had non-zero exit status`
I see that "aspace" was not installed because this package was removed from CRAN. When I try to install from the archive, the following error occurs:
devtools::install_version("aspace", version = "3.2",
+ repos = "http://cran.us.r-project.org")
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/aspace/aspace_3.2.tar.gz
Installing package into ‘C:/Users/rodri/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'aspace' ...
** package 'aspace' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Erro: (convertido do aviso) package 'Hmisc' was built under R version 4.0.5
Execução interrompida
ERROR: lazy loading failed for package 'aspace'
* removing 'C:/Users/rodri/Documents/R/win-library/4.0/aspace'
Erro: Failed to install 'unknown package' from URL:
(convertido do aviso) installation of package ‘C:/Users/rodri/AppData/Local/Temp/RtmpAj6M69/remotes4a8023bf4ca7/aspace’ had non-zero exit status
Any idea about how I can solve this problem?
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.