https://kotlinlang.org logo
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
  • i

    Igor Alshannikov

    12/17/2019, 8:38 PM
    We are developing a library for statistical plotting which is pure Kotlin and multiplatform: https://github.com/JetBrains/lets-plot The library includes some statistical algorithms - in particular, smoothing algorithms. We've picked some low hanging fruit -
    linear model
    (or
    lm
    ) smoothing - although we have not yet implemented more complex algorithms such as
    loess
    ,
    glm
    or
    gam
    . Is anybody aware of a pure-Kotlin statistical library in existence or in development which might include said algorithms?
    a
    t
    • 3
    • 11
  • a

    altavir

    12/18/2019, 1:36 PM
    Second kotlinconf day records have arrived. The most important thing for scientific ecosystem is the talk from @roman.belov:

    https://www.youtube.com/watch?v=APnyDVye4JA&list=PLQ176FUIyIUY6SKGl3Cj9yeYibBuRr3Hl&index=39&t=0s▾

    j
    r
    • 3
    • 3
  • i

    iamsteveholmes

    12/20/2019, 10:21 PM
    Not many languages that have the language designers backing an initiative for improving their data science presence.
    😀 1
    a
    i
    • 3
    • 7
  • n

    Ngenge Senior

    12/26/2019, 9:58 PM
    Hello. I have followed the instructions for installing kotlin-jupyter using Gradle and even using pip but I don't understand how to start the notebook since typing
    jupyter console --kernel=kotlin
    shows that jupyter is not installed. I am using Ubuntu. Do I install jupyter separately?
    a
    • 2
    • 2
  • j

    Joaquin Diez

    01/17/2020, 2:54 PM
    I am trying to create a notebook
    a
    • 2
    • 6
  • b

    breandan

    01/19/2020, 8:47 PM
    http://web.eecs.utk.edu/~azh/blog/notebookpainpoints.html
    👍 3
    a
    b
    +2
    • 5
    • 12
  • b

    bjonnh

    01/30/2020, 4:32 PM
    Do we have anything similar to PyMC in Java/Kotlin?
    a
    • 2
    • 5
  • k

    kz

    02/01/2020, 12:59 AM
    I would be fine with that but then I can't use the same names since the extension function won't be chosen over the virtual function of the same name.
    j
    • 2
    • 2
  • m

    Maria Khalusova

    02/10/2020, 6:17 PM
    Hi folks! 👋 I’m stopping by to introduce myself, because I expect to be hanging out in this channel quite often. My name’s Maria, and I am now helping the team to make Kotlin better suited for data professionals.  One of the first things that I’d like to do is to get to know this community better, and to do so I would like to conduct a series of interviews with you. My goal is to understand what you do, how and why, and ultimately how we can make Kotlin better suited for your needs. You can help us immensely by volunteering to participate in these interviews :)  Please DM me if you have some time to spare and would like to help us, and I’ll share more details.
    🤩 2
    👋 3
    👍 15
    ✅ 4
    a
    • 2
    • 2
  • b

    breandan

    02/15/2020, 4:27 PM
    Features of Kotlin Orbit Estimation Library (KOrbEstLib): http://www.irbis-nbuv.gov.ua/cgi-bin/irbis_nbuv/cgiirbis_64.exe?C21COM=2&I21DBN=UJRN&P21DBN=UJRN&IMAGE_FILE_DOWNLOAD=1&Image_file_name=PDF/oap_2018_31_41.pdf
    a
    i
    • 3
    • 9
  • a

    altavir

    02/16/2020, 12:25 PM
    message has been deleted
    👍 3
    j
    • 2
    • 27
  • j

    jimn

    02/21/2020, 7:49 AM
    what I'm not finding after only a few minutes of googling is anyone who has undertaken benchmarks across jvm<->non-jvm dataframe tools. there appears to be some articles but this looks like a very non-standardized area. i found microbenchmarks of pandas operations as well, but the machine-killing heap hazards are not in those benhcmarks.
    a
    b
    • 3
    • 37
  • n

    Nusret Özateş

    02/23/2020, 9:55 PM
    Hi everyone! How can use krangl with Smile library? For example with Linear Regression (OLS in Smile)
    a
    j
    h
    • 4
    • 21
  • g

    groostav

    03/04/2020, 8:13 PM
    Hey guys, I build a desktop software but have been contracted to help build some data collection. Its gotta be on-site (no cloud). Its mostly collecting data from a set of my-sql dbs written to by embedded devices. Might have latency requirements (I've pushed back on "real time"). I'm thinking about using Apache Camel, but itl be my first time using this framework. Anyone here got experience with it?
    j
    b
    • 3
    • 8
  • b

    bjonnh

    03/10/2020, 7:43 PM
    is there any reason all the demos are using javafx-swing?
    i
    • 2
    • 6
  • m

    Maria Khalusova

    04/03/2020, 12:26 PM
    An interesting experiment: https://medium.com/@zaleslaw/how-to-train-the-linear-regression-model-with-tensorflow-java-api-on-kotlin-89e2bf2f2b34
    👍 10
    a
    j
    z
    • 4
    • 5
  • a

    altavir

    04/15/2020, 8:41 AM
    @Maria Khalusova It would be nice to have a discussion about API design. It won't do to just copy Python API in kotlin.
    m
    j
    m
    • 4
    • 25
  • l

    lovis

    04/24/2020, 2:27 PM
    Hi everyone, this is probably not really the right place to ask, as it’s more a lets-plot question. but since I’m using lets-plot-kotlin I’m just asking here: how can I configure the axis of a plot? I’ve got 5000 points, but I don’t want to have 5000 entries on the y-axis 😅 (step size 1000 is enough) Can anybody point me in the right direction? I’ve already checked https://nbviewer.jupyter.org/github/JetBrains/lets-plot/blob/master/docs/examples/jupyter-notebooks/legend_and_axis.ipynb but couldn’t find something useful. Thanks a lot!
    i
    • 2
    • 5
  • m

    mattmoore

    04/28/2020, 6:23 PM
    message has been deleted
    m
    • 2
    • 10
  • a

    altavir

    04/30/2020, 11:14 AM
    Some deeplearning4j kotlin notebook samples: https://github.com/fbrunacci/kotlin-notebook-samples. I hope the author will join us for the discussion.
    z
    • 2
    • 1
  • r

    roman.belov

    04/30/2020, 9:23 PM
    Hi folks! We’ve just released an update to the Kotlin kernel for Jupyter! Now it supports a proper completion and compilation errors detection on the fly. Just like in IDEA ;) More details here: https://blog.jetbrains.com/kotlin/2020/05/kotlin-kernel-for-jupyter-notebook-v0-8/
    👍 18
    j
    m
    +5
    • 8
    • 23
  • n

    Nusret Özateş

    05/19/2020, 11:14 PM
    Hello! This question isn't about Kotlin but about DL4J, my deep learning model works great with cpu but when I try to use my gpu, my model score just fly up to 4600 in 10k iteration, how can I understand the reason behind it
    a
    • 2
    • 1
  • a

    altavir

    05/27/2020, 7:15 AM
    message has been deleted
    👌 4
    m
    i
    • 3
    • 10
  • a

    altavir

    05/29/2020, 6:57 AM
    @roman.belov How do I insert static JS loading into the notebook module configuration? Am I right that
    DISPLAY(HTML(jetbrains.datalore.jupyter.configureScript()))
    has something to do with that?
    i
    i
    a
    • 4
    • 13
  • d

    Domenic

    06/01/2020, 6:54 AM
    I've got a kotlin project using Bazel as the build system. I'm struggling to figure out how to get my library code/files to be visible in the jupyter-kotlin notebook. I've tried
    @file:DependsOn()
    with a path to the .jar file which works so long as there are no external dependencies in that file. Is there an example of how to work with local IDE code in a kotlin notebook?
    a
    a
    • 3
    • 5
  • a

    altavir

    06/02/2020, 6:49 AM
    After some reverse engineering, I found out how lets-plot loads its dependencies. It does more or less what I expected - loads and cached the script. The important problem is that it won't work without internet. I think, that those JS files should be loaded locally. @Anatoly Nikitin, I left an issue on the github about that.
    Untitled
    i
    • 2
    • 3
  • m

    Maria Khalusova

    06/16/2020, 12:17 PM
    https://kotlinlang.slack.com/archives/C0922A726/p1592309795293300
    🎉 4
    a
    s
    • 3
    • 5
  • a

    Antonios Barotsis

    06/16/2020, 7:37 PM
    Hello everyone, Im new both to kotlin and slack, I was experimenting with the kt jupyter notebook kernel and I was wondering 1. Is it possible to download the plots I create as images? 2. Im using lets-plot but the documentation link seems to be dead, Is there a way to hide some of the values of one of the two axis to make its values readable? I have way too many entries on my data set and the labels get overlayed and become unreadable
    i
    • 2
    • 3
  • v

    Va3000

    06/19/2020, 2:05 PM
    Hello friends i am russian howswife 40 years old searchind ODS people from russia who knows ods.ai I am nube and do not know IT can i find such them here?
    a
    c
    • 3
    • 6
  • a

    altavir

    06/25/2020, 1:40 PM
    @breandan following your question on Twitter (I am not actively using it, so I saw your comment by accident), type providers for the notebook are defined in a module descriptrion: https://github.com/Kotlin/kotlin-jupyter/blob/c85e2fc9af38b39811b020edc12cbfad90b9f3fd/libraries/dataframe.json#L26-L31
    👍 3
    b
    • 2
    • 3
Powered by Linen
Title
a

altavir

06/25/2020, 1:40 PM
@breandan following your question on Twitter (I am not actively using it, so I saw your comment by accident), type providers for the notebook are defined in a module descriptrion: https://github.com/Kotlin/kotlin-jupyter/blob/c85e2fc9af38b39811b020edc12cbfad90b9f3fd/libraries/dataframe.json#L26-L31
👍 3
b

breandan

06/25/2020, 1:49 PM
Thanks for sharing! I was curious how it works from an implementation standpoint, as I am also working on some notebook tools at school. Seems like making this kind of runtime code generation accessible to the environment (either as a type provider or “completion” provider) opens up a lot of possibilities from a tooling perspective
a

altavir

06/25/2020, 1:52 PM
Yeah. There are several very interesting possibilities. Right now I am interested in visualization tools, static resources and js-generation on flight, but there are several rather possibilities from the language point of view as well.
The most important thing, we can use those for proof-of-concept implementations for future compiler plugins.
View count: 6