as mentioned in the question, is there any library in js that can perform matrix operations and operate fast like numpy?
if not, does it mean that js is not suitable for data operations such as mathematical statistics?
as mentioned in the question, is there any library in js that can perform matrix operations and operate fast like numpy?
if not, does it mean that js is not suitable for data operations such as mathematical statistics?
as far as I know, js itself is not suitable for CPU-intensive computing, but there are node.js modules written in CPP that allow you to perform operations at the speed of CPP. In browsers, there are also libraries that use WebGL
for acceleration, and there are packages to use WebGL
in node.js. I searched at random and found numbers.js
and math.js
, but I don't know what the effect is.
there should be no js, this piece of js is almost blank, and the most existing matrix operations are in webgl, but basically, the matrices used in this part of the graph are all below the fourth order square moments. I think it may not be the
that you want. You can try to write your own efficiency. You can use webgl to communicate with gpu to accelerate matrix operations or SIMD can also
js can also do some simple data operations such as mathematical statistics, and there are also simple ai projects written in js
, but it can also be said that js is not suitable for data operations such as mathematical statistics. Py can be because there are a large number of libraries that support these libraries, most of the speed aspects are written in c languages, but on the contrary, js does not have these benefits. The biggest advantage of js is that the cross-platform environment is easy to configure. Unlike the problem that py is trying to face and solve,
nodejs may be able to write plug-ins in c/cpp after all, but everyone's enthusiasm is not there, so it's normal that libraries in this area are missing
as far as I know, the application of js in this area is still relatively few.
my understanding is that traditional java and php will create new threads to handle blocked tasks. for Node.js from this diagram, the blocked tasks in the event queue are still left to the threads in the thread pool to handle the blocking events. ...
ask a question about css breaking the table on this node? Thank you as shown in the picture. I erased the text, formatted it and stretched it out. As follows: http: www.yiyuanzhaopin.com . http: www.yiyuanzhaopin.com . above is the source cod...
...
I want to use git, in vscode, but I find that the git directory detected in vscode is not consistent with my actual git directory. My git project is in the project folder of the desktop, but the directory displayed by git in vscode is the desktop. How to...
function preprocess(imageData) { const { width, height, data } = imageData; const dataTensor = ndarray(new Float32Array(data), [width, height, 4]) const dataProcessedTensor = ndarra...
var createHandler = require( github-webhook-handler ) var handler = createHandler({ path: incoming , secret: myhashsecret }) this secret is the same as the secret set by GitHub backend. Why did you report an error ? Error: No X-Hub-Signature ...
can I pass only a single attribute? ...
var vm = new Vue({ el: -sharpexample , data: { message: 123 } }) vm.message = new message console.log(vm.$el.textContent) Vue.nextTick(function () { console.log(vm.$el.textContent) }) read some Vue.nextTick instru...
General e-mail systems of government and enterprise departments, such as user@ domain name .com. How the interior is built. Please provide an idea ...
idea notification interface of 1.web 2. Rotation training database-here rotation training seems to be a timer, and there is also a web interface that seems to satisfy 3. Using web socket whether you set it up yourself or without a third party. the pr...