Displaying 20 results from an estimated 400 matches similar to: "Using FPP preprocessor for Fortran Code"
2017 Oct 02
2
Default value of the option initial in the ses function in the forecast package.
Dear All,
I am trying to use the function ses from the forecast package.
>From its help I have :
Usage:
ses(y, h = 10, level = c(80, 95), fan = FALSE, initial = c("optimal",
"simple"), alpha = NULL, lambda = NULL, biasadj = FALSE, x = y, ...)
My query is that if I do not mention the initial value will its default
value be "optimal".
A MWE would be
2001 Nov 29
1
cannot create .hosts.b0WX1x : File exists
Hello,
when I do:
/opt/rsync/bin/rsync /etc/hosts targethost::bkp/
I get:
cannot create .hosts.b0WX1x : File exists
I check the targethost and I get empty file .hosts.b0WX1x
When trying with other targethost-s it works, but on this one it doesn't.
On the other targethosts I have exactly the same LinuX distribution,
permissions and users than on the problem targethost.
I have exactly the
2015 Aug 27
0
Column name expansion in data.frame()
Dear R developers:
I am trying to add a column to a data.frame. The following does the
trick by expanding the name of the first data frame with the prefix foo:
> data.frame(foo = as.list(data.frame(items = 1:3, bar=1:3)), items =
1:3) foo.items foo.bar items
1 1 1 1
2 2 2 2
3 3 3 3
However, the following special case produces an
2017 Oct 02
0
Default value of the option initial in the ses function in the forecast package.
The first one, i.e. "optimal"; check help for match.arg() for the idiom.
-pd
> On 2 Oct 2017, at 11:48 , Ashim Kapoor <ashimkapoor at gmail.com> wrote:
>
> Dear All,
>
> I am trying to use the function ses from the forecast package.
>
> From its help I have :
>
> Usage:
>
> ses(y, h = 10, level = c(80, 95), fan = FALSE, initial =
2009 Jul 09
2
[LLVMdev] Unnamed pass in on the fly pass manager
I have written a module pass. When I use the debug pass structure
option, the name of my module pass is printed but then I get "Unnamed
pass" when the FunctionPassManagerImpl *FPP calls dumpPassStructure
(in PassManager.cpp). Is this the expected behavior, or should I be
concerned that there is an error in my approach?
Thanks,
Scott
2015 Mar 20
0
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
Hi Martin,
package arules heavily relies on ngCMatrix and uses multiplication and
addition for logical operations. I think it makes sense that in a mixed
operation with one dgCMatrix and one ngCMatrix the ngCMatrix should be
"promoted" to a dgCMatrix.
The current behavior of %*% and friends is in deed confusing:
> m <- matrix(sample(c(0,1), 5*5, replace=TRUE), nrow=5)
>
2017 Aug 11
0
Directional Forecast
I suggest, you read:
Forecasting: principles and practice from Hyndman-Athana?sopou?los
https://www.otexts.org/fpp
2009 Jul 10
0
[LLVMdev] Unnamed pass in on the fly pass manager
Update: the "unnamed pass" is PostDominatorTree. My module pass
requires PDT (specified in its getAnalysisUsage). When it visits a
function, it calls getAnalysis<PostDominatorTree>(), which triggers
the failed assertion "getAnalysis*() called on an analysis that was
not 'required' by pass!"
This issue has been addressed on this mailing list, but it seems the
2008 Dec 02
2
[LLVMdev] Error when using getAnalysis
Hi,
I had a question about this as well. The documentation about writing a
pass shows an example like what John wrote, calling a function pass within
a module pass on a per function basis. However, if I code it that way, I
still get the same error:
opt: /x/jeffhao/llvm/llvm/include/llvm/PassAnalysisSupport.h:232:
AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*,
2009 Jul 10
1
[LLVMdev] Unnamed pass in on the fly pass manager
Solved...
For the record, there were two issues:
1) I was not passing the Function to getAnalysis for the PDT.
2) I was attempting to getAnalysis on external functions.
On Thu, Jul 9, 2009 at 5:49 PM, Scott Ricketts<sricketts at maxentric.com> wrote:
> Update: the "unnamed pass" is PostDominatorTree. My module pass
> requires PDT (specified in its getAnalysisUsage). When it
2011 Dec 21
3
NEWTON ALGORITHM
Hi,
My name is Curtis and I'm a 1st year student in Biochemistry at the
University of Geneva. I need some help completing the code for my NEWTON
ALGORITHM. It is a bonus exercice to our autumn semester maths exam and we
can hand it in or not. Usually people copy and paste but I decided to sit
down and review theory and ask for help left right and center.
My problem is that I cannot get my
2008 Dec 02
0
[LLVMdev] Error when using getAnalysis
On Dec 2, 2008, at 10:40 AM, Jeff Yeong-Peng Hao wrote:
>
> Hi,
>
> I had a question about this as well. The documentation about
> writing a
> pass shows an example like what John wrote, calling a function pass
> within
> a module pass on a per function basis. However, if I code it that
> way, I
> still get the same error:
>
> opt:
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like:
$pid = pcntl_fork();
if ($pid != 0) {
// we are the parent
// do parent stuff
exit;
}
// we are the child, detatch from terminal
$sid = posix_setsid();
if ($sid < 0) {
die;
}
// do child stuff
On 04/19/2019 02:00 PM, Mark Wiater wrote:
> On 4/19/2019 1:49 PM, Dovid Bender wrote:
>> Mark,
>>
>> I am using PHP agi and when forking
2008 Dec 02
1
[LLVMdev] Error when using getAnalysis
Sure. I've attached the code for the test pass I wrote, as well as the
code and bitcode for the testcase I'm running. All the functionality has
been stripped out of the pass, and the pass compiles without a problem, but
the error appears when the pass is run.
Jeff
On Tue, 2 Dec 2008 11:06:44 -0800, Devang Patel <dpatel at apple.com> wrote:
> On Dec 2, 2008, at 10:40 AM, Jeff
2010 Nov 10
1
clustering association rules
Hello.
I have a general question regarding to clustering of association rules.
According to http://cran.r-project.org/web/packages/arules/vignettes/arules.pdf
"4.7 Distance based clustering transactions and associations" there is possibility for creating clusters of association rules.
I do not understand, how I have to interpret clusters of rules.
Let us have next association rules and
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
The following dump-core patches changes its format into ELF,
adds PFN-GMFN table, HVM support, and adds experimental IA64 support.
- ELF format
Program header and note section are adopted.
- HVM domain support
To know the memory area to dump, XENMEM_set_memory_map is added.
XENMEM_memory_map hypercall is for current domain, so new one is created.
and hvm domain builder tell xen its
2013 Jan 28
1
parse/eval and character encoded expressions: How to deal with non-encoding strings?
Hi,
I am intending to save a path-describing character object in a slot of a
class I'm working on. In order to have the option to use "system.file" etc
in such string-saved path definitions, I wrote this
ExpressionEvaluator <- function(x){
x <- tryCatch(
expr=base::parse(text=x),
error = function(e){return(as.expression(x))},
finally=TRUE)
return(x)
}
This
2017 Aug 11
2
Directional Forecast
I've some demand data, for which I wish to judge what will be the direction
in the forecast period (Up/Down). What will be a best ML method to do this?
Currently I'm using the data given below -
9/4/2016 241
9/11/2016 233
9/18/2016 226
9/25/2016 282
10/2/2016 291
10/9/2016 282
10/16/2016 308
10/23/2016 291
10/30/2016 268
11/6/2016 262
11/13/2016 273
11/20/2016 262
11/27/2016 309
12/4/2016
2012 Oct 31
0
[LLVMdev] Interprocedural Register Allocation
Hi Jakob,
I have spent last 4 weeks trying to figure out how to implement
Interprocedural Register Allocation. I must admit that I was really
overwhelmed with LLVM's codebase while trying to figure this out :)
There is so much to know! I think I have reached a point where I
have some sort of basic understanding of what needs to be done,
but I need some help from here on. So here is the
2010 May 30
1
solve_TSP ignores control data, or I'm reading the help doc incorrectly.
I read the documentation below to mean that:
solve_TSP( tsp_input, '2-opt', rep=99 )
will use the 2-opt method on the tsp_input variable
99 times.
Catch: I get an "unused input" error.
Q: Am I reading the docs (Item 1, below) correctly or
is this a problem with solve_TSP ignoring its inputs
(Item 2, below).
Item 1: solve_TSP doc:
> library(TSP)
>