ESE begin 27 April 2026. View Timetable
Logo

Experiment 2

(A) Design a single unit perceptron for classification of a linearly separable binary dataset without using pre-defined models. Use the Perceptron() from sklearn. (B) Identify the problem with single unit Perceptron. Classify using OR, And & XOR data and analyze the result.

Perform

Resources

How to Import Notebook in Google Colab

Method 1: Open directly in Google Drive

  1. Click the notebook link above
  2. In Google Drive click the three dots menu (⋮) or right-click the file
  3. Select "Open with" → "Google Colaboratory"

Method 2: Download and Upload to Colab

  1. Download the notebook:

    • Click on the notebook link above
    • Click the Download button in Google Drive
    • Save the .ipynb file to your computer
  2. Upload to Colab:

ColabOpen Colab

On this page