Regression Tutorial with Julia

Packages to use
using Pkg; Pkd.add(“<PackageName>")

Data Load and Checking

coerce!(dataset, Count=>MLJ.Continuous);

Creating Models

Assessing results

MAE: 51.26912864372159 
RMSE: 59.80738088464344
RMSP: 2.398347880392765
MAPE: 0.9529914417765525
(coefs = [:age => -0.5600676786856139, :anaemia => -17.379451678818782, :creatinine_phosphokinase => -0.0024220637584861492, :diabetes => 5.5623104572596525, :ejection_fraction => -0.4719281676537811, :high_blood_pressure => -23.336061031579977, :platelets => -2.9328265873457684e-5, :serum_creatinine => 1.80232687559864, :serum_sodium => 0.06127126459720784, :sex => -3.8716177684193114, :smoking => -6.7752701233783705, :DEATH_EVENT => -86.69157019555797], intercept = 226.6056333198319,)

Evaluating Final Model

Conclusion

--

--

--

pharmacist, data scientist, providing better healthcare with data!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

5 Tips on How to Land Machine Learning Jobs

How to Vectorize Antiviral Structure for Machine Learning Use Against the Novel Coronavirus

Privacy Preserving Machine Learning for Healthcare using CrypTFlow

Fundamentals of AI: Machine Learning VS Deep Learning

Everything you need to know about “activation functions” for deep learning models

Deep Learning in Kotlin

Enable Intelligent Query with Biological NLP and Knowledge Graphs

A Simple Explanation Of L1 And L2 Regularization

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
João Almeida

João Almeida

pharmacist, data scientist, providing better healthcare with data!

More from Medium

Introduction to PCA (Principal Component Analysis)

Categorical variable encoding in Pandas

K-Means Clustering in Python

Gradient Descent for “Everyone” | Accessible Machine Learning Series