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
- Click the notebook link above
- In Google Drive click the three dots menu (⋮) or right-click the file
- Select "Open with" → "Google Colaboratory"
Method 2: Download and Upload to Colab
-
Download the notebook:
- Click on the notebook link above
- Click the Download button in Google Drive
- Save the
.ipynbfile to your computer
-
Upload to Colab:
- Go to https://colab.research.google.com
- Click "File" → "Upload notebook"
- Choose the downloaded
.ipynbfile