pipeline and preprocessing and onehot encoding, Schemes and Mind Maps of Machine Learning

preprocessing, training, label encoding, one hot encoding, pipeline

Typology: Schemes and Mind Maps

2020/2021

Uploaded on 10/27/2023

shazif-dildar
shazif-dildar 🇵🇰

1 document

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
NAME: SHAZIF DILDAR
ENROLLMENT: 01-136212-042
SECTION: BS-AI (5A) MORNING
SUBMITTED TO: MAM BUSHRA SHABIR
Instructions:
Plagiarism is strictly discouraged.
Assignment should be in proper format i.e. Font Style: Times New Roman, Font Size: 12, Alignment:
Justified.
Lab 6 Journal
1. Practice all the examples mentioned in lab manual of 6th lab and take the screenshots of the
practiced examples.
pf3
pf4
pf5
pf8

Partial preview of the text

Download pipeline and preprocessing and onehot encoding and more Schemes and Mind Maps Machine Learning in PDF only on Docsity!

NAME: SHAZIF DILDAR

ENROLLMENT: 01-136212-

SECTION: BS-AI (5A) MORNING

SUBMITTED TO: MAM BUSHRA SHABIR

Instructions:

 Plagiarism is strictly discouraged.

 Assignment should be in proper format i.e. Font Style: Times New Roman, Font Size: 12, Alignment:

Justified.

Lab 6 Journal

1. Practice all the examples mentioned in lab manual of 6th^ lab and take the screenshots of the

practiced examples.

2. Create Binary search tree algorithm using Vectors. Create this program by using 6 threads.

BINARY SEARCH USING ARRAY:

MERGE SORT USING LINKED LIST

CODE:

#include #include <omp.h> // Definition of a Node in the linked list struct Node { int data; Node next; }; // Function to perform the merge operation on two linked lists Node merge(Node* left, Node* right) { if (left == NULL) return right; if (right == NULL) return left; Node* result = NULL; if (left->data <= right->data) { result = left; result->next = merge(left->next, right); } else {

headRef = merge(headRef, right); // Merge the sorted halves } // Function to print the linked list void printList(Node* node) { while (node != NULL) { std::cout << node->data << " "; node = node->next; } } int main() { // Constructing a simple linked list Node* head = new Node{5, new Node{3, new Node{7, new Node{1, new Node{4, new Node{2, NULL}}}}}}; // Perform the parallel traversal of the linked list std::cout << "The nodes of the linked list in parallel are: "; parallelTraverse(&head, 7); std::cout << "\nThe sorted linked list is: "; printList(head); std::cout << std::endl; return 0; } OUTPUT: