Letzte Beiträge

AI in games: AlphaZero plays Connect Four

am 30. 10. 2020 von Martin Ennemoser
machine learning
reinforcement learning
We implemented the well-known board game Connect Four in order to demonstrate the capabilities of machine learning in games. Our AI employs the famous AlphaZero algorithm which beat the world’s best Go player in 2016. AlphaZero is a general purpose deep reinforcement algorithm that uses Monte Carlo tree search to represent states and transitions of… 
Weiterlesen

Single page applications with Flask and Angular

am 23. 08. 2020 von Martin Ennemoser
Angular
Flask
Single Page Application
Angular is a powerful frontend framework for building sophisticated Single-Page Applications (SPA). Flask can be used to serve SPAs very easily as explained here. However, incoorporating common security measures that are used in SPAs needs extra effort and therefore, additional extensions are required. A very common extension is flask-security which comes with a lot of… 
Weiterlesen

(De)serialization in SQLAlchemy

am 23. 08. 2020 von Martin Ennemoser
Flask
Flask
Python
Serialization
SqlAlchemy
Data that is sent or received by web applications is usually transferred via the HTTP protocol. The data is sent as byte array and therefore needs to be transformed to a standard format like JSON or XML. The transformation of programming language specific objects to byte representations is called serialization. The inverse operation is called… 
Weiterlesen