Questions: 5 831

Answers by our Experts: 5 728

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

• Using Php Script write a program that will compute the students average



• The user will input the following:



 Name



 Math



 Science



 English



• If the average is equal and above 75, it will display “Congratulations. You passed the semester” otherwise “You failed the semester.”


Given an integer number N as input. Write a program to print the double triangular pattern of N lines using an asterisk(*) character as shown below.There is space after each asterisk character. using while loop




Anil is given a sentence as he tries to make a sentence special a sentence can be made special by swapping the character with high frequency with the character character has low frequency in the sentence help anil by transforming the sentence into a special sentence in python

swap most frequent letter with least given a sentence swap the occurences of the most frequent with the least frequent letter and vice-versa

note: consider upper & lower case letters as different .if there are multiple letters with the same frequencies choose the lower case letter that comes earliest in dictionary order O


input: Python is a programming language

o/p: Python is e progremming lenguega


input: Check your blood preeusre frequently

o/p: Check ybur olbbd preeusre frequently


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)



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


Given a string, write a program to remove all the words with K length.




Input




The first line of input String A.



The second line of input an integer K.




Output




The output should contain a string after removing all the words whose length is equal to K.




Explanation




For example, string A is "Tea is good for you", k is 3 then output should be "is good."



Here words "Tea","for","you" length is equal to 3, so these words are removed from string.




You work in XYZ Corporation as a Data Analyst. Your corporation has told you to visualize the mtcars.csv dataset with various plots. Tasks to be performed:

Dataset Link 1. Plot a histogram for the column ‘wt’.

a. Map the ‘wt’ onto the x-axis.

b. Provide the x-axis label as ‘weight of the cars’.

c. Provide the y-axis label as ‘Count’

d. Set the number of bins as 30.

e. Set the title as ‘Histogram for the weight values




LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS