at 20:19, Henry Rich wrote:
> >>
> >> name =: verb define
> >> smoutput 'time at point 1: ' , ": 6!:1''
> >> NB. do something
> >> smoutput 'time at point 2: ' , ": 6!:1''
> >> NB. etc.
>
t 'time at point 1: ' , ": 6!:1''
>> NB. do something
>> smoutput 'time at point 2: ' , ": 6!:1''
>> NB. etc.
>> )
>>
>> untested
>>
>> Henry Rich
>>
>>
>>
>>
>>> On 4/
e
> smoutput 'time at point 1: ' , ": 6!:1''
> NB. do something
> smoutput 'time at point 2: ' , ": 6!:1''
> NB. etc.
> )
>
> untested
>
> Henry Rich
>
>
>
>
>>
Henry
You could save me some time if you could post a code example
--
For information about J forums see http://www.jsoftware.com/forums.htm
Roger that - I'll give it a whirl.
Any other reports of perf issues?
--
For information about J forums see http://www.jsoftware.com/forums.htm
Rich
>
>> On 4/20/2017 6:54 PM, Michael Goodrich wrote:
>> First test of my neural net app is much slower - 20 sec vs. 8 sec for 805
>> stable 😩.
>>
>>
>> Sent from my iPhone
>>
>>> On Apr 17, 2017, at 1:38 PM, David Mitchell wrote:
First test of my neural net app is much slower - 20 sec vs. 8 sec for 805
stable 😩.
Sent from my iPhone
> On Apr 17, 2017, at 1:38 PM, David Mitchell wrote:
>
> Here are my results with beta-3:
>
> 2017 4 16 4 41
> Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
> j805/j64/windows/beta-12/comm
e.jsoftware.com/wiki/Essays/FFT
>
> Thanks,
>
> --
> Raul
>
>
> On Thu, Apr 20, 2017 at 9:23 AM, Michael Goodrich
> wrote:
> > Raul,
> >
> > I see your point. I was expecting too much from 'readtable', and I
> > apparently need a
Xiao,
One more timing result: The compute pattern optimized R version takes
about 30 sec meaning it is 3-4X slower than J and about 50% slower than non
compute pattern optimized C and 10X slower than compute pattern optimized C.
On Tue, Apr 18, 2017 at 8:21 PM, Michael Goodrich <
michael.go
rather than the implementation.
On Tue, Apr 18, 2017 at 11:31 AM, Xiao-Yong Jin
wrote:
>
> > On Apr 18, 2017, at 9:23 AM, Michael Goodrich <
> michael.goodr...@gmail.com> wrote:
> >
> > Hi Henry,
> >
> > Thanks for your interest. I owe you some better inf
ior you want would be to replace ". by (,@".) which would always
> produce a list.
>
>
> As for 'Why does J not...', how would J know that this list should be
> treated as a one-column table, rather than a one-row table, a one-row
> brick, etc.?
>
> Henry R
Raul,
I see your point. I was expecting too much from 'readtable', and I
apparently need a 'readtensor' verb for my app.
On Sun, Apr 16, 2017 at 4:02 PM, Raul Miller wrote:
> On Sun, Apr 16, 2017 at 2:26 PM, Michael Goodrich
> wrote:
> > Why does J not treat
Oops the line
swipl -s bamc.4c.pl -g main --f 'f1.csv' --n --o c --h 3
Should be
swipl -s bamc.4c.pl -g main --f 'f1.csv' --n --o youroutputjournalfile --h
3
--
For information about J forums see http://www.jsoftwar
~ 9sec
Prolog ~ 3156 sec
J:
0!:0 <'tlp0.j'
6!:2 'f tlpmcmce10 1e4'
On Tue, Apr 18, 2017 at 1:19 PM, Xiao-Yong Jin
wrote:
> > On Apr 18, 2017, at 12:08 PM, Michael Goodrich <
> michael.goodr...@gmail.com> wrote:
> >
> > Actually I don
Btw please note that the defined monad 'sgmd' is *outperforming* the primitive
tanh !
Sent from my iPhone
> On Apr 18, 2017, at 11:31 AM, Xiao-Yong Jin wrote:
>
>
>> On Apr 18, 2017, at 9:23 AM, Michael Goodrich
>> wrote:
>>
>> Hi Henry,
>&
skell - in all the right
ways.
Sent from my iPhone
> On Apr 18, 2017, at 11:31 AM, Xiao-Yong Jin wrote:
>
>
>> On Apr 18, 2017, at 9:23 AM, Michael Goodrich
>> wrote:
>>
>> Hi Henry,
>>
>> Thanks for your interest. I owe you some better info
on double-precision floats that's
> faster than J 8.06, I would be obliged if you'd send me a copy of the
> source code.
>
> Henry Rich
>
>
> On 4/17/2017 5:14 PM, Michael Goodrich wrote:
>
>> This is getting interesting; I was already impressed with Js speed
________
> From: Michael Goodrich
> To: programm...@jsoftware.com
> Sent: Monday, April 17, 2017 5:14 PM
> Subject: Re: [Jprogramming] J weirdness #2 - A nasty surprise
>
>
>
> This is getting interesting; I was already impressed with Js speed bei
the parser will not see +/ .* and hypothetically you could
> arrange for sum .* in contexts where sum was defined differently).
>
> I hope this helps,
>
> --
> Raul
>
>
> On Mon, Apr 17, 2017 at 4:51 PM, Michael Goodrich
> wrote:
>> Greetings:
>>
Greetings:
Got a nasty surprise today. have a non-trivial J app with the following
supporting original definitions:
sum =. +/
dot =. +/ . *
sqrd =. *:
ssq =. +/ @: sqrd
Which I changed (thinking I was being elegant) to
sum =. +/
dot =. sum . *
sqrd =. *:
ssq =. sum @: sqrd
After this change
All,
In using 'readtable' as defined in the primer I find the following
situation:
Reading in a square matrix from a file with each row of numbers on a line I
always get the 'correct' answer when asking about the shape of the read in
data, EXCEPT when the data has only one value per line ie is a
eady suggested. See the Dictionary for more
> info.
>
>
> On Sat, Apr 15, 2017 at 6:41 AM, Michael Goodrich <
> michael.goodr...@gmail.com> wrote:
>
>> OK J gurus, I fail to understand what appears to be an irregularity in J:
>>
>>
>> X =. read
OK J gurus, I fail to understand what appears to be an irregularity in J:
X =. readtable 'X.txt'
shpX =. $X
dimX =. #shpX
NP =. >{shpX
Ones =. NP 1 $ 1
|syntax error
readtable => as defined in the primer
X.txt a column of 50 numbers one on each line
the idea here is to determine
n =: +/ % #
>R =: (50?1e3)%1e3
>Y =: 50 1$^((-i.50)%10) + R-mean R
>plot 0 {"1 (50 1$^((-i.50)%10)),: 0 {"1 Y
>
> I get an overlay plot: http://imgur.com/a/szZKz
>
> Maybe I am not seeing the problem?
>
> What happens when you do it?
>
> Than
Beautiful!
On Thu, Apr 6, 2017 at 11:02 AM, Linda A Alvord
wrote:
> Michael, Here is an algebta 2 modificatgion of Cliff Reiter's example in
> his book on 'Fractals..."
>
> load 'plot'
> x=:i:12
> y=: 13 :'y^3'
> z=: 13 :'-20*y^2'
> f=:y`z
> plot x;f`:(0) x
>
> Maybe this will be a good starti
00*data);(data^2),:data
>
> The first cell is the x values (30 points but now set to 1000*i.30)
> The second cell contains the 2 sets of y values as a 2 row matrix with 30
> points in each row, as before.
>
> Suggest you try executing the above commands to plot, then substitu
t;
>
> On Thu, Apr 6, 2017 at 8:15 AM, Michael Goodrich
> wrote:
> > I am trying to plot two 1-d data vectors in an overlay plot namely:
> >
> > plot 0 {"1 (50 1$^((-i.50)%10)),: 0 {"1 Y
> >
> > Y is a data vector s.t.
> >
> >
I am trying to plot two 1-d data vectors in an overlay plot namely:
plot 0 {"1 (50 1$^((-i.50)%10)),: 0 {"1 Y
Y is a data vector s.t.
$ Y
50 1
following the pattern:
'key sin(exp),cos(exp)' plot (;(sin,:cos)@:^) -: >: i:3j100
However is does not work:
The problem seems to be in how to
Originally sent msg looks a little strange so I am re sending with a new
subject:
Many thanks all. BTW it is a three layer perceptron MCMC code that I am
working on.
What are the opportunities for HPC with J either by programming technique or
because J has parallel/multi-processor algorithms
an tell.
>
> --
> Raul
>
>
> On Mon, Apr 3, 2017 at 11:27 AM, Michael Goodrich
> wrote:
>> Thanks to all who answered!
>>
>> I am ultimately interested in building a Markov chain Monte Carlo simulation
>> and I suppose I could simply make it explicit,
Thanks to all who answered!
I am ultimately interested in building a Markov chain Monte Carlo simulation
and I suppose I could simply make it explicit, but I suppose the real way would
be to figure out the proper way to use ranking and tacitness.
That said can anyone point me to some good J mac
k=.0
while. k<: 1e2 do.
|spelling error
| while. k<: 1e2 do.
| ^
while. k<: 1e2 do. k=. k+1 end.
|spelling error
| while. k<: 1e2 do. k=. k+1 end.
| ^
--
For information about J forums see http://www.jsoftware.co
Was going fine until I wrote the first control loop: always get 'spelling
error' even if i copy one from the books.
Can anyone advise?
--
For information about J forums see http://www.jsoftware.com/forums.htm
33 matches
Mail list logo