Displaying 20 results from an estimated 38 matches for "fpp".
Did you mean:
cpp
2014 Nov 30
1
Using FPP preprocessor for Fortran Code
Dear R Developers,
For package seriation I use Fortran code. I recently got a request to add
#if defined(__ICC) || defined(__INTEL_COMPILER)
USE IFPORT
#endif
to the code since the Intel Fortran compiler otherwise has problems with
rand(). However, to enable the FPP preprocessor I have to either add a
compiler flag (-cpp for gFortran) which is possibly not portable or
change the extension to .F, .fpp, .FPP (and a few others) which
automatically invokes the preprocessor (hopefully on all platforms). I
tried .fpp and added the following to Makevars:
OBJECTS...
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
2017 Oct 02
2
Default value of the option initial in the ses function in the forecast package.
...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 :
library(fpp)
oildata <- window(oil,start=1996,end=2007)
fit3 <- ses(oildata, h=3)
In the above is the default value of initial "optimal" or "simple" ?
Note I have taken this example from https://www.otexts.org/fpp/7/1
Best Regards,
Ashim
[[alternative HTML version deleted]]
2001 Nov 29
1
cannot create .hosts.b0WX1x : File exists
...1x", O_WRONLY|O_CREAT|O_EXCL|0x8000, 0600) = -1 EEXIST (File exists)
It seems like it opens the file ReadWrite and then tries to open it
readonly. I don't know why. It bangs then.
Thanks for any hint,
Rok Krulec
Portoroz/Slovenia, 28.Nov 2001 @ 15:34 CET
Public GnuPG key @ http://rok.fpp.edu/pgp.key
Portoroz, 28.Nov 2001 @ 15:39 CET
Public GnuPG key @ http://rok.fpp.edu/pgp.key
2017 Oct 02
0
Default value of the option initial in the ses function in the forecast package.
...n = 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 :
>
> library(fpp)
> oildata <- window(oil,start=1996,end=2007)
> fit3 <- ses(oildata, h=3)
>
> In the above is the default value of initial "optimal" or "simple" ?
>
> Note I have taken this example from https://www.otexts.org/fpp/7/1
>
> Best Regards,
> Ashim...
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
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
2008 Dec 02
2
[LLVMdev] Error when using getAnalysis
...quired' by pass!"' failed.
If I remove the addRequired from getAnalysisUsage, I get this error:
opt: /x/jeffhao/llvm/llvm-2.4/lib/VMCore/PassManager.cpp:1440: virtual
llvm::Pass* llvm::MPPassManager::getOnTheFlyPass(llvm::Pass*, const
llvm::PassInfo*, llvm::Function&): Assertion `FPP && "Unable to find on the
fly pass"' failed.
What else needs to be added to make the code run?
Jeff
On Mon, 1 Dec 2008 09:38:26 -0600, John Criswell <criswell at cs.uiuc.edu>
wrote:
> nitisha warkari wrote:
>> Hi,
>>
>> I'm trying to use the f...
2009 Jul 10
0
[LLVMdev] Unnamed pass in on the fly pass manager
...ks,
Scott
On Thu, Jul 9, 2009 at 1:27 PM, Scott Ricketts<sricketts at maxentric.com> wrote:
> 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
>
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
2017 Aug 11
0
Directional Forecast
I suggest, you read:
Forecasting: principles and practice from Hyndman-Athana?sopou?los
https://www.otexts.org/fpp
2011 Dec 21
3
NEWTON ALGORITHM
...k for help left right and center.
My problem is that I cannot get my function to give me the solution. Here
is my code:
## PRIMARY FUNCTION
f=function(x){
out=(2/(3))*exp(x^3)-(10)*log(x)
return(out)
}
## 1ST DERIVATIVE
fp=function(x){
out=(2)*(x^2)*exp(x^3)-(10/x)
return(out)
}
## 2ND DERIVATIVE
fpp=function(x){
out=(4)*(x)*exp(x^3)+(6)*(x^4)*exp(x^3)+(10/x^2)
return(out)
}
I am trying to find the "zero" of "fp",my 1st derivative, with my newton
algorithm:
newbon=function(x0,epsi,f,fp){
## where "a" corresponds to x^n et
## "b" corresponds to x^n+1...
2009 Jul 10
1
[LLVMdev] Unnamed pass in on the fly pass manager
...n Thu, Jul 9, 2009 at 1:27 PM, Scott Ricketts<sricketts at maxentric.com> wrote:
>> 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
>>
>
2012 Oct 31
0
[LLVMdev] Interprocedural Register Allocation
...e the PEI pass
and the RegAlloc pass together. What are the cases where one uses a
RegAlloc pass but not PEI pass?
Another concern is about the re-use of CallGraphSCC pass. I see that in
lib/Analysis/IPA/CallGraphSCCPass.cpp's CGPassManager::RunPassOnSCC()
method there is this line, Changed |= FPP->runOnFunction(*F); and FPP
is cast to (FPPassManager*). However, if we want to re-use
CallGraphSCCPass in CodeGen, shouldn't we be casting FPP to the
MachineFunction equivalent and be calling the runOnMachineFunction()
method instead? So should we inherit CallGraphSCCPass to create
MachineC...
2008 Dec 02
0
[LLVMdev] Error when using getAnalysis
...39; failed.
>
> If I remove the addRequired from getAnalysisUsage, I get this error:
>
> opt: /x/jeffhao/llvm/llvm-2.4/lib/VMCore/PassManager.cpp:1440: virtual
> llvm::Pass* llvm::MPPassManager::getOnTheFlyPass(llvm::Pass*, const
> llvm::PassInfo*, llvm::Function&): Assertion `FPP && "Unable to find
> on the
> fly pass"' failed.
>
> What else needs to be added to make the code run?
Is it possible for you to provide a reproducible test case to help us
understand what is going on ?
Thanks,
-
Devang
2012 Oct 04
2
[LLVMdev] Interprocedural Register Allocation
Hi Jakob,
On Thu, Oct 4, 2012 at 2:31 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
> On Oct 4, 2012, at 2:27 PM, "Madhusudan C.S" <madhusudancs at gmail.com>
> wrote:
>
> Basically, the PrologEpilogInsertion pass will add a bit mask to
>> MachineModuleInfo describing which registers are clobbered by the function
>> being compiled. Later,
2015 Nov 05
3
Opusfile seeking bug
...9;t do C99 and I'm converting from C++
// so dump all the decelerations here to make it build as C89.
static const long BufferSize = 8192;
ogg_sync_state m_syncState;
ogg_stream_state m_streamState;
int64_t m_lastGranulePos = 0;
int64_t failingSeekPoint = -1;
int32_t serialno = -1;
int fpp, spf;
int decoding = 1;
ogg_page page;
char* buffer = NULL;
long bytesRead = 0;
uint8_t headerFLags = 0;
int pageContinuesPacket = 0;
int firstPacketInPage = 1;
int packetsToFetch = 1;
int packetOutRet;
FILE* fp = fopen(filename, "rb");
ogg_sync_init(&m_syncState);
while...
2008 Dec 02
1
[LLVMdev] Error when using getAnalysis
...;> If I remove the addRequired from getAnalysisUsage, I get this error:
>>
>> opt: /x/jeffhao/llvm/llvm-2.4/lib/VMCore/PassManager.cpp:1440: virtual
>> llvm::Pass* llvm::MPPassManager::getOnTheFlyPass(llvm::Pass*, const
>> llvm::PassInfo*, llvm::Function&): Assertion `FPP && "Unable to find
>> on the
>> fly pass"' failed.
>>
>> What else needs to be added to make the code run?
>
> Is it possible for you to provide a reproducible test case to help us
> understand what is going on ?
> Thanks,
> -
> D...
2016 Apr 07
4
Contenido de un objeto/modelo ARIMA
Buenos días,
Os cuento:
Cargo la librería "Forecast" y ejecuto su función Arima(...) sobre una
serie temporal:
mimodelo <- Arima(miST$miserie, ...);
Ahora si ejecuto las siguientes sentencias, voy obteniendo los resultados
contenidos en "mimodelo", pero algunos de ellos no sé lo que son:
mimodelo[[1]] obtengo los coeficientes del modelo ARIMA
mimodelo[[2]] obtengo el