1. Write a Linux shell script to perform the following tasks in a given directory using “for” loop:
b. Move these *.sh files to another directory
Provide at least TWO (2) shell simple scripts samples to be executed for this program.
1. Write a Linux shell script to perform the following tasks in a given directory using “for” loop:
a. Change all files with *.sh extension to executable for all users
Provide at least TWO (2) shell simple scripts samples to be executed for this program.
1. Create a library of books in Python, with the following attributes.
(i) Title of book
(ii) Author of book
(iii) ISBN (International Standard Book Number)
(iv) Year of Publication.
(v) Book Classification (e.g. Fiction, Science, Art)
Required Object Class and Driver Class , Write a Java program to obtain transpose of a 4 x 4 matrix. The Transpose of the matrix is obtained by exchanging the elements of each row. With the elements of the corresponding column.
write a programme that represent the object computer which has features such as Memory, storage, speed and brand. suggest at least one method in addition to to the constructor
Linear Regression Assignment
1. Load the dataset using pandas
2. Extract data fromYearsExperience column is a variable named X
3. Extract data from salary column is a variable named Y
4. Divide the dataset into two parts for training and testing in 66% and 33% proportion
5. Create and train LinearRegression Model on training set
6. Make predictions based on the testing set using the trained model
7. Check the performance by calculating the r2 score of the mode
Naïve-Bayes Assignment
1. Load the dataset using pandas
2. Extract data fromOutcome column is a variable named Y
3. Extract data from every column except Outcome column in a variable named X
4. Divide the dataset into two parts for training and testing in 70% and 30% proportion
5. Create and train Naïve Bayes Model on training set
6. Make predictions based on the testing set using the trained model
7. Check the performance by calculating the confusion matrix and accuracy score of the model
Decision Tree Assignment
1. Load the dataset using pandas
2. Extract data fromOutcome column is a variable named Y
3. Extract data from every column except Outcome column in a variable named X
4. Divide the dataset into two parts for training and testing in 70% and 30% proportion
5. Create and train Decision Tree Model on training set
6. Make predictions based on the testing set using the trained model
7. Check the performance by calculating the confusion matrix and accuracy score of the model
1. Load the dataset using pandas
2. Extract data fromYearsExperience column is a variable named X
3. Extract data from salary column is a variable named Y
4. Divide the dataset into two parts for training and testing in 66% and 33% proportion
5. Create and train LinearRegression Model on training set
6. Make predictions based on the testing set using the trained model
7. Check the performance by calculating the r2 score of the model
Install the operating system into a virtual machine (VMware, virtual box, or VirtualPC). Remember to document important steps of your installation. [4] 1.2 Partition the disk into at least two logical drives (apart from the default ones). Name them appropriately.