Machine Learning Interpretability — Shapley Values with PySparkInterpreting Isolation Forest’s predictions — and not only Photo by Joshua Golde on Unsplash The problem: how to interpret Isolation Forest’s predictions More specifically, how to tell which features are contributing more to the predictions. Since Is...23 min read·tryexceptfinally.hashnode.devMar 20, 2021
A Spark Attack!It is well known — or should be — that spark is not secured by default. It is right there in the docs Security in Spark is OFF by default So you should be well aware that you’ll need to put the effort to secure your cluster. And there are many th...5 min read·tryexceptfinally.hashnode.devJan 7, 2021
A Spark AttackTime to check your spark clusters Image by Author It is well known — or should be — that spark is not secured by default. It is right there in the docs Security in Spark is OFF by default So you should be well aware that you’ll need to put the effo...3 min read·tryexceptfinally.hashnode.devNov 28, 2020
Isolation Forest and PysparkLessons learned Debugging PySpark and Isolation Forest — Image by author So, after a few runs with the PySpark ml implementation of Isolation Forest presented here, I stumbled upon a couple of things and I thought I’d write about them so that you don...5 min read·tryexceptfinally.hashnode.devMar 24, 2020
Pyspark — Parallel read from databaseHow to leverage spark to read in parallel from a database Spark Parallelization A usual way to read from a database, e.g. Postgres, using spark would be something like the following: user = 'postgres' password = 'secret' db_driver = 'org.postgresql.D...3 min read·tryexceptfinally.hashnode.devMar 21, 2020