saligrama / rcorels Goto Github PK
View Code? Open in Web Editor NEWR API for CORELS
R API for CORELS
R API for CORELS To install, cd into the rcorels directory and run # R CMD INSTALL . Alternately, assuming you have the devtools library installed, you can simply use the install_github() function to install this package, as follows: > library(devtools) > install_github("saligrama/rcorels") Within R, you can use the function train.corels() to train the CORELS model. The predict.corels() and print.corels() functions can be used to apply the resulting model to a set of test data, or print the model, respectively. Note that for macOS users, the Homebrew version of R does not work with the Rcpp library that this depends on. Please use R from the official website. Bundled data coming soon. NOTE: This package compiles on Windows, but will NOT run on that platform due to significant incompatibilities between our code and Microsoft/MinGW's lack of support for several standard library functions. Please do not try to run this on Windows, as it will crash R. Instead, using Windows Subsystem for Linux (WSL) is the recommended way to run CORELS on Windows.
Hi,
I successfully installed the corels R package. However, when running the example given in the documentation for train.corels, I get the following error:
...
create itemset ...
set transactions ...[27 item(s), 217 transaction(s)] done [0.00s].
sorting and recoding items ... [27 item(s)] done [0.00s].
creating bit matrix ... [27 row(s), 217 column(s)] done [0.00s].
writing ... [351 set(s)] done [0.00s].
Creating S4 object ... done [0.00s].
free(): invalid pointer
Aborted (core dumped)
And the R session is dropped. Information about my R session that may be useful:
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTSMatrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1Random number generation:
RNG: Mersenne-Twister
Normal: Inversion
Sample: Roundinglocale:
[1] LC_CTYPE=pt_PT.UTF-8 LC_NUMERIC=C
[3] LC_TIME=pt_PT.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=pt_PT.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=pt_PT.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_PT.UTF-8 LC_IDENTIFICATION=Cattached base packages:
[1] stats graphics grDevices utils datasets methods baseother attached packages:
[1] corels_0.3.0loaded via a namespace (and not attached):
[1] compiler_3.6.0 Rcpp_1.0.1
If there is something I can do about this, I'd like to know.
Thanks!
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.