Giter Site home page Giter Site logo

nicomignoni / tab2img Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 5.0 507 KB

A tool to convert tabular data into images, in order to be used by CNNs Inspired by the "DeepInsight" paper.

License: MIT License

Python 100.00%
cnn tabular-data data-preprocessing deepinsight

tab2img's People

Contributors

nicomignoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tab2img's Issues

Data values gets changed to 0-1 after reshaping the 1D to 2D from tab2img tool

Hi, I want to confirm that does this tool changes the data values as well? Or does it simply reshapes the data of 1D to 2D?

I am passing the data of 1x198 shape and it is returning me the data of 1x15x15 shape which is perfect square of the closest 2 dimension. But the data values are also getting changed between the range of 0-1

The data values of the output 2D data gets changed to 0-1 when the output is greater than 12x12

This looks like very strange that when I run the code with the same data but with less features of 144 for the output of 12x12, my data does not change and the tab2img only reshapes the data

Input data of 144 features
image

Output contains the data reshaped to 12x12 and the original data values stayed the same as min value and max value
image

But if I increase the data features for the same dataset to 169 so that i get the output of 13x13, my data values gets changed

Input data of 169 features
image

Output data is of shape 13x13 but the data values are now only 0 or 1
image

Installation Issue

Tried to install and got the following:

ERROR: Could not find a version that satisfies the requirement tab2img
ERROR: No matching distribution found for tab2img

question about testing data

Hi,
Maybe I misunderstood, but if I have testing data without a label, how can I transfer it to an image and put it in the model I trained?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.