search for: agaricus

Displaying 6 results from an estimated 6 matches for "agaricus".

2017 Oct 20
3
What exactly is an dgCMatrix-class. There are so many attributes.
Dear R list, I came across dgCMatrix. I believe this class is associated with sparse matrix. I see there are 8 attributes to train$data, I am confused why are there so many, some are vectors, what do they do? Here's the R code: library(xgboost) data(agaricus.train, package='xgboost') data(agaricus.test, package='xgboost') train <- agaricus.train test <- agaricus.test attributes(train$data) Where is the data, is it in $p, $i, or $x? Thank you very much! [[alternative HTML version deleted]]
2017 Oct 20
4
What exactly is an dgCMatrix-class. There are so many attributes.
...oes appears > to be magical to one such as I. > > > > > I see there are 8 attributes to train$data, I am confused why are there > so > > many, some are vectors, what do they do? > > > > Here's the R code: > > > > library(xgboost) > > data(agaricus.train, package='xgboost') > > data(agaricus.test, package='xgboost') > > train <- agaricus.train > > test <- agaricus.test > > attributes(train$data) > > > > I got a bit of an annoying surprise when I did something similar. It > appearred...
2017 Oct 20
0
What exactly is an dgCMatrix-class. There are so many attributes.
...anything I write. Much of what the Matrix package does appears to be magical to one such as I. > > I see there are 8 attributes to train$data, I am confused why are there so > many, some are vectors, what do they do? > > Here's the R code: > > library(xgboost) > data(agaricus.train, package='xgboost') > data(agaricus.test, package='xgboost') > train <- agaricus.train > test <- agaricus.test > attributes(train$data) > I got a bit of an annoying surprise when I did something similar. It appearred to me that I did not need to load the...
2017 Oct 20
0
What exactly is an dgCMatrix-class. There are so many attributes.
...ch as I. >> >> > >> > I see there are 8 attributes to train$data, I am confused why are there >> so >> > many, some are vectors, what do they do? >> > >> > Here's the R code: >> > >> > library(xgboost) >> > data(agaricus.train, package='xgboost') >> > data(agaricus.test, package='xgboost') >> > train <- agaricus.train >> > test <- agaricus.test >> > attributes(train$data) >> > >> >> I got a bit of an annoying surprise when I did somethin...
2017 Oct 21
0
What exactly is an dgCMatrix-class. There are so many attributes.
...>> > I see there are 8 attributes to train$data, I am confused why are there >> so >> > many, some are vectors, what do they do? >> > >> > Here's the R code: >> > >> > library(xgboost) >> > data(agaricus.train, package='xgboost') >> > data(agaricus.test, package='xgboost') >> > train <- agaricus.train >> > test <- agaricus.test >> > attributes(train$data) >> > >> >> I got a bit of an annoying...
2017 Oct 21
1
What exactly is an dgCMatrix-class. There are so many attributes.
...gt; >>>> I see there are 8 attributes to train$data, I am confused why are there >>> so >>>> many, some are vectors, what do they do? >>>> >>>> Here's the R code: >>>> >>>> library(xgboost) >>>> data(agaricus.train, package='xgboost') >>>> data(agaricus.test, package='xgboost') >>>> train <- agaricus.train >>>> test <- agaricus.test >>>> attributes(train$data) >>>> >>> >>> I got a bit of an annoying sur...