Julia Programming Language
All the ways to do one-hot encoding
General Usage
Mattriks
July 17, 2021, 11:38am
4
unique(x) .== permutedims(x)
42 Likes
Generating dummy variables from a vector of strings (one-hot encoding)
show post in topic
Related topics
Topic
Replies
Views
Activity
Replacing one column with three (DataFrames.jl)
Data
dataframes
3
594
August 3, 2021
Learning Julia: Writing a onehot encoder
Tooling
5
1442
October 23, 2019
Flux, categorical arrays, roc curves, confusion matrices
Machine Learning
flux
14
985
December 12, 2022
GPU-friendly one-hot encoding
General Usage
gpu
,
tullio
12
1768
October 31, 2020
Coming from python this took a while to figure out
New to Julia
3
291
March 17, 2024