Displaying 20 results from an estimated 45 matches for "caculation".
Did you mean:
calculation
2013 Sep 02
2
Backend for Lucene format indexes-How to get doclength
On Mon, Sep 02, 2013 at 09:21:48AM +0800, jiangwen jiang wrote:
> TfIdfWeight and BM25(b=0) also need wdf_upper_bound, it is not exists in
> Lucene backends.
If you don't provide an implementation of wdf_upper_bound(), the default
is to use the collection frequency of the term, so provided that
information is available in the lucene files, the lack of
wdf_upper_bound information
2004 Jul 30
0
Help:how many bandwidth are borrowed in HTB?How to caculate!
Hi,All
I use HTB to control traffic.Here is my script:
/usr/sbin/tc qdisc del dev nas0 root
/usr/sbin/tc qdisc add dev nas0 root handle 1:0 htb default 60
/usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 htb ceil 896kbit rate 896kbit prio 0 burst 60k
/usr/sbin/tc class add dev nas0 parent 1:1 classid 1:10 htb ceil 896kbit rate 537kbit prio 1 burst 60k
/usr/sbin/tc class add dev
2010 Jan 02
4
caculate the frequencies of the Amino Acids
may some one please help me to sort this out, i am trying to writ a R code
for calculating the frequencies of the amino acids in 9 different sequences,
i want the code to read the sequence from external text file, i used the
following code to do so:
x<-read.table("sequence.txt",header=FALSE)
then i defined an array for 20 amino acids as following:
2005 Jul 28
12
Can you caculate with me?
before I accuse somebody to "overbill" I would like you to calculate
with me:
Rate: 0.0189 for calling Taiwan via NuFone
Duration: 930 seconds
Lets vote for the answers: 0.7269 or 0.2929 ???
bye
Ronald Wiplinger
2009 Aug 04
2
Caculate first difference from a dataframe; write a simulation
Dear R Users
I'm writing my first simulation in R.
I've put across my problems with a smaller example in the attachment along
with the questions.
Please help.
Best regards
Meenu
-------------- next part --------------
mydat<-read.table(textConnection("Level spread change State
4.57 1.6 BlF NA
4.45 2.04 BrS NA
3.07 2.49 BlS NA
3.26 -0.26 BlF NA
2.80 0.22 BrF NA
3.22 2.5 BrS NA
2005 Feb 15
2
how many 7th of the month is there between two dates
This is a eaeir way to ask my prior question:
I want to caculate how many an exact day of the month there is between
two dates.
For example; How many 7th of the month is there between "1998/12/17"
and "2000/1/7". To make the problem simple, the day of the month (7)
is the day in the 2nd date.
2012 Apr 06
2
Sincere inquiry about “subscript out of bounds” error in R
Hello£¬experts
I am working on a simulation of effect of artificial selection on certain population in Animal Breeding.I am new beginner in coding. I have already build a matrix A(500*500) based on this code
A<-matrix(,500,500)
for(i in 1:500){
for(j in 1:500){
ifelse(i==j,A[i,j]<-1,A[i,j]<-0)
}
}
and I need to caculate A2
base on A and X1(4500*4500).Here are the codes
2013 Jun 16
3
Backend for Lucene format indexes-How to get doclength
Hi, all:
I have wrote a demo patch for Backend for Lucene format indexes, Lucene
version is 3.6.2.
http://lucene.apache.org/core/3_6_2/fileformats.html
Now, this demo patch just support the basic features in Lucene. Compound
File(.cfs/.cfe)?term vector(.tvx/.tvd/.tvf)
delete document(.del) are not supported, skip list in .fdx is not supported
too
example/quest.cc is used to test this demo.
2010 Dec 08
1
the output of function lars
Hi here is the code as example
lars is in package lars
> x<-matrix(rnorm(20*5,0,1),20,5)
> bs<-matrix(sample(seq(1:10),5),5,1)
> er<-rnorm(20,0,1)
> y<-x%*%bs+er
> lobj<-lars(x,y,type="lasso")
> names(lobj)
[1] "call" "type" "df" "lambda" "R2"
[6] "RSS"
2010 Dec 29
1
Is ACL+extended attributes exclusive with mask/mode family options?
Hello list,
I've got a question from reading Using Samba 3rd, where it puts:
... the final permission is caculated by below filters in the order used by
Samba:
1. Apply any DOS attribute mapping options << I take this as
either map DOS attributes to execute bits, or store DOS attributes in
extended attributes. Correct?
2. Apply the create mask settings
3. Apply the force
2012 Aug 02
1
finding the MLEs of IG parameters by EM-Alorithm
Dear all
I'm trying to caculate the MLEs for parameters of Inverse Gaussian
distribution (in a k-sample problem with common mean) by using
EM-Algorithm. I found some package for EM-Algorithm that are useful
for missing or incomplete data and are not helpful for solving my
problem.
(Exactly, the problem is: Let Xij, i=1,..,k , j=1,...,ni, be a random
sample from IG(?,?i). So the
2017 Jul 07
1
How does findAssocs() calculate the correlation value ??
hi:
I want to know the math behind the "tm" package findAssocs().
I have found that someone had asked the question before, and have a good explanation by Rick.
?]http://r.789695.n4.nabble.com/findAssocs-td3845751.html?^
But I still don't understand how to calculate the correlation value between the two vectors.
For example:
# Correlation word2 with word3
2013 Aug 26
2
Backend for Lucene format indexes-How to get doclength
On Mon, Aug 26, 2013 at 09:41:07AM +0800, jiangwen jiang wrote:
> > For now, using weighting schemes which don't use document length is
> > probably the simplest answer.
>
> There's tf-idf weighting scheme on svn master, is it suitable for lucene
> backend?
Yes - TfIdfWeight doesn't ever use the document length (at least with
the normalisations currently
2010 Aug 18
1
ask for help about netcdf
...information from every zone of the world,I want to extract only a part of them to calcuate, like the information in a city or the information between exact latitute range and longtitude range, can r tool help me to do that or in some point r tool is a statitcal software which focus on mathmatical caculation and the user have to translate the special data files into some data structure like array or vector by himself, then the r tools use the array or vector to calculate? I am very looking forward to your reply
thanks very much
sincerely
mat chueng
[[alternative HTML version deleted]]
2011 Dec 13
2
Inverse matrix using eigendecomposition
General goal: Write R code to find the inverse matrix of an nxn positive
definite symmetric matrix. Use solve() to verify your code works.
Started with a 3x3 matrix example to build the code, but something dosen't
seem to be working. I just don't know where I am going wrong.
##Example matrix I found online
A<-c(4,1,-1,1,2,1,-1,1,2)
m<-matrix(A,nrow=3,ncol=3)
##Caculate the eigen
2009 Sep 09
1
R code for creating and appending to frequency table
...nd of the loop have tried various commands:
e.g.
fdt[l]<- c(table(fd))
fdt[l] <- fd c(table(fdt))
c(table(fdt[l]))<- fd
c(table(fdt[l]))<- c(table(fd))
and some other commands using append and assign.
None of these produces what I am looking for and some mess up the rest of my
caculations. When I tried the second of these I get the warning Warning:
number of items to replace is not a multiple of replacement length.
Any help would be much appreciated.
--
View this message in context: http://www.nabble.com/R-code-for-creating-and-appending-to-frequency-table-tp25368860p25368860.ht...
2005 May 26
1
Simplify formula for heterogeneity
Dear R-ians,
I'm looking for a computational simplified formula to calculate a
measure for heterogeneity (let's say H ):
H = sqrt [ (Si (Sj (Xi - Xj)?? ) ) /n ]
where:
sqrt = square root
Si = summation over i (= 0 to n)
Sj = summation over j (= 0 to n)
Xi = element of X with index i
Xj = element of X with index j
I can simplify the formula to:
H = sqrt [ ( 2 * n * Si (Xi) - 2 Si (Sj
2011 Dec 08
1
How to load the data set from an URL Link?
My problem is very easy, but it took me hours without a solution.
So, I have to take any data set from UCI repository website for example this
one which is about consensus income:
http://archive.ics.uci.edu/ml/datasets/Census+Income
And here is the data folder:
http://archive.ics.uci.edu/ml/machine-learning-databases/adult/
My task is to caculate to do this:
a) Calculate measures of
2004 Apr 29
3
Probability(Markov chain transition matrix)
Hello, My name is Maria, MBA student in Sanfransisco, USA.
In my credit scoring class, I have hard time making "transition matrix",
which explains probability especially in relation to "Markov chain model".
It is regarding people's monthly credit payment behavior. Does R have
function to caculate it? I am actually a novice in using 'R'. Please help
me!!!
Maria
2003 Nov 20
2
reading data rows
...(as.numeric(mu1<-p$mu1),as.numeric(mu2<-p$mu2),
as.numeric(alpha<-p$alpha),as.numeric(beta<-p$beta),
as.numeric(Wsigma<-p$Wsigma),as.numeric(sigmaA<-p$sigmaA),as.numeric(b<-p$b),as.numeric(r<-p$r))
I intend to use the variables stored in the the data
frame for my caculations. but each time I try I get
the followingerror message.
Error in uniroot(function(n) eval(p.body) - power,
c(2, 1e+07)) :
invalid function value in 'zeroin'
In addition: Warning message:
the condition has length > 1 and only the first
element will be used in: if (f(lower, ......