Questions tagged [javascript]
40 questions
16
votes
4 answers
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
- 313
- 1
- 3
- 8
12
votes
3 answers
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 movies like this one.
SoNIA's documentation says…
Wojciech Walczak
- 916
- 12
- 23
7
votes
1 answer
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 up with.
However, I find that the chord diagram is…
user61034
- 227
- 1
- 4
- 10
6
votes
0 answers
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).
Count of these sightings per location will be the…
Minu
- 795
- 2
- 8
- 18
5
votes
2 answers
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:
userid,userid,simmilarity (between 0 and 1 - closer to 0 the more similar…
blue-sky
- 207
- 1
- 7
5
votes
2 answers
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? Text classification?
I know javascript isn't ideal…
user10198470
- 51
- 3
4
votes
2 answers
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.js but what I found is aiming at displaying small…
mic
- 513
- 5
- 15
3
votes
0 answers
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 repelling each other, and the edges act as springs…
Joshua M. Moore
- 131
- 2
3
votes
2 answers
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 candidate list of all possible items. In reality…
Simon
- 1,071
- 2
- 10
- 28
2
votes
0 answers
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 forceAtlas2 as force-directed layout algorithm and having some success…
Julix
- 121
- 1
2
votes
0 answers
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 did a fine job of drawing this graph in a way that…
Andrew Cheong
- 121
- 4
2
votes
3 answers
What are the benefits of having ML in js?
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
- 23
- 2
2
votes
2 answers
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 attributes: Protein Name, Protein Group, Protein…
Minu
- 795
- 2
- 8
- 18
2
votes
0 answers
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 the data at ~1second intervals for about 2 hours,…
ShahiM
- 121
- 3
1
vote
1 answer
Converting Text Entries into values for machine learning - KNN
Consider the following dataset.
| Area | Job Type | Complete |
-------------------------------
| AAA | Install | N |
| AAB | Repair A | Y |
| OOC | Repair C | Y |
| LCX | Cease | N …
Peachman1997
- 11
- 1