Artificial thoughts
RSS Feed“The first duty in life is to be as artificial as possible. What the second duty is no one has as yet discovered.” Oscar Wilde
Notes on machine learning, reinforcement learning, time series and dashboards, with the code.
Recent Posts
New technology stack for financial-timeseries-dashboard
I have updated my previous implementation of the financial-timeseries-dashboard in three aspects:
New version of Covid19 dashboard
Update from May 19, 2023:
Financial Timeseries Dashboard
Update March 25, 2023: The code has been updated. See https://arthought.com/new-technology-stack-for-financial-timeseries-dashboard/ for details.
Transformer model Fine-tuning for text classification with Pytorch Lightning
Update 3 June 2021: I have updated the code and notebook in github, to reflect the most recent api version of the packages, especially pytorch-lightning.
Corona dashboard
Update from 2021 May 08: The dashboard has been updated. There is a post announcing the update.
Audio compression via images
In this post we will use an image compression technique to compress audio signals. We start with a few highlights, screenshots and audio snippets.
Matrix operations with pytorch - optimizer - addendum
This blog post is an addendum to a 3 post miniseries1.
Matrix operations with pytorch - optimizer - part 3
SVD with pytorch optimizer
Matrix operations with pytorch - optimizer - part 2
pytorch - matrix inverse with pytorch optimizer
Matrix operations with pytorch - optimizer - part 1
pytorch - playing with tensors
Comparison of a very simple regression in pytorch vs tensorflow and keras
This is a follow up to https://arthought.com/comparison-of-a-very-simple-regression-in-tensorflow-and-keras/
Colab, MLflow and papermill
Machine learning with the maximum of free GPU currently available plus the ability to keep a neat log of your data science experiments. Interested? My article…
Loss surface with multiple valleys
This post is a follow-up of 1.
Comparison of a very simple regression in tensorflow and keras
In this short post we perform a comparative analysis of a very simple regression problem in tensorflow and keras.
Dash simple deployment with docker
The previous post was already about dash. So why return to the subject? In some ways I got carried away by the possibilities of dash. I therefore included some…
Dash for timeseries
Dash is an amazing dasboarding framework. If you're looking for an easy-to- setup dashboarding framework that is able to produce amazing plots that wow your…
Knime - Multivariate time series
Intro:
Multivariate Time Series Forcasting with Neural Networks (2) - univariate signal noise mixtures
In this follow up post we apply the same methods we developed previously to a different dataset.
Multivariate Time Series Forecasting with Neural Networks (3) - multivariate signal noise mixtures
In this follow up post we apply the same methods we developed previously to a different dataset. In this third post we mix the previous two datasets.
Multivariate Time Series Forecasting with Neural Networks (1)
In this post we present the results of a competition between various forecasting techniques applied to multivariate time series. The forecasting techniques we…
Game of Nim, Reinforcement Learning
In this post we report success in using reinforcement to learn the game of nim. We had previously cited two theses (ERIK JÄRLEBERG (2011) and PAUL GRAHAM &…
Game of Nim, Supervised Learning
There are entire theses devoted to reinforcement learning of the game of nim, in particular those of ERIK JÄRLEBERG (2011) and PAUL GRAHAM & WILLIAM LORD…
Perfect Play in the game of nim
This post reports on the creation of a python package for the game of nim. The package contains a function that finds the perfect move in a given position and…
R shiny custom docker server with caching
So now we're ready to deploy our own custom R Shiny server with caching.
R-caching (and scheduling)
This is in preparation for running a custom Shiny server. We want to accelerate the server by using caching. In the this post we take a look at a candidate…
R caching with financial data
In the previous post we looked at a simple data caching example which we used to explore the workings of the R-package DataCache.
Game of Nim
This post starts a mini series of two posts in which we want to solve the Game of Nim using Reinforcement learning. The first part of this mini series is…
R shiny stock analysis
This post we deploy our own R-shiny app.
Show R shiny app in Wordpress
This post we turn to R-shiny.
Windy Walk (part 2) - addendum
Recap:
Windy Walk (part 2)
Recap: Previously we constructed a very simple class to emulate the type of environment which is provided by OpenAI. Then we simulated two windy walks and used…
Windy Walk
So, today we advance to something slightly more interesting.
Introduction and Hello!
So time to start a new blog! Devoted to python, R and artificial intelligence.
Simple Sin Function
This is a simple illustration that the