Serving the Quantitative Finance Community

bearish
Posts: 4728
Joined: February 3rd, 2011, 2:19 pm

Re: Chatroom

I’m thinking Amin should take this one.

bearish
Posts: 4728
Joined: February 3rd, 2011, 2:19 pm

Re: Chatroom

They were supposedly related to a geothermal study.

tagoma
Topic Author
Posts: 2153
Joined: February 21st, 2010, 12:58 pm

Re: Chatroom

They were supposedly related to a geothermal study.
thank you bearish.

bearish
Posts: 4728
Joined: February 3rd, 2011, 2:19 pm

Re: Chatroom

tagoma
Topic Author
Posts: 2153
Joined: February 21st, 2010, 12:58 pm

Re: Chatroom

Thank you Sir.   I didn't see it.
Merci beaucoup

katastrofa
Posts: 6857
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Chatroom

hello friends. by chance do you know what are those little modules for?
edge length is about 15 cm.
from one day to the next there were literally thousands of them along all streets and roads in parts of Geneva and on the French side of the border.
they are spaced about 20m aparts.
they left them there about for 2 weeks, and took them all away at once just as quickly as they disposed them.
they also put some in private properties, e,g, the one on the picture is one of the 4 they position in the foreyard of our little building.

It's a pig socket.

tagoma
Topic Author
Posts: 2153
Joined: February 21st, 2010, 12:58 pm

Re: Chatroom

hello friends. by chance do you know what are those little modules for?
edge length is about 15 cm.
from one day to the next there were literally thousands of them along all streets and roads in parts of Geneva and on the French side of the border.
they are spaced about 20m aparts.
they left them there about for 2 weeks, and took them all away at once just as quickly as they disposed them.
they also put some in private properties, e,g, the one on the picture is one of the 4 they position in the foreyard of our little building.

It's a pig socket.

It acknowledge this is a question that best fits in the Honesty Test thread but I will ask it here.
kata, were you sincerely willing to help me out with this answer?

katastrofa
Posts: 6857
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Chatroom

I think I, subconsciously, which may indicate utmost sincerity, wanted to joke.
Consciously, I was being spontaneous! What? ^o.0^
Suppconsviously, I was sincerely trying to help.
Well, dextroconsciously and levoconsciously I was isomeric at best.
Looking forward(-consciously) to my test result!

Paul
Posts: 5766
Joined: July 20th, 2001, 3:28 pm

Re: Chatroom

Reminds me of the classic Ken Dodd joke:

"The man who invented cats' eyes got the idea when he saw the eyes of a cat in his headlights. If the cat had been going the other way, he would have invented the pencil sharpener."

tagoma
Topic Author
Posts: 2153
Joined: February 21st, 2010, 12:58 pm

Re: Chatroom

hello friends, and once again happy new year.
what is (the name of) a simple yet efficient algorithm/method to enumerate all the combinations of k elements in a set of with a total of n elements?
in my use case this will be all combinations of 2 elements among  ~1K elements..
apologies if this is a dumb question.

trackstar
Posts: 3418
Joined: January 1st, 1970, 12:00 am

Re: Chatroom

hello friends, and once again happy new year.
what is (the name of) a simple yet efficient algorithm/method to enumerate all the combinations of k elements in a set of with a total of n elements?
in my use case this will be all combinations of 2 elements among  ~1K elements..
apologies if this is a dumb question.
K-means clustering.

And if you were just joking, Ha ha.

But if serious - some useful guidance here: https://reference.wolfram.com/language/ ... Means.html

tagoma
Topic Author
Posts: 2153
Joined: February 21st, 2010, 12:58 pm

Re: Chatroom

hello friends, and once again happy new year.
what is (the name of) a simple yet efficient algorithm/method to enumerate all the combinations of k elements in a set of with a total of n elements?
in my use case this will be all combinations of 2 elements among  ~1K elements..
apologies if this is a dumb question.
K-means clustering.

And if you were just joking, Ha ha.

But if serious - some useful guidance here: https://reference.wolfram.com/language/ ... Means.html
hello Trackstar. No no I was not joking.
I mean on the internet I didn't found any clear definition / name.
I'm looking at the Wolfram page you suggest now.
Many thanks.

Alan
Posts: 2483
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Re: Chatroom

n (n-1)/2

Generally: $n \choose k$

tagoma
Topic Author
Posts: 2153
Joined: February 21st, 2010, 12:58 pm

Re: Chatroom

yes, thank you Alan. i was searching an efficent logics to spit out all those combinations. I assumed such "algorithms" bear a name.
for now, i'm lazily hanging around pyrhon itertools.combinations(iterable, r)

Alan
Posts: 2483
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Re: Chatroom

Why?? Just import math: math.comb(n,k)