I have seen the PlayGround of Tensorflow. But it is using only 2D values which means only 2 inputs are taken.
I have 7 inputs and the output is only 1.

See the datasets sample:


Kindly, suggest me how I can visualize the datasets similar to Playground of Tensorflow. If there is any edited version of the Tensorflow Playground please do suggest if any.


closed as unclear what you're asking by Firebug, Heteroskedastic Jim, Sycorax, kjetil b halvorsen, mdewey Dec 15 '18 at 10:27

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ The simple answer is you can't, unless you could visualize 7 dimensions (most of us can't from my experience). $\endgroup$ – Firebug Dec 14 '18 at 11:55
  • $\begingroup$ Similar to TensorFlow playground in what terms? What kind of visualization you expect? $\endgroup$ – Tim Dec 14 '18 at 14:58
  • 1
    $\begingroup$ I disagree with my answer being transformed into a comment. The asker specifically asked if it was possible to visualize like in the PlayGround, which simple is not possible. My answer was to the point, sure, but it's not wrong and it's complete. $\endgroup$ – Firebug Dec 14 '18 at 18:06

There is no plug and play package like Tensorflow Playground to visualize higher dimensional data.

First you need to specify what you want to achieve by your representation: is it exploratory analysis of the data? Or is it representation of the decision boundaries (I'm assuming your problem is a classification, not a regression)?

If your purpose is to represent the decision boundary, it's a challenging topic and there's no established method to do so, but research in that direction has been performed, see here and here.

If your purpose is simply to analyze the data, prior to classification, then a pairwise scatter plot is one the more common approaches, see for example the below image of a pairwise scatter plot of the Titanic data from Kaggle. This can be done in 3 lines of code using Matplot lib (in the below example I also use Seaborn - but that's optional):

enter image description here

  • 1
    $\begingroup$ As OP specifically mentioned the TF Playground and an output variable, I suppose he meant to visualize decision surfaces and activation spaces, like it's possible in the Playground. $\endgroup$ – Firebug Dec 14 '18 at 23:06
  • $\begingroup$ Yes this is what I mean Sir. @Firebug You have suggested the rightful meaning of the question. I do not understand what was difficulty in understanding as my question is put on hold. $\endgroup$ – Jaffer Wilson Dec 17 '18 at 5:18
  • $\begingroup$ @JafferWilson Ok. Then check the paper I linked to and the references therein. $\endgroup$ – Skander H. Dec 17 '18 at 7:41
  • $\begingroup$ @SkanderH. I have check it. But I was looking for interactive one which similar to Playground. But the above is not exactly but gives meaning $\endgroup$ – Jaffer Wilson Dec 17 '18 at 7:44
  • $\begingroup$ @JafferWilson as this is relatively recent research, you're unlikely to find an ready made package like Tensorflow, you will need to code it yourself. $\endgroup$ – Skander H. Dec 17 '18 at 8:16

The simple answer is you can't, unless you could visualize 7 dimensions (most of us can't from my experience).

  • $\begingroup$ Is there no way out to visualize it using a machine? Please sir help me in making i feasible if any possibility exists. $\endgroup$ – Jaffer Wilson Dec 14 '18 at 12:05
  • 1
    $\begingroup$ This is being automatically flagged as low quality, probably because it is so short. At present it is more of a comment than an answer by our standards. Can you expand on it? Why wouldn't methods to visualize multidimensional datasets (scatterplot matrices, conditional plots, interactive plots, etc) work in this context? You can also turn it into a comment. $\endgroup$ – gung Dec 14 '18 at 14:31
  • 1
    $\begingroup$ This answer seems to rely on an extremely limited concept of "visualization" as "the psychological construction of a geometrically accurate seven-dimensional world." That, however, is too limited to be useful in most applications, because--as you say--it is impossible to do. Thus, over the centuries statisticians and scientists have developed alternative ways to see high-dimensional data. These use 2D or 3D graphics, animated or not, that employ visual symbols (geometric and graphic) to represent aspects of the data. That is what most people nowadays mean by "visualization." $\endgroup$ – whuber Dec 14 '18 at 15:27
  • $\begingroup$ @whuber I meant visualization as in the TF playground, where all features are visible in a 2D space since it's a two-dimensional problem. I think that's exactly what the question was asking for. $\endgroup$ – Firebug Jan 25 at 20:39
  • $\begingroup$ I think I understand what you mean (I lack experience with the TF playground). Would you mind clarifying your answer to help your readers interpret it as you intended? $\endgroup$ – whuber Jan 25 at 21:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.