[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 2.87 MB, 1280x1953, d61d9bb.png [View same] [iqdb] [saucenao] [google]
12608644 No.12608644 [Reply] [Original]

Top 10 programming languages according to /sci/
1) Python
2) Matlab
3) julia
4) rust
5) javascript
6) ruby
7) sql
8) c#
9) c++
10) r

>> No.12608669

*1)c++

>> No.12608736

1: c--

It's the less powerful, less efficient, more syntactically confusing obscure little brother of c

>> No.12608917

>ruby
bullshit

>> No.12608935

R

>> No.12608972

>>12608644
How the fuck do I model something that has variable data e.g. modeling races with different number of runners?

>> No.12609006

>>12608644
Unironically I find SQL faster and easier to use over pandas half the time, the only reason it's not higher on the list is that it's abstracted away in everything nowadays so your average code monkey doesn't know what it's capable of.

>> No.12609908
File: 289 KB, 604x1640, program.png [View same] [iqdb] [saucenao] [google]
12609908

>>12608644
>4) rust
>5) javascript
>6) ruby
>7) sql
>8) c#
>>>/g/et out

>> No.12610378
File: 1.18 MB, 1416x1800, Caspar_David_Friedrich_-_Frühschnee.jpg [View same] [iqdb] [saucenao] [google]
12610378

>>12608644
WRONG!

1) Haskell
2) C
3) APL
4) R

/thread

>> No.12611941

>>12608972
Cna you be more specific? This actually occurs quite often. For instance, you can model each runner with its own prob dist and then write the likelihood of each race as the joint. You can also create learnable embeddings for each racer, perform some operations on the embeddings, then sum them together to get a representation for a race. Its hard to tell the right way without more context.

>> No.12612253

>>12611941
>Cna you be more specific?
So basically I have an array of attributes for each runner(age, height, weight, etc) BUT the number of runners varies, so a race can have 5 to 10 runners, so the shape of the tensor changes unless I create a separate model for each race based on number of runners

>> No.12612287

>no C
>that image
data "science" is so cringe

>> No.12612298

>>12608736
you're not meant to program directly in it. It is an intermediary language in GHC's pipeline.

>> No.12612775

>>12612253
I think it depends on your task. Are you trying to predict the ranking of the runners? In this case, your problem is quite similar to that of webpage ranking in the IR field, which could be a good starting point. If your doing some general classification or regression on the entire race, you could just aggregate your embeddings for each individual runner to get an embedding for the entire race.

>> No.12612867

>>12612775
Yeah basically modelling which runner won the race and output needs to be probability for all runners in the race, i.e. runner 1 has a 10% chance of winning, etc