Questions tagged [javascript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Reading data from Twilio video streams

Tl;dr: I would like to read video streams coming from all the participants from this https://tfvideo-5708-dev.twil.io/video.html in python Details: I have a live tutoring website that uses Twilio ...
2
votes
0answers
27 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 ...
0
votes
1answer
53 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 ...
0
votes
1answer
21 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 ...
0
votes
0answers
19 views

HighCharts: How to embed a heatmap chart inside a polar chart

I just started working on HighCharts. I have an existing polar chart, Now I want to display a temperature based large heatmap. Could anyone help me with it.
1
vote
1answer
24 views

Converting Text Entries into values for machine learning - KNN

Consider the following dataset. ...
1
vote
1answer
439 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 ...
1
vote
1answer
44 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. ...
5
votes
2answers
368 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? ...
2
votes
0answers
273 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 ...
0
votes
1answer
132 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 ...
1
vote
1answer
95 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 ...
1
vote
1answer
41 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 ...
4
votes
1answer
1k 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 ...
0
votes
2answers
212 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 ...
2
votes
3answers
516 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?
0
votes
1answer
45 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 ...
-3
votes
2answers
1k 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 ...
3
votes
2answers
2k 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 ...
1
vote
1answer
256 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 ...
1
vote
1answer
606 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 ...
1
vote
1answer
3k 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 ...
4
votes
2answers
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....
15
votes
4answers
37k 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?
0
votes
1answer
1k 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 ...
4
votes
0answers
263 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). ...
2
votes
2answers
272 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 ...
5
votes
2answers
317 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: ...
12
votes
3answers
4k 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 ...