Questions
Question 2 Consider the one-dimensional data set shown below. x 0.5 3.0 4.5 4.6 4.9 5.2...

Question 2 Consider the one-dimensional data set shown below.

x 0.5 3.0 4.5 4.6 4.9 5.2 5.3 5.5 7.0 9.5
y - - + + + - - + - -

Classify the data point x = 5.0 according to its 1st, 3rd, 5th, and 9th nearest neighbors using K-nearest neighbor classifier.

Question 3 Use data set mushrooms.csv available for developing supervised model. The data set contains two classes namely,edible and poisonous. Perform following analysis on the data set.

Data Set:

1. Understand distribution of classes in the data set using suitable plots.

2. Develop supervised models: Decision tree and k-nearest neighbor

3. Identify best k in Cross-validation evaluating method for supervised models in step 3.

4. Discuss results achieved by each supervised model using confusion matrix, sensitivity, specificity,accuracy, F1-score and ROC curve.

5. Provide your opinion on why there exist variation in performance by models.

In: Computer Science

Q) According to project management the project scope refers to all the works involved in creating...

Q) According to project management the project scope refers to all the works involved in creating the products of the project and the processes used to create them. Analyze the project scope management processes for IS project with appropriate examples.

In: Operations Management

Design a 4x4 Sequential Multiplier Circuit Design a sequential circuit to calculate the product of two...

Design a 4x4 Sequential Multiplier Circuit

Design a sequential circuit to calculate the product of two 4-bit binary numbers, and then display the decimal result in three HEX displays. Design the circuit at the register transfer level. The inputs include two 4-bit binary numbers, one clock signal, one reset, and one start. The output includes one 8-bit binary number, one ready signal. The sequential circuit uses adder only, and does not use combinational multiplier. Using basic gates : Counter, Register, Shift register, Adder. The design shall have two circuits: A main circuit, A controller circuit.

In: Electrical Engineering

Q) To distinguish between the projects there are various methods such as Return on investment (ROI),...

Q) To distinguish between the projects there are various methods such as Return on investment (ROI), Weight scoring model and Payback. Explain how to apply each of them with appropriate examples.

In: Operations Management

Within the scope of human behavior in regards to motivation and affect what part does Conceptualizing...

Within the scope of human behavior in regards to motivation and affect what part does Conceptualizing Involvement play. Explain(Chapter 5, pp. 163-165)

In: Psychology

Cash Budget Wilson's Retail Company is planning a cash budget for the next three months. Estimated...

Cash Budget
Wilson's Retail Company is planning a cash budget for the next three months. Estimated sales revenue is as follows:

Month Sales Revenue Month Sales Revenue
January $300,000 March $200,000
February 210,000 April 190,000

All sales are on credit; 60 percent is collected during the month of sale, and 40 percent is collected during the next month. Cost of goods sold is 70 percent of sales. Payments for merchandise sold are made in the month following the month of sale. Operating expenses total $41,000 per month and are paid during the month incurred. The cash balance on February 1 is estimated to be $20,000.

Prepare monthly cash budgets for February, March, and April.

Use negative signs only with beginning and ending cash balances, when appropriate. Do not use negative signs with disbursement answers.

Wilson's Retail Company
Cash Budgets
February, March, and April
February March April
Cash balance, beginning $Answer $Answer $Answer
Total Cash receipts Answer Answer Answer
Cash available Answer Answer Answer
Total disbursements Answer Answer Answer
Cash balance, ending $Answer $Answer $Answer

In: Accounting

Please write a 2-page paper addressing the questions below §Describe the process for generating idea. §How...

Please write a 2-page paper addressing the questions below

§Describe the process for generating idea.

§How can designers use idea generation to develop solutions?

§What’s your favorite technique for idea generation? Why?

§How do you screen ideas to find the best one? How does this help with the next step of the process, prototyping?

In: Operations Management

Investigate the Role of the Nurse Leader as a Change Agent Assignment Background: The hospital you...

Investigate the Role of the Nurse Leader as a Change Agent

Assignment Background:

The hospital you work for has gained Magnet® distinction. The nursing leadership at your organization has reached out to a group of “Super Users” to gain essential knowledge of the Magnet® Model and implement it on your unit. You, as a “Super User,” have demonstrated leadership and engagement in the organization and are ready to take on the task!

Assignment Instructions:

Create a poster presentation to display in the staff lounge of your unit. The poster presentation must include the following:

  1. Give clear and Accurate definitions of the main components to the Magnet® Model.
  2. A description of at least two qualities of effective change agents that help promote the change process to the Magnet® Model for your unit.
  3. Two examples demonstrating the role of the nurse leader/manager in implementing the change to the Magnet® Model on your unit.
  4. A brief analysis of the benefits of the transition to the Magnet® Model for leaders and followers.
  5. use At least three scholarly resources to support ideas.
  6. APA format for in-text citations and references.

A poster presentation is a way to share the main components of a concept, research, or new knowledge. In many instances, posters are used to briefly describe a research paper or new process in a format that is quick to read and easy to follow.

In: Nursing

I have a countdown sequence i have to do for a code, when the result is...

I have a countdown sequence i have to do for a code, when the result is entered it starts to countdown, i tried imputting some codes but i am clueless ( javascript):

/*******************************************************************************

* Problem 3: create count-down number sequence strings

*

* A count-down sequence is a String made up of a descending list of numbers.

* For example, the count-down sequence for the number 3 would be:

*

* "321"

*

* Write the countDownSequence function below, allowing any number between

* 1 and 10 to be accepted.  Otherwise, throw an error (see

* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error)

*

* If we called countDownSequence(5) we'd expect to get:

*

* "54321"

*

* If we called countDownSequence(55) we'd expect to have an error thrown

*

* Error: only start values between 1 and 10 are valid

*

* @param {Number} start - the number to start counting down from (must be 10 or smaller).

******************************************************************************/

function countDownSequence(start) {

  var ret = '';

  while (start >= 0) {

    ret += start;

    if (start > 0) {

      ret += '';

    }

    start--;

  }

  return ret;

  // Your code here...

}

It has to pass these tests:

const { countDownSequence } = require('./solutions');

describe('Problem 3 - countDownSequence() function', function() {

  test('proper count down sequence from 10', function() {

    let start = 10;

    let result = countDownSequence(start);

    expect(result).toBe('10987654321');

  });

  test('proper count down sequence from 1', function() {

    let start = 1;

    let result = countDownSequence(start);

    expect(result).toBe('1');

  });

  test('starting at 0 should throw', function() {

    function shouldThrow() {

      // Using 0 is invalid, this should throw

      countDownSequence(0);

    }

    expect(shouldThrow).toThrow();

  });

  test('starting at a negative number should throw', function() {

    function shouldThrow() {

      // Using -100 is invalid, this should throw

      countDownSequence(-100);

    }

    expect(shouldThrow).toThrow();

  });

  test('starting at a number greater than 10 should throw', function() {

    function shouldThrow() {

      // Using 11 is invalid, this should throw

      countDownSequence(11);

    }

    expect(shouldThrow).toThrow();

  });

});

In: Computer Science

Question: Find the connection between you and the reading and the connection between the article and...

Question: Find the connection between you and the reading and the connection between the article and society. Consider your own experiences , media stories or experiences within a community ( work,school, or other setting )

Article: A present for Popo by Elizabeth Wong

The child of chinese immigrants, Elizabeth Wong was born in Los Angeles. She has a master's degree in fine arts and has worked as a writer for news papers and television. She has also written several plays. In " A Present for Popo," Wong describes a beloved grandmother.

Before you read this essay, consider these questions:

Are you afraid of growing old ?

Do you think most old people in north America are treated well ?

Are they respected ? ignored ?

Are you close to anyone over sixty-five ?

Did you grow up in the close contact with a grandparent ?

Is there one person who holds your family together ?

When my Popo opened a Christmas gift, she would shake it, smell it, listen to it. She would size it up. She would open it nimbly, with all enthusiasm and delight, and even though the mittens were ugly or the blouse too small or the card obviously homemade, she would coo over it as if it were the baby Jesus.

Despite that, buying a gift for my grandmother was always problematic. Being in her late 80s, Popo didn't seem to need any more sweaters or handbags. No books certainly, as she only knew six words of English. Cosmetics might be a good idea, for she was just a wee bit vain.

But ultimately, nothing worked. "No place to put anything anyway," she used to tell me in Chinese. For in the last few years of her life, Popo had a bed in a room in a house in San Gabriel owned by one of her sons. All her belongings, her money, her very life was now co-opted and controlled by her sons and their wives. Popo's daughters had little power in this matter. This was a traditional Chinese family.

For you see, Popo had begun to forget things. Ask her about something that happened 20 years ago, and she could recount the details in the heartbeat of a New York minute. But it was those niggling little everyday matters that became so troubling. She would forget to take her heart medicine. She would forget where she put her handbag. She would forget she talked to you just moments before. She would count the few dollars in her billfold, over and over again. She would ask me for the millionth time, "So when are you going to get married?" For her own good, the family decided she should give up her beloved one-room Chinatown flat. Popo herself recognized she might be a danger to herself, "I think your grandmother is going crazy," she would say.


That little flat was a bothersome place, but Popo loved it. Her window had a view of several import-export shops below, not to mention the grotesque plastic hanging lanterns and that nasty loudspeaker serenading tourists with 18 hours of top-40 popular hits.

My brother Will and I used to stand under her balcony on Mei Ling Way, shouting up, "Grandmother on the Third Floor! Grandmother on the Third Floor!" Simultaneously, the wrinkled faces of a half-dozen grannies would peek cautiously out their windows. Popo would come to the balcony and proudly claim us: "These are my grandchildren coming to take me to dim sum. " Her neighbors would cluck and sigh, "You have such good grandchildren. Not like mine."

In that cramped room of Popo's, I could see past Christmas presents. A full-wall collage of family photos that my mother and I made together and presented one year with lots of fanfare. Popo had attached additional snapshots by way of paper clips and Scotch tape. And there, on the window sill, a little terrarium to which Popo had tied a small red ribbon. "For good luck," as she gleefully pointed out the sprouting buds. "See, it's having babies."

Also, there were the utility shelves on the wall, groaning from a wide assortment of junk, stuff and whatnot. Popo was fond of salvaging discarded things. After my brother had installed the shelving, she did a little jig, then took a whisk broom and lightly swept away any naughty spirits that might be lurking on the walls. "Shoo, shoo, shoo, away with you, Mischievous Ones!" That apartment was her independence, and her pioneer spirit was everywhere in it.

Popo was my mother's mother, but she was also a second mother to me. Her death was a great blow. The last time I saw her was Christmas, 1990, when she looked hale and hearty. I thought she would live forever. Last October, at 91, she had her final heart attack. The next time I saw her, it was at her funeral.

An open casket, and there she was, with a shiny new penny poised between her lips, a silenced warrior woman. Her sons and daughters placed colorful pieces of cloth in her casket. They burned incense and paper money. A small marching band led a New Orleans-like procession through the streets of Chinatown. Popo's picture, larger than life, in a flatbed truck to survey the world of her adopted country.

This little 4-foot, 9-inch woman had been the glue of our family. She wasn't perfect; she wasn't always even nice, but she learned from her mistakes, and, ultimately, she forgave herself for being human. It is a lesson of forgiveness that seems to have eluded her own sons and daughters.


And now she is gone. And with her--the tenuous, cohesive ties of blood and duty that bound us to family. My mother predicted that once the distribution of what was left of Popo's estate took place, no further words would be exchanged between Popo's children. She was right.

But this year, six of the 27 grandchildren and two of the 18 great-grandchildren came together for a holiday feast of honey-baked ham and mashed potatoes. Not a gigantic family reunion. But I think, for now, it's the one yuletide present my grandmother might have truly enjoyed.

Merry Christmas, Popo!

In: Psychology

Describe a time in your life when NOT being your authentic self may have had an...

Describe a time in your life when NOT being your authentic self may have had an effect on your success. If you had the chance to do it all over again, what would you do differently now that you know the importance of being your authentic self

In: Psychology

On January 2, 2011, Jansing Corporation acquired a new machine with an estimated useful life of...

On January 2, 2011, Jansing Corporation acquired a new machine with an estimated useful life of five years. The cost of the equipment was $40,000 with a residual value of $5,000.

a. Prepare a complete depreciation table under the two depreciation methods listed below.

1. Straight-line.

2. 200 percent declining-balance.

3. 150 percent declining-balance with a switch to straight-line when it will maximize depreciation

expense.

In: Accounting

Give three examples of linguistic problems that companies have faced during marketing in global markets and...

Give three examples of linguistic problems that companies have faced during marketing in global markets and describe how these problems could have been avoided.

In: Operations Management

In terms of consumer behavior, are the world's countries and their cultures becoming more similar or...

In terms of consumer behavior, are the world's countries and their cultures becoming more similar or more different? Discuss

In: Operations Management

(C++) In a file called pp7c.cpp, write a function called printMoney that has one parameter, a...

(C++)
In a file called pp7c.cpp, write a function called printMoney that has one parameter, a double, and it prints this parameter out formatted like a dollar amount with $ and exactly 2 digits to the right of the decimal. Write a driver that declares an array of monetary amounts like this:
double amounts[MAX_AMOUNTS];
and uses a while or do while loop to ask the user for monetary amounts with -1 for the amount as a sentinel value to put values in the array, amounts. Do not allow the user to enter more than MAX_AMOUNTS numbers. This loop must count how many numbers are placed in the amounts array as the array may be partially filled. After using a do or do while loop to fill the array, write a for loop to call the printMoney function to print all of the values in the amounts array. The constant and function declarations are shown below.

                const int MAX_AMOUNTS = 10;

void printMoney( double m );

In: Computer Science