Oscar Kjell
@oscarkjell.bsky.social
2.7K followers 280 following 46 posts
Assessing Psychological Constructs Using NLP and Machine Learning Developer of R-packages: #r-text, #r-topics and #r-talk Precision Mental health Well-being and Harmony Research Based at Lund University and Stony Brook University
Posts Media Videos Starter Packs
Reposted by Oscar Kjell
veerleceline.bsky.social
1/5 Did you ever wish to make a visualization of language data? 🤔

We made an R-based tutorial for social scientists on how to turn language data into visual insights ✅

Preprint: doi.org/10.31234/osf...
oscarkjell.bsky.social
the R-packages text 1.6 and topics .6 are now on CRAN

topics includes visualisation improvements

text is now easier to install, it checks for dependencies and instructs how to install them

hope to get more user feedback to improve installation further

www.r-text.org
#rtext #rtopics #LLM #AI
oscarkjell.bsky.social
hi again, please note that text 1.6 and topics 0.6 is now on CRAN.... and this version of text does not require the user to download JAVA. The installation is now made easier by explicitly checking and providing instructions regarding system dependencies. (again, thanks for the feedback)
Reposted by Oscar Kjell
hitop-system.bsky.social
We’ve just launched the HiTOP Teaching Hub—a space to collect and share materials for teaching dimensional models.

If you have anything you're willing to share, please contact @kathleenwreardon.bsky.social or @miriforbes.bsky.social

Here's what we have so far: www.hitop-system.org/hitop-teachi...
HiTOP Teaching Hub
Information about HiTOP self-report measures, including HiTOP-PRO, the harmful substance use module, and B-HiTOP
www.hitop-system.org
Reposted by Oscar Kjell
veerleceline.bsky.social
The LEADING reporting guideline is now published in Comprehensive Psychiatry 🥳

See www.sciencedirect.com/science/arti...

Or read the previous summary 👇
Reposted by Oscar Kjell
scientificdiscovery.dev
1/ Correction! 🚨 I found and fixed an important coding error in a chart I made.

Specifically, the peach category 'lymphatic and blood cancers' in this chart wrongly included both lymphoid and blood cancers (C81-C96) plus some of its subcategories, meaning some were double-counted.

Before & after:
Erroneous version of the chart with a significant share of cancer deaths being from lymphatic and blood cancers, across all ages. Fixed version of the chart with a much smaller share of cancer deaths being from lymphatic and blood cancers, especially smaller during childhood.
oscarkjell.bsky.social
1. which text version are you using? have you installed the latest version from CRAN 1.5?
2. when you try this, can you please first always remove the embeddings that are automatically saved in your working directory (called something like textPredict_694....RDS).
oscarkjell.bsky.social
i'm not able to reproduce this (some colleagues have tried too). if you run it in a standard R script, do u get some more info? (every time you try, pls use different texts input so u make a new embeddings every time). im also happy to schedule an online meeting next week to try n sort this out :)
oscarkjell.bsky.social
I’m thrilled about this special issue — please submit your abstract!
aidangcw.bsky.social
I'm excited to announce that the Journal of Psychopathology and Clinical Science is inviting proposal for a special issue on "Using Large Language Models (LLMs) to Advance the Understanding of Psychopathology."

Please see below for the call, which will be posted on our website shortly!

1/2
Reposted by Oscar Kjell
eastendjoe.bsky.social
Today’s reading exercise.
oscarkjell.bsky.social
if that does not work, can you please try running this:

res <- textAssess(
model_info = "valence_facebook_mxbai23_eijsbroek2024",
texts = "test one")
oscarkjell.bsky.social
in the console it says you are loading some embedings called textPredict_..... These are created automatically when running textPredict() with a new text. Now these embeddings are named differently; so try setting dim_name = FALSE within textPredict call.
oscarkjell.bsky.social
Thanks for your patience. Do u already have a word embeddings for this text in your working directory?
Can u pls 1) try with a different text, or 2) delete any word embeddings created from textPredict() in ur working directory.
(i should add improve the warning!).
oscarkjell.bsky.social
yes, thanks for letting me know. i've been thinking about this too. there are a few functions that i would prefer not having in both packaged to simplify maintenance. but, i will look into a solution so that the text-package installation does not require rJava. ill keep you posted.
oscarkjell.bsky.social
have you tried to first downloading java from www.java.com/en/download/.
www.java.com
oscarkjell.bsky.social
hmm what is the error? Have you tried installing rJava first?
here you can see more details about installing the text package (r-text.org/articles/hug...)
im happy to get feedback if it does not work.
Extended Installation Guide
r-text.org
oscarkjell.bsky.social
Version 1.5 of the #r-text package is now available from #CRAN.

This version improves the application of pre-trained language assessments from the #LBAM-library (r-text.org/articles/LBA...).

#mlsky #PsychSciSky #Statistics #PsychSciSky #StatsSky #NLP
The Language-Based Assessment Model (L-BAM) Library
r-text.org
oscarkjell.bsky.social
Thanks for tagging me 🙌 looks really interesting? Would you like to present this to our research lab in an online meeting?
Reposted by Oscar Kjell
topepo.bsky.social
The tidymodels group has an #rstats summer internship position this year.

The focus is on feature selection tools. All of the information is in the blog post below.

We look forward to seeing your applications!

www.tidyverse.org/blog/2025/01...
tidymodels Internship for 2025 - Tidyverse
The tidymodels team is sponsoring a summer internship in 2025.
www.tidyverse.org
oscarkjell.bsky.social
Thanks for the info! I will check it out!
Reposted by Oscar Kjell
randvegan.bsky.social
I really wish I discovered the {S7} and {cli} package before -- it would have really streamlined so much package development

100% recommend these tools for any package developers.

#rstats
oscarkjell.bsky.social
How come? Any advice on where to start learning more? 😁
Reposted by Oscar Kjell
mementomorty.bsky.social
when the star on the tree is an actual star lol

A NASA photo of the Christmas Tree Cluster 🎄
A NASA photo of NGC 2264- a cosmic tree that has been named the Christmas Tree Cluster which lives in our galaxy about 2,500 light-years from Earth. It contains baby stars that are between 1 and 5 million years old 🥺