Skip to main content

Questions tagged [javascript]

JavaScript is an interpreted computer programming language. Use this tag for any *on-topic* question that (a) involves JavaScript either as a critical part of the question or expected answer, & (b) is not *just* about how to use JavaScript.

2 votes
0 answers
77 views

i'm the guy who built this basic web-based scientific calculator over at scientific-calculator. it's all vanilla javascript using the built-in math library, so it does stuff like trig, logs, ...
Miki Loan's user avatar
5 votes
2 answers
855 views

I'd like to generate realistic sample data in javascript for monetary donations. I've chosen to model them as following the log normal distribution. I think a fairly intuitive way for a lay person to ...
michaelmcandrew's user avatar
1 vote
0 answers
42 views

The following JavaScript code is supposed to calculate R2 based on two numerical arrays of equal length- yPred and yTrue. It is based on the formula R2=1-RSS/TSS. ...
Value_Investor's user avatar
2 votes
0 answers
126 views

I'm having a network of belief system. It has ~100 nodes, 316 regular edges and 78 conflicting edges. (If belief B conflicts with belief A, then node B and node A share a conflicting edge. If belief B ...
Ooker's user avatar
  • 429
0 votes
0 answers
91 views

I am trying to run a simple logistic regression (response ~ stimulus, where responses are "f" or "s" and stimulus goes from 1 to 11). My main objective is to calculate the turning ...
marceletras's user avatar
0 votes
0 answers
131 views

I have got a table with known marginal sums: | | | | 7| | | | | 7| | | | | 6| | | | | 6| | | | | 5| | | | | 4| | | | | 3| +--+-+-+--+ |26|6|6|38| I want ...
ajo's user avatar
  • 101
1 vote
2 answers
765 views

0 I currently have a test data set that has 500k data points. I have an algorithm that process that data and returns some information. In order to establish the statistical significance of the ...
lucas rodriguez's user avatar
3 votes
1 answer
323 views

How do we relate the chi squared and gamma distributions with code? For example if we have a chi squared distribution with cdf(x, k) and we calculate ...
Ole's user avatar
  • 187
0 votes
1 answer
166 views

I spent the last 5 months studying full-stack web development using the MERN stack, that is (MongoDB, Express, React and NodeJs). Now that I have seen the full picture of what I would be doing ...
MoSwilam's user avatar
  • 101
-1 votes
1 answer
358 views

According to this paper: A Comparison of Personal Name Matching: Techniques and Practical Issues several techniques are possibile in personal names matching, that ...
loretoparisi's user avatar
1 vote
1 answer
900 views

I want to make a diagram like this to display the career spans of several soccer players one below the next: I know it's basically a bar chart, but I was hoping this has a more specific name, because ...
Sridhar Sarnobat's user avatar
1 vote
2 answers
2k views

Currently I'm reading Eloquent Javascript book and at chapter 4. This topic entitled 'The lycanthrope’s log ' is very confusing to me. How important is correlation and coefficient in real world ...
112233's user avatar
  • 113
1 vote
2 answers
6k views

Given the following chart of data: which represents duration metrics gathered at absolute times, I am trying to determine when/if any of the values exhibit a jump in durations. In the example chart, ...
Eli's user avatar
  • 111
0 votes
1 answer
266 views

My neural network, which uses the back-propagation technique and the sigmoid activation function, should 'learn' the sine function. This is the networks structure: The following code should train the ...
Christoph Bühler's user avatar
1 vote
1 answer
2k views

I have implemented the SVD algortihm for my Node.js project for collaborative filtering of a sparse dataset based on this paper by GroupLens. For calculating the SVD, I am using the package node-svd ...
akashg's user avatar
  • 111

15 30 50 per page