https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
datascience
  • p

    patrickdelconte

    11/16/2020, 1:02 PM
    How do you edit your kotlin jupiter files? I’ve tried editing the files in the browser, but I miss all the shortcuts I am used to in Intellj. The editing experience in the browser just does not feel right to me. I’ve had the same issue with python, but there I was able to use pycharm to edit my files directly which felt much better.
    a
    h
    • 3
    • 5
  • a

    Alexander Black

    11/16/2020, 3:18 PM
    Hello all. I’m new to this channel, and somewhat new to data science. Do any of you have any recommended learning resources? Also any preferred deep learning frameworks in Kotlin? Forgive me if this has been asked a bunch.
    h
    h
    • 3
    • 3
  • m

    Maria Khalusova

    11/18/2020, 12:19 AM
    https://ai.facebook.com/blog/paving-the-way-for-software-20-with-kotlin/
    😑 1
    👍 6
    a
    • 2
    • 1
  • f

    Florian Magin

    11/27/2020, 11:41 AM
    What would be required to publish the Kotlin Kernel jars to a package repository like maven so I could simply specify it as a dependency in a gradle file to install it for embedding purposes?
    b
    • 2
    • 6
  • f

    Florian Magin

    11/27/2020, 11:47 AM
    I assume that managing a maven package requires at least some effort, and I am aware that until recently there has been absolutely no point to it, because the kernel wasn't designed for embedding into other JVM projects before. My ideal user experience would basically be that I can specify something like
    compile "jetbrains:kotlin-jupyter-kernel:0.8.2"
    in my gradle file and this automatically gets the jar from an official source and resolves the dependencies to the relevant kotlin lib/runtime/reflect jars
    z
    • 2
    • 1
  • m

    Maria Khalusova

    12/09/2020, 2:23 PM
    There's also a #deeplearning channel here now, everyone interested in the topic is welcome to join :)
    a
    • 2
    • 1
  • a

    asad.awadia

    12/09/2020, 4:34 PM
    Is anyone using kotlin for data science in production?
    a
    m
    • 3
    • 9
  • p

    Pratik Patel

    12/11/2020, 3:49 PM
    https://www.crowdcast.io/e/data-science-on-the-jvm
    a
    m
    • 3
    • 12
  • p

    Pratik Patel

    12/11/2020, 3:52 PM
    Please RT this tweet to get more people interested in Kotlin and Data Science 🙂 https://twitter.com/prpatel/status/1337424798461419520
    m
    • 2
    • 1
  • m

    Maria Khalusova

    12/17/2020, 4:48 PM
    https://blog.jetbrains.com/kotlin/2020/12/lets-plot-in-kotlin/
    📈 1
    🎉 10
    👏 6
    h
    m
    +2
    • 5
    • 5
  • p

    Pavel Gorgulov

    12/28/2020, 9:00 AM
    Hi folks! We are happy to share with you a very first preview of Multik  — a library of multidimensional arrays we are working on. It provides Kotlin-idiomatic, type- and dimension-safe API for mathematical operations on arrays. API has two pluggable implementations in Kotlin/JVM and Native (via JNI), and they can be switched on the fly to get the best performance. Right now we are in the first alpha stage and we are dying for your feedback. Read more: https://github.com/Kotlin/multik
    🔢 1
    😒uspend: 1
    👍 5
    :kotlin: 3
    👀 2
    🤔 2
    a
    m
    +3
    • 6
    • 29
  • m

    Michal Harakal

    12/28/2020, 3:52 PM
    @Pavel Gorgulov I've asked already the same question in #deeplearning room, are there some plans to use multik with other JB's data science libs (like DL) ?
    i
    z
    • 3
    • 2
  • m

    Michal Harakal

    12/28/2020, 3:53 PM
    Another question to understand. Why do you need 2 different implementations? Because of memory model on native?
    p
    a
    • 3
    • 2
  • h

    holgerbrandl

    01/10/2021, 9:55 PM
    When defining a type renderer in kotlin-jupyter for library such as https://github.com/Kotlin/kotlin-jupyter/blob/master/libraries/krangl.json#L21 , is it possible to add another renderer for a package-internal class? I'd love to add support for
    krangl.GroupedDataFrame
    but this class is package-internal, and I'm somehow reluctant to make it part of the public library API just to get a more pretty rendering in jupyter. For corresponding sources see https://github.com/holgerbrandl/krangl/blob/master/src/main/kotlin/krangl/GroupedDataFrame.kt#L15
    i
    • 2
    • 8
  • h

    holgerbrandl

    01/11/2021, 7:41 PM
    Hi folks, I've worked with the kotlin-jupyter kernel last weekend and I was amazed by its stability and its wonderful module-definition feature. See yourself (just in case you like spaghetti and philosophy, but who doesn't...) https://github.com/holgerbrandl/kalasim/blob/master/simulations/notebooks/dining.ipynb . Or if you prefer a more gentle/verbose introduction see the corresponding manual page https://www.kalasim.org/examples/dining_philosophers/ FYI @Maria Khalusova data science with kotlin!
    ❤️ 6
    a
    i
    m
    • 4
    • 7
  • i

    Igor Alshannikov

    01/18/2021, 9:34 PM
    Hi, check out new CorrPlot builder https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/correlation_plot.ipynb in the last week's Lets-Plot Kotlin release: https://github.com/JetBrains/lets-plot-kotlin/releases/tag/v1.2.0
    :kotlin-intensifies: 1
    a
    h
    • 3
    • 17
  • a

    Arkangel

    01/19/2021, 10:41 PM
    Hi are there any good tutorials on Kotlin ML pls
    m
    h
    • 3
    • 3
  • h

    holgerbrandl

    01/21/2021, 3:29 PM
    Does KotlinDL support reinforcement learning? E.g to support kotlin implementations such as MuZero?
    z
    • 2
    • 3
  • h

    holgerbrandl

    01/21/2021, 9:14 PM
    When building datascience APIs with kotlin, do you refer to missing values as NA nor null? Data-scientists are likely to prefer NA, and most kotlin programmer will prefer null. I'm asking because I want to add https://www.rdocumentation.org/packages/tidyr/versions/0.8.3/topics/drop_na to krangl (which is a data-frame implementation for kotlin) but the correct kotlin name seems to be
    filterNotNull
    .
    i
    • 2
    • 5
  • b

    bjonnh

    01/23/2021, 1:45 AM
    how did you integrate with the JVM?
    a
    р
    j
    • 4
    • 9
  • b

    breandan

    01/24/2021, 10:29 PM
    Wrote a Markov chain sampler. It seems to work well, but it's kinda slow, any ideas how to speed it up? https://github.com/breandan/markovian/blob/master/src/main/kotlin/edu/mcgill/markovian/mcmc/MarkovChain.kt
    j
    a
    р
    • 4
    • 11
  • h

    holgerbrandl

    01/29/2021, 5:26 PM
    house advertising warning! Just in case you guys ever feel the urge to discuss how to create a discrete event simulation with kotlin --> #kalasim
    👍 3
    👀 1
    a
    f
    • 3
    • 16
  • a

    altavir

    02/01/2021, 7:29 AM
    How about renaming the channel into KotlinData or KotlinForData? We seem to discuss a lot of things like kotlin jupyter kernell not directly related to data science. @Maria Khalusova?
    m
    h
    • 3
    • 5
  • t

    TheMrCodes

    02/05/2021, 12:50 PM
    Maybe I missed something big but... is there any support for import project local Kotlin Classes from other Files into a jupyter notebook? Found nothing online regarding this.
    h
    a
    • 3
    • 4
  • h

    holgerbrandl

    02/08/2021, 8:56 PM
    Are you also experiencing issues with ipynb preview of kotlin-kernel rendered/computed notebook in gitlab? It shows text output but strips all images.
    i
    i
    • 3
    • 9
  • a

    altavir

    02/09/2021, 4:56 PM
    For those of you not subscribed for #science channel, a little trick for using Jupyter with locally built libraries and for distribution non-published buncles. The video is

    here▾

    . The short recepie is the following: 1. Create a project in the idea and do what you want, exposing APIs that you want to use from the jupyter. 2. Use shadow plugin to create fat-jar distribution 3. Copy resulting jar from
    build/libs
    to the location of your notebook or send it to the consumer alongside the notebook 4. Load it using
    @file:dependsOn("yourJar.jar")
    5. OR create a module json file which references local jar file in the same way. In a module you can also define default imports and startup scripts if you want. 6. The resulting notebook + jar + [optional] module file form a stand-alone bundle that will work for anybody you send it to without the requirement to install environment or build anything.
    👍 5
    j
    h
    • 3
    • 6
  • a

    altavir

    02/09/2021, 7:20 PM
    Aaaand big news: https://github.com/Kotlin/kotlin-jupyter/pull/99
    👏 4
    h
    • 2
    • 3
  • a

    altavir

    02/09/2021, 7:31 PM
    @Ilya Muradyan As far as I understand, the annotation processor is used only for library definition discovery. Are there any reasons not to use Java SPI? Also why definition is not an interface it needs to access something in JupyterIntegration?
    i
    • 2
    • 2
  • d

    David Martinez

    02/11/2021, 10:49 AM
    Hi all! I'm new here and I'm assessing the capabilities of Kotlin when working in the Data Science field. Any suggestions? Thanks!
    a
    • 2
    • 1
  • m

    Maria Khalusova

    02/17/2021, 1:49 PM
    https://twitter.com/KotlinForData/status/1362035723868774410?s=20
    :kotlin: 5
    🤘 2
    :kotlin-intensifies: 5
    🐍 2
    a
    • 2
    • 1
Powered by Linen
Title
m

Maria Khalusova

02/17/2021, 1:49 PM
https://twitter.com/KotlinForData/status/1362035723868774410?s=20
:kotlin: 5
🤘 2
:kotlin-intensifies: 5
🐍 2
a

altavir

02/18/2021, 7:16 AM
It would be nice to have more discussions on mathematical libraries design and requirements from the scientific and DS community. My persontal opinion is that Kotlin is much more flexible than Python and we can do very interesting new API solutions with it. Of course, numpy-style APIs are also needed for people comming form Python.
View count: 5