Displaying 20 results from an estimated 300 matches similar to: "Band-wise Conditional Sum - Actual problem"
2010 Aug 27
1
Band-wise Sum
Hi
I have a large credit portfolio (exceeding 50000 borrowers). For particular process I need to add up the exposures based on the bands. I am giving a small test data below.
rating <- c("A", "AAA", "A", "BBB","AA","A","BB", "BBB", "AA", "AA", "AA", "A", "A",
2012 Jul 18
2
How to have original (name) order after melt and cast command
Dear R helpers,
I have a data.frame as given below -
dat1 = data.frame(date = as.Date(c("3/30/12","3/29/12","3/28/12","3/27/12","3/26/12",
"3/23/12","3/22/12","3/21/12","3/20/12", "3/30/12","3/29/12","3/28/12","3/27/12",
2013 Apr 15
6
Sorting data.frame and again sorting within data.frame
Dear R forum,
I have a data.frame as defied below -
df = data.frame(names = c("C", "A", "A", "B", "C", "B", "A", "B", "C"), dates = c("4/15/2013", "4/13/2013", "4/15/2013", "4/13/2013", "4/13/2013", "4/15/2013", "4/14/2013",
2011 Mar 25
1
Appending data to a data.frame and writing a csv
Dear R helpers
exposure <- data.frame(id = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20),
ead = c(9483.686,50000,6843.4968,10509.37125,21297.8905,50000,706152.8354, 62670.5625, 687.801995,50641.4875,59227.125,43818.5778,52887.72534,601788.7937, 56813.14859,4012356.056,1419501.179,210853.4743,749961,6599.0862),
pd =
2012 Jul 18
4
The best solver for non-smooth functions?
# Hi all,
# consider the following code (please, run it:
# it's fully working and requires just few minutes
# to finish):
require(CreditMetrics)
require(clusterGeneration)
install.packages("Rdonlp2", repos= c("http://R-Forge.R-project.org",
getOption("repos")))
install.packages("Rsolnp2", repos= c("http://R-Forge.R-project.org",
2005 Dec 07
4
Importing data for excel file or csv file
hey,
i have this website (with ajax also) with lot of records of employee, and as an
extra feature i want that the customer can import his employeelist (perhaps 100+
records), lot of work to do this manually.
i would create a template like this
Firstname Lastname Phone
xxxx xxxxx xxxxx
yyyy yyyyy yyyyy
then they upload the excel file or save it as csv file
2017 Jul 01
2
LLC Segmentation Fault in Matrix Multiplication
Can you attach your source code or .ll file? Have you tried a debug build
of llc which might give a more readable stack dump or even an assertion
message.
~Craig
On Fri, Jun 30, 2017 at 10:51 PM, hameeza ahmed via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> It happens only when i keep my vector width to >=64, why is that so?
>
> I have to keep it >=64. Please suggest
2011 Apr 10
1
League of Legends Help please
Hey guys
P.S if this is in the wrong forum please move it admins
Ok , i am aware that the games not perfect just yet. theres alot of bugs and some get it going, some dont
But i really need to get it going to play with friends. im using Ubuntu 10.10 32 Bit - ( i get the same problem on Mint 10, KDE 10, Kubuntu )
Im trying to get league of legends going, i can get past the installation of it,
2004 Dec 14
1
Bug on log.p argument with all stat function (PR#7420)
Dear R Developers:
I have been playing with R, release 2.0.1 for a week now and have detected =
that all stat functions related to distribution probabilities have the same=
problem:
1.- The log.p parameter of all distribution functions, when set to TRUE, re=
turns a extrange value.
Accoding to the manual, when set to true, it should return log(p) probabili=
ty. So to my understanding, setting
2006 Aug 01
8
Problem importing lots of records
I run a script that imports a few thousand records into the database.
The script runs once for each of several XML files. What it does is
parse the XML and for each element of a certain type creates a record in
a rails database that gets indexed with acts_as_ferret. This worked fine
before but today after a few files (70000 records) this started to
happen for any file I tried:
2017 Jul 01
0
LLC Segmentation Fault in Matrix Multiplication
Files are attached here. No I havent tried debug
On Sat, Jul 1, 2017 at 11:12 AM, Craig Topper <craig.topper at gmail.com>
wrote:
> Can you attach your source code or .ll file? Have you tried a debug build
> of llc which might give a more readable stack dump or even an assertion
> message.
>
> ~Craig
>
> On Fri, Jun 30, 2017 at 10:51 PM, hameeza ahmed via llvm-dev <
2006 Aug 18
2
How do I sort the drop-down list?
I''ve added a drop-down list of first and last names of borrowers to a
form. How do I sort them by LastName, FirstName in the drop-down?
I''m using code based on the cookbook example:
<select name="borrower[borrower_id]">
<% @borrowers.each do |borrower| %>
<option value="<%= borrower.id %>">
<%= borrower.FirstName <<
2012 Mar 10
1
Generating abnormal returns in R
Hello
This is my first post on this forum and I hope someone can help me out.
I have a datafile (weeklyR) with returns of +- 100 companies.
I acquired this computing the following code:
library("tseries");
tickers = c("GSPC" , "BP" , "TOT" , "ENI.MI" , "VOW.BE" , "CS.PA" ,
"DAI.DE" , "ALV.DE" ,
2005 Jul 26
5
Plot zooming i.e. changing ylim according to xlim
Dear R-gurus,
I would like to zoom in a plot, e.g. I select a region on the x-axis and
then I would like the ranges on the y-axis to change accordingly.
Is it possible to do this with existing functions, or do I have to
invent some data selection before plotting?
See below a short example, where I select ylim with trial and error,
which I want to avoid.
Cheers, Henrik Andersson
2017 Aug 17
2
unable to emit vectorized code in LLVM IR
lli sum-vec03.ll 5 2 #0 0x0000000000c1f818 (lli+0xc1f818)
#1 0x0000000000c1d90e (lli+0xc1d90e)
#2 0x0000000000c1da5c (lli+0xc1da5c)
#3 0x00007f987c2c3d10 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10d10)
#4 0x00007f987c6f0038
#5 0x0000000000989f8c (lli+0x989f8c)
#6 0x00000000009383dc (lli+0x9383dc)
#7 0x000000000057eedd (lli+0x57eedd)
#8 0x00007f987b464a40 __libc_start_main
2017 Jul 01
2
LLC Segmentation Fault in Matrix Multiplication
Hello,
when i used clang for matrix multiplication code with i=j=k=1000351, it
successfully generates IR. then i run opt as follows
opt -S -O3 -force-vector-width=64 -force-vector-interleave=32 matn.ll -o
pimmatnl_64_u32_o3.ll
it also worked fine. but when i run llc on the optimized .ll file
llc -x86-asm-syntax=intel pimmatnl_64_u32_o3.ll -o matnl-knl4_intel.s
i get the following segmentation
2005 Mar 02
4
Music on hold on timing sources
Hello:
I have read that music on hold requires a timing source (which I never
had to worry about previously since the server had zaptel hardware in
it)...now I'm configuring a server in a colo which has no zaptel
hardware.
If I use the dialplan to run MusicOnHold(), I do get the music upon
dialling that extension, but if I try to use the hold button on either a
7960 or X-Lite I get
2014 Jan 06
2
Reversing the Equation to find value of variable
Dear R forum
I have following variables -
EAD = 10000
LGD = 0.45
PD = 0.47
M = 3
# Equation 1
R = 0.12*(1-exp(-50*PD))/(1-exp(-50)) + 0.24*(1-(1-exp(-50*PD))/(1-exp(-50)))
b = (0.11852 - 0.05478 * log(PD))^2
K = (LGD * pnorm((1 - R)^(-0.5) * qnorm(PD) + (R / (1 - R))^0.5 * qnorm(0.999)) - PD * LGD) * (1 - 1.5 * b)^(-1) * (1 + (M - 2.5) * b)
RWA = K * 12.5 * EAD
> RWA
[1] 22845.07
#
2006 Mar 27
3
XML Storage?
Hey Folks,
Now that all the fun and games of learning Rails has almost sunk
in it''s time to build something useful. I am tasked with building a
system to control and search our large (and I mean large 1.5 million + and
growing) photograph collection. I have been building databases for years
and after thinking about the situation we decided that trying to store the
2002 Mar 07
8
DO NOT USE Software Raid1 and Ext3
Conclusion:
DO NOT USE SOFTWARE RAID-1 WITH EXT3
I've started with this conclusion cause i am positive that raid-1 and ext3
are causing data corruption.
I've upgraded from 7.1 to 7.2 and from the first date i run into data
corruption problems @ least once per day (i was monitoring once per day
only) after 7 days we bought a brand new server cause the previous was very
old and i thought