Orange: Logistic Regression

From OnnoWiki
Revision as of 15:10, 6 March 2020 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://docs.biolab.si//3/visual-programming/widgets/model/logisticregression.html


Algoritma klasifikasi logistic regression dengan regularisasi LASSO (L1) atau ridge (L2).

Input

Data: input dataset
Preprocessor: preprocessing method(s)

Output

Learner: logistic regression learning algorithm
Model: trained model
Coefficients: logistic regression coefficients

Logistic Regression belajar Logistic Regression model dari data. Dia hanya bisa bekerja / berfungsi untuk task classification.

LogisticRegression-stamped.png
  • A name under which the learner appears in other widgets. The default name is “Logistic Regression”.
  • Regularization type (either L1 or L2). Set the cost strength (default is C=1).
  • Press Apply to commit changes. If Apply Automatically is ticked, changes will be communicated automatically.

Contoh

Widget digunakan sama seperti widget lainnya untuk menginduksi classifier. Ini adalah contoh yang menunjukkan hasil prediksi dengan logistic regression pada dataset hayes-roth. Kita pertama-tama me-load hayes-roth_learn di widget File dan meneruskan data ke Widget Logistic Regression. Lalu kita meneruskan model hasil training ke Widget Predictions.

Now we want to predict class value on a new dataset. We load hayes-roth_test in the second File widget and connect it to Predictions. We can now observe class values predicted with Logistic Regression directly in Predictions.

LogisticRegression-classification.png

Contoh Workflow lain,

OrangeLogisticRegression.png


Referensi

Pranala Menarik