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
Sectionย 3. Chapterย 4
single

single

bookChallenge: Solving Task Using Regularisation

Swipe to show menu

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

some-alt