On Thu, Aug 30, 2018, 9:23 PM David Mertz <me...@gnosis.cx> wrote:

> On Fri, Aug 31, 2018, 12:08 AM Guido van Rossum <gu...@python.org> wrote:
>
>> Hm. YAML is indeed a great, readable alternative to JSON or XML. But the
>> term DSL implies (to me) more than just nested key-value pairs. (Though who
>> knows maybe that's all Keras needs, and then it's a poor argument for
>> having a DSL.)
>>
>
> Keras is deliberately very declarative in defining models. So indeed
> sequences and mappings and scalars is everything it needs. Maybe I'll
> actually implement the idea I sketch out in a small independent library.
>

Defining Keras models reminds me of the ugly ASP code I'd sometimes write
to create HTML in an object-oriented fashion. Writing plain HTML was
usually more pleasant and readable.

I suggested XML with that memory in mind. It's cumbersome for many tasks,
but Keras models in particular might be a good fit. Or YAML.

>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to