World Congress 2023 • Aug 11, 2023

The best of both worlds: Combining Python and Kotlin for Machine Learning

Nils Kasseckert

A staggering 90% of machine learning models fail to reach production. Bridge this gap by combining Python's experimental power with Kotlin's robust enterprise deployment capabilities.

Pause
Mute Enter Fullscreen
#1 about 2 min

The gap between data scientists and software engineers

Language and architecture differences prevent most machine learning models from successfully reaching production.

#2 about 4 min

The complexity of the machine learning production lifecycle

Numerous specialized tools and processes are required to serve and maintain models effectively after development.

#3 about 8 min

Data pipelines and experiments with Kotlin in Jupyter

Kotlin Jupyter kernels enable type-safe data analysis and plotting for robust data pipelines.

#4 about 3 min

Model development limitations using Kotlin DL

Training a basic neural network with Kotlin DL reveals current hardware limitations and dependency issues.

#5 about 5 min

Deploying machine learning models with Ktor and ONNX

Serving an object detection model requires minimal code when pairing a Ktor web server with pre-trained ONNX models.

#6 about 3 min

Choosing between Python and Kotlin for machine learning

Python excels for model development while Kotlin provides stability for serving and building data pipelines.

#7 about 3 min

Questions on Kotlin and Python machine learning integration

Audience members ask about Kotlin dataframe properties, Python integration, and runtime environment support.

Matching moments

3:03 min

Introduction to Kotlin history and Java ecosystem interoperability

Urs Peter · World Congress 2022

3:01 min

Introduction to Kotlin and Java interoperability

Christian Woerz · LIVE

1:26 min

Transitioning machine learning models from notebooks to production

Kilian Kluge +1 · World Congress 2022

4:52 min

Introduction to the Java and Kotlin ecosystems

Iris Hunkeler · LIVE

2:13 min

Planning a production application with Kotlin Multiplatform

Petar Marijanović · LIVE

1:33 min

Configuring runtime Java and Kotlin interoperability protocols

Iris Hunkeler · LIVE