Treffer: The power of duck typing and linear algrebra: How linear algebra and python make a good fit

Title:
The power of duck typing and linear algrebra: How linear algebra and python make a good fit
Authors:
Contributors:
Kompetenzzentrum für nicht-textuelle Materialien
Publisher Information:
FOSDEM VZW
Publication Year:
2018
Document Type:
course material<br />moving image (video)
Language:
English
Accession Number:
edsbas.416361BC
Database:
BASE

Weitere Informationen

(en)Algebraic operator are every where in python. + = apache-tomcat-10.1.28 bin conf google3d3484531fe2f8a1.html google75618b12b4dbf37f.html internationalization-tool log metadata-dump-transformations metadata-schema.zip nohup.out oersi-backend oersi-etl search-index-import-scripts tomcat / Dict are every where inpython. What can we achieve by combining both of them? [Slides](http://jul.github.io/cv/pres.html#/init) are here ## Introduction Algebra is a wonderful abstraction that make the infamous 2D point example ofa class or nameddict useless when you have complex data type (that is HWaccelerated on Intel CPU). ## I Algebra 101 : it is all about consistency between symbol and behaviour Simple: Is something consistent with linear algebra? it requires 17 simpleunit tests suffice to say so So just let makes a test this rules are followed, and then a class thatapplies these behaviours and we have implemented it. ## II I have linear algebra behaviour. How useful can it be? Well, you have basic data type like { x: 1, y :2, z :3 } that is actuallybehaving like an euclidean vector. If an object is a MutableMapping thus we can create a universal operator forsaying how much an object «looks like» another one. Practical use : apache-tomcat-10.1.28 bin conf google3d3484531fe2f8a1.html google75618b12b4dbf37f.html internationalization-tool log metadata-dump-transformations metadata-schema.zip nohup.out oersi-backend oersi-etl search-index-import-scripts tomcat finding doublons in database; apache-tomcat-10.1.28 bin conf google3d3484531fe2f8a1.html google75618b12b4dbf37f.html internationalization-tool log metadata-dump-transformations metadata-schema.zip nohup.out oersi-backend oersi-etl search-index-import-scripts tomcat text matching (after a pass of ntlk + word counters); apache-tomcat-10.1.28 bin conf google3d3484531fe2f8a1.html google75618b12b4dbf37f.html internationalization-tool log metadata-dump-transformations metadata-schema.zip nohup.out oersi-backend oersi-etl search-index-import-scripts tomcat pattern fitting; . ...