Displaying 20 results from an estimated 30000 matches similar to: "ajaxful rating question"
2010 Oct 04
4
http caching a dynamic page
Is it possible to take advantage of http caching/proxy caching with
dynamic pages? i.e. pages with section/part that can change over time
but certain part of the page remain the same. I would rather not keep
re-rendering the static part but insure the dynamic part are rendered
with fresh data.
I am using memcached mostly as an object store that I can minimize db
hits but I still am rendering a
2006 Apr 17
0
IE help for Rating system
Hello everyone,
I''ve taken this rating system
(http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/)
and paired it with Prototype (http://prototype.conio.net) so that it
reports the ratings via Ajax.
I have a working version here (ajax is disabled though):
http://kold.homelinux.com/rating_new/rating.html
Problem is, the green stars don''t
2006 Nov 15
3
Star rating system - IE display problems
Has anyone out there implemented a star rating system as described by
Dave Naffis?
http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system
He really has an excellent HOWTO to set this up. Unfortunately I see
problems in IE. The overlayed, filled-in rating stars are not
overlaying over top of the blank stars. The overlay is starting about
2.5 stars right of where it should.
2002 May 13
1
Spatio-temporal analysis of homicide rates
Dear R-listers,
I would like to carry out a very basic descriptive analysis of homicides
rates in Italy, taking into account both the spatial dimension (103
provinces) and the temporal dimension (10 years), but no covariates. In
practice, what I would like to do is to describe spatio-temporal variation
of homicide rates, identifying those combinations of province-year where
the homicide rate
2005 Jul 11
1
Rating application for Asterisk
Does anyone knows a working FOSS rating application for Asterisk? I
tried CDRTool, but since it's free for non commercial use, it won't
suit me. Also I gave a shot at Trabas (the one everybody says it
sucks), but I couldn't understand how does it pull records from
Asterisk's CDR table.
The rate-engine addon
(http://www.voip-info.org/tiki-index.php?page=Asterisk+addon+rate-engine)
2006 Jan 09
2
Rating/Survey Plugin
I would like include the ability for people to rate posts on my site
from 1 to 5. I would like to then display the average rating for each
post. To compute the average each time is obviously database and cpu
intensive. I have been thinking about the best solution. I could
certainly use a cache and expire it every x minutes. However, I don''t
want to reinvent the wheel. Is there
2009 May 12
0
How do I extract the scoring equations for neural networks and support vector machines?
Sorry for these multiple postings.
I solved the problem using na.omit() to drop records with missing values
for the time being. I will worry about imputation, etc. later.
I calculated the sum of squared errors for 3 models, linear regression,
neural networks, and support vector machines. This is the first run.
Without doing any parameter tuning on the SVM or playing around with the
number of
2010 Aug 24
0
Using kfilter in package sspir - dimensions do not agree
I'm currently running into a little trouble with the kfilter method,
and would love some clarification if you are able to offer it. When
trying to run kfilter, I've been running into errors that seem to
result from having mismatched dimensions. Specifically, the dimension
of my observations is 2, while the dimension of the state space is 4.
In the filterstep function (file sspir_kfs.R),
2009 Apr 21
1
n-dimensional vector operations
Let's start with a concrete case of n=3 dimensions.
Along dimension x, I have a matrix of 5 vectors (each with ten rows)
Along dimension y, I have a matrix of 3 vectors (each with ten rows)
Along dimension z, I have a matrix of 2 vectors (each with ten rows)
I am trying to write a:
function(..., funcp) { }
where funcp(...) is an operator which works on n vectors and returns a
numeric.
2010 May 24
5
top 10/most popular lists
What''s the best way to handle views that show the top 10/most popular/
Recently updated/most commented type listing?
Should I have a separate model that is populated with records from
other models by a background job or should I need to use some sort of
caching? Perhaps both?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Oct 19
2
arraytake for extracting subarrays from multidimensional arrays
Hi,
I recently encountered a problem with array subsetting and came up with a
fix. Given an array of arbitrary dimensions, in which the number of
dimensions is only known at runtime, I wanted to extract a subarray. The
main issue with doing this is that in order to extract a subarray from an
array of (say) 4 dimensions you usually specify something like this
a.subarray <- a[,c(4,2),1:5,]
2006 Jul 27
2
Vector extracted from a matrix. How can I specify dimensions in as.matrix?
Transpose vector extracted from a matrix
Hello,
I am doing a recursive analysis that uses every line (vector) of a matrix in
a loop. In the model, I need to transpose those vectors that are extracted
from a matrix.
Using simple vectors (no matrix involved) the transpose function works fine:
simplevector <-matrix(1:3,3,1)
tsimplevector <-t(simplevector) #transposed
dim(simplevector)
2010 Aug 11
2
Sweeping a zoo series
Given a long zoo matrix, the goal is to "sweep" out a statistic from the
entire length of the
sequences.
longzoomatrix<-zoo(matrix(rnorm(720),ncol=6),as.yearmon(outer(1900,seq(0,length=120)/12,"+")))
cnames<-c(12345,23456,34567,45678,56789,67890)
colnames(longzoomatrix)<-cnames
longzoomatrix[1:24,]
12345 23456 34567 45678
2017 Jul 14
3
Making 2 dimensional vector from the 3 dimensional one
Hi All,
I want to make a 1 dimension vector from the first two dimensions of a 3 dimension array, so make a 2 dimension vector from a 3-dimension one, with "fusing" (making as.vector) the first two dimensions.
It seems to be very easy, but I cannot find the solution, I mean it would very strange, that I would do taking the single 1 dimensional vectors from the 3 dimensional one, make one
2007 Apr 27
1
Inflate/Expand/Resize an array
Gudday,
I've had a good look everywhere trying to figure out how to do this, but
I'm afraid I can seem to find an answer anywhere - maybe its because I'm
not using the right terms, or maybe its because I'm a dummy. But
unfortunately, I am not completely and utterly stuck. Here's the
problem:
I have two large, six dimensional arrays that I would like to add
together. Lets call
2012 Sep 12
0
[LLVMdev] Multi-dimensional array accesses in LLVM-IR | Thoughts
On Wed, 12 Sep 2012 14:18:43 +0200
Armin Größlinger <armin.groesslinger at uni-passau.de> wrote:
> Hi,
>
> I had a few thoughts about recovering multi-dimensional accesses in
> Polly and maybe it's time to share them.
>
> On 09/12/2012 10:38 AM, Tobias Grosser wrote:
> > [...] Even in the last example which contains parameters both for
> > the sizes and
2011 Sep 20
1
Boxplots from 4 dimensional array
Hello list members,
I am working with simulated data for landscape pattern analysis. I have
1000 replicates of binary (2 colour) gridded landscapes at each combination
of 9 levels of class proportion and 11 levels of spatial autocorrelation.
The results are stored in an array as follows:
> dim(surfaces)
[1] 38 9 11 1000
The dimensions are defined as follows:
[x,,,] 1:38, integers
2003 Sep 25
1
apply on a 4D array
I am trying to multiply a 3D array of 4x4x4 by the 4 3D arrays of a 4D array
with dimensions 4x4x4x4 (the last dimension being the one that I want to
split by).
(4x4x4 array)
> hiaAry
, , a1
i1 i2 i3 i4
h1 9.5936098 6.001040 0.08772 0.3138600
h2 1.2003500 1.454570 2.79248 0.0000000
h3 0.1346500 0.201220 0.39256 0.5464000
h4 0.0109000 0.012270 0.16417 0.2766900
,
2010 Apr 18
3
xtabs() of proportions, and naming a dimension (not a row)
Hi,
xtabs() creates a table of counts. I want a table of proportions -- that
is, I want to divide every vector (along a particular dimension) by its sum.
The tiny example below does that. The call to xtabs() creates a matrix "A"
with dimensions ("x1","x2","y"). I transform "A" using aperm() and aaply()
to get the matrix "B". The
2010 Dec 13
1
Qs re writing/reading arrays, dataframes
Hi! I'm just getting started with R (and with the analysis of large
datasets in general). I have several beginner-level questions whose
answers I have not been able to find, and was hoping one of you would
be kind enough to throw me a cluebrick or two.
I have a 6-dimensional numeric array (which I'll call myarray) that is
"fully named". By this I mean that non-NULL dimnames