Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Solving Task Using Regularisation | Machine Learning Techniques
Data Anomaly Detection

Swipe to show menu

book
Challenge: Solving Task Using Regularisation

Task

Swipe to start coding

Your task is to create a classification model using L2 regularization on the breast_cancer dataset. It contains features computed from a digitized image of a fine needle aspirate (FNA) of a breast mass. The task associated with this dataset is to classify the breast mass as malignant (cancerous) or benign (non-cancerous) based on the extracted features.

Your task is to:

  1. Specify argument at the LogisticRegression() constructor:
    • specify penalty argument equal to l2;
    • specify C argument equal to 1.
  2. Fit regularized model on the training data.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

Awesome!

Completion rate improved to 6.67

book
Challenge: Solving Task Using Regularisation

Task

Swipe to start coding

Your task is to create a classification model using L2 regularization on the breast_cancer dataset. It contains features computed from a digitized image of a fine needle aspirate (FNA) of a breast mass. The task associated with this dataset is to classify the breast mass as malignant (cancerous) or benign (non-cancerous) based on the extracted features.

Your task is to:

  1. Specify argument at the LogisticRegression() constructor:
    • specify penalty argument equal to l2;
    • specify C argument equal to 1.
  2. Fit regularized model on the training data.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

close

Awesome!

Completion rate improved to 6.67

Swipe to show menu

some-alt