search for: fcount

Displaying 3 results from an estimated 3 matches for "fcount".

Did you mean: count
2016 Jun 27
2
xapian-letor: FeatureVector discussion
...scussion. Presently, the FeatureVector class is defined as follows, with a fixed number of feature count (19): class FeatureVector::Internal : public Xapian::Internal::intrusive_base{ friend class FeatureVector; double label; double score; std::map<int,double> fvals; int fcount; Xapian::docid did; The two approaches that were discussed were: 1. Using enums as IDs for features in fvals. 2. Making fvals into a configurable vector of feature values. The issues were that the first way would still assume an order in which the features occur, and the second way would requ...
2007 May 30
0
Help me understand colours on linux
...ethods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" I have a function that is trying to draw rectangles using 136 different colours, and I get the following error: Error in rect(xstart, my.min, xstart + fcount[i, 2], my.max, col = fcolors[i], : Error: X11 cannot allocate additional graphics colours. Consider using X11 with colortype="pseudo.cube" or "gray". However, if I use "pseudo.cube" I don't get anywhere near enough distinct colours. I could use gray, bu...
2017 Nov 22
2
function pointers?
We have a project that calls for the creation of a list of many distribution objects. Distributions can be of various types, with various parameters, but we ran into some problems. I started testing on a simple list of rnorm-based objects. I was a little surprised at the RAM storage requirements, here's an example: N <- 10000 closureList <- vector("list", N) nsize = sample(x