Questions tagged [javascript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
451 views

What is the most straightforward way to run python code in a chrome extension?

I am currently trying to develop a chrome extension for a project. My knowledge of Javascript is quite limited and this is my first using it, so I am trying to reduce as much as possible its use. The ...
Manuel's user avatar
  • 11
1 vote
1 answer
538 views

How to make a chrome extension which uses python machine learning model?

Actually, I made a video category classifier machine learning model (Deep Learning). Now, I want to make a chrome extension using that model. So, how I have to do that. I know it's a very broad ...
Abhijeet Saroha's user avatar
1 vote
1 answer
2k views

How to automatically build a high-quality dynamic PDF report?

I want to create a pdf data report programmatically so that it leads to a report in the style of this (it is in German but it shows the design I want to achieve): https://www.destatis.de/DE/Service/...
JoeBe's user avatar
  • 131
0 votes
0 answers
20 views

Good sources about advanced scraping?

I build many scraping based on node + puppeteer + PostgreSQL as data storage and queue. Everything works great, but I want to develop myself, my next goal to scraping data from + 100 000 000 pages (I ...
mxcdh's user avatar
  • 101
0 votes
0 answers
13 views

Identify the existence of a wall like structure in a given int array

The idea is that I will query an API endpoint which will return me an array consisting of a price value and a quantity value [price, quantity]. In this dataset ...
deniz's user avatar
  • 1
0 votes
0 answers
26 views

Best Javascript Modules for creating Neural Networks

After checking out this similar post for python: Best python library for neural networks, I was curious if the community had recommendations for JavaScipt modules for creating neural networks. I am ...
jros's user avatar
  • 101
0 votes
1 answer
84 views

Linear regression and gradient descend equations

I'm pretty new to ML and was starting out with linear regression combined with gradient descend. This is the equation I was trying to achieve using javascript- And this is what I came up with in js- <...
Raj jaiswal's user avatar
0 votes
1 answer
1k views

Audio not saving in google colab [closed]

...
Muhammad Waqar Anwar's user avatar
0 votes
1 answer
20 views

How to run a saved tensorflow model in the browser?

After doing my hello world models, I would like to let them available at Github pages, which means that I need to serve the model only with static files. Is it possible? All the tutorials I found ...
Ramon Medeiros's user avatar
0 votes
1 answer
53 views

What’s the most suitable programming language for AI development? [closed]

For the past couple of years I’ve been learning how to use Python to script. But I would like to start getting into scripting more things like computers and AI. So, with that said, and please no ...
Dummy Scripts's user avatar
2 votes
0 answers
204 views

Directed graph with repulsor and attractor edges

I'm attempting to model the relationships (likes and hatreds) between various mercenaries to reduce friction after team formation. I'm using sigma.js as graph drawing library and ...
Julix's user avatar
  • 121
0 votes
1 answer
282 views

How to train neural network a math multiplication table?

I am trying to train neural network (brain.js) a multiplication table. It is not going too well: requires lots of hidden layers, iterations and very small error threshold, and the results are still ...
Jaroslav Tavgen's user avatar
0 votes
1 answer
51 views

Solution for TF-IDF Vectorization in Angular project?

While making an Angular project to use my text-classification model on unseen data, i struggle in finding a way how to transform text to TFIDF features. Anyone faced same issue? Maybe a solution on ...
martinna's user avatar
3 votes
0 answers
410 views

How to encode multiple inputs and multiple outputs

I have a piece of math more complicated than I can understand at the moment, a dynamic graph visualization. It uses a physics metaphor of springs and magnets, where the vertices act as magnets ...
Joshua M. Moore's user avatar
1 vote
1 answer
50 views

Converting Text Entries into values for machine learning - KNN

Consider the following dataset. ...
Peachman1997's user avatar
1 vote
1 answer
853 views

Backpropagation in a convolutional neural network with stride and padding

So i am trying to learn backpropagation of convolutional neural networks. A lot of articles only cover convolutions without a stride and a padding variable, so i decided to try it on my own. For ...
Jakob Drusany's user avatar
1 vote
1 answer
52 views

Representation options of strings (keywords/topics) in models

What are all the possible ways to represent keywords in a machine learning model? The two I am aware of are: one hot encoding, using a static index. vector representation, using an embedding layer. ...
dendog's user avatar
  • 120
5 votes
2 answers
1k views

How to determine if a string is 'food' or 'drink'?

My data exists of several restaurant menus (in text form). I would like to detect the category of an item on the menu which can be 'food' or 'drink'. How do I call this kind of machine learning? ...
user10198470's user avatar
2 votes
0 answers
489 views

Algorithm or JS graph drawing library that can generate a graph of 100,000+ nodes and edges while minimizing edge crossings

I'm trying to plot a directed graph of $2^{16}$ nodes and $2^{16}$ edges (but not simply a cycle). Ultimately, I need to be able to share an interactive graph (zooming, panning, labels). Mathematica ...
Andrew Cheong's user avatar
0 votes
1 answer
461 views

Text Generation

I want to generate „human like“ text/posts based on a dataset of posts from a forum. The dataset contains roughly 25k words. I currently have the Markoc chain implemented, but i want to improve the ...
Twoot's user avatar
  • 27
1 vote
1 answer
134 views

Backpropagation for noobs

I am trying to understand neural networks and how they work, by programming my own one from scratch in nodejs. Currently, i managed to build a network, that has weights, layers and neurons. I also ...
Twoot's user avatar
  • 27
1 vote
1 answer
56 views

Neural Network is not getting better

So i started building my own neural network framework in node.js, just to understand the concept of neural networks better. Currently i implemented Neurons, Connections between these Neurons and ...
Twoot's user avatar
  • 27
7 votes
1 answer
4k views

Visualizing many one-to-many relationships

I am trying to visualize the language tags on github repository data. I have names of 16k github repositories, and all the languages associated with each one of them. Below is a chord diagram I came ...
user61034's user avatar
  • 237
0 votes
2 answers
883 views

Visualizing a large graph (10'000 nodes)

I am currently trying to find a way to visualize a graph which has 10'000 nodes, and about 20'000 edges. I was trying this javascript library, but quickly realised that this is too computationally ...
DaveTheAl's user avatar
  • 503
2 votes
3 answers
539 views

What are the benefits of having ML in js? [closed]

What are the benefits of having ML in JavaScript I.e. the deeplearn.js (now tensorflow) stuff, as opposed to implementing the ML steps in a python backend?
Uzlo's user avatar
  • 23
0 votes
1 answer
139 views

Convert graph database relationships into node properties [closed]

I have a neo4j database that stores forum posts. Replies to specific posts are encoded using a replyto relationship. I am trying to retrieve all the information ...
Austin Capobianco's user avatar
1 vote
0 answers
434 views

Using machine learning to classify text client-side in JavaScript?

Apologies in advance, I am completely new to the world of machine learning. But I just wanted a bit of help in areas to explore or even just a blunt answer if the following was possible. I have a ...
Rafty's user avatar
  • 111
-3 votes
2 answers
2k views

Fast, efficient way to zoom/pan scatterplot with mouseover data [closed]

Given a csv of the form: x, y, annotation How can we efficiently (least code) generate an interactive (zoom/pan) scatterplot where the annotation appears when ...
Pete's user avatar
  • 809
3 votes
2 answers
3k views

Computer vision: Identifying different items in screenshot

Lets say I have a screenshot like this: I want to be able to detect/localize each item on the floor, however, there 1) can be any number of items in the image and 2) each item is different I have a ...
Simon's user avatar
  • 1,071
1 vote
1 answer
283 views

Limits of Javascript on the implementation of AI algorithms

I have a basic understanding of javascript, and know hardly any other programming language. Am I bound to face some issues in the field of neural networks and machine learning because of this? Should ...
Sovos's user avatar
  • 231
1 vote
1 answer
729 views

How to create visualisation on medical data?

I want to create a data visualization on medical data i.e. patient's medical history, allergies one is having, any chronic patient's name must be highlighted, etc. And, there can be a separate ...
ABcDexter's user avatar
  • 139
1 vote
1 answer
4k views

heatmap color and d3.js

This follows a recent post where I got my answer concerning possible web-based techno for plotting big heatmaps ($600 \times 600$ dissimilarity matrix). Now, that I have achieved that, I'm struggling ...
mic's user avatar
  • 513
4 votes
2 answers
3k views

How to plot large web-based heatmaps?

I want to plot large heatmaps (say a matrix $500 \times 500$). I can do it in Python/matplotlib.pyplot with pcolor, but it is not interactive (and I need an interactive heatmap). I have tried with D3....
mic's user avatar
  • 513
2 votes
0 answers
166 views

Combining parameters for Douglas-Peucker Simplification

NOTE : I'm not sure if this is the right forum for this question. if not, please advice. Context : I am collecting a huge amount of data using an android app that is placed on a vehicle. I collect ...
ShahiM's user avatar
  • 121
16 votes
4 answers
49k views

How to scale an array of signed integers to range from 0 to 1?

I'm using Brain to train a neural network on a feature set that includes both positive and negative values. But Brain requires input values between 0 and 1. What's the best way to normalize my data?
Jonathan Shobrook's user avatar
0 votes
1 answer
2k views

Implementation of Association Rules in Javascript

I have implemented an interactive visualization with d3.js, javascript to explore the frequency and various combinations of co-occurring item sets. I want to complement the interactive exploration ...
ee2Dev's user avatar
  • 188
6 votes
0 answers
367 views

3D map using leaflet

I'm trying to create 3D bars on this map. Can anyone please advise if this is possible, and how? http://leafletjs.com/examples/choropleth.html My data: UFO sightings in the USA (location wise). ...
Minu's user avatar
  • 795
2 votes
2 answers
292 views

Visualization using D3

I am new to D3 programming (any programming, for that matter). I have protein-protein interaction data in JSON format and csv format. I would like to use that data for network visualization. Data ...
Minu's user avatar
  • 795
5 votes
2 answers
333 views

What visualization technique to best describe a recommendation dataset?

I've written a simple recommender which generates recommendations for users based on what they have clicked. The recommender generates a data file with the following format: ...
blue-sky's user avatar
  • 207
12 votes
3 answers
5k views

How to animate growth of a social network?

I am seeking for a library/tool to visualize how social network changes when new nodes/edges are added to it. One of the existing solutions is SoNIA: Social Network Image Animator. It let's you make ...
Wojciech Walczak's user avatar