1
$\begingroup$

is it possible to have a learning system generate structured data such as svg or html code? NN are obviously quiet good at generating image data because they can do that on a pixel by pixel basis and small errors in the color tone of one pixel in an image is absolutely acceptable. But how would one go about having a NN generate things like html or svg code? Can it be done? Could a NN learn to generate icons for applications based on a training set of similarly looking (themed) icons to have it generate an icon for that set with the same theme but a different "base"?

$\endgroup$

1 Answer 1

2
$\begingroup$

Yes. This is known as structured prediction, and usually done with some sort of recursive neural net. Often for code, there is some inherent tree-structure which can be exploited if your RNN is able to output a tree instead of a sequence.

See pix2code and tree-structured decoding for more details.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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