Which of the following algorithms is deterministic, in the sense that for a given input, a constant output will necessarily be given?

Select the best answer



Select one:
A.
The K-Means algorithm with the Lloyd method

B.
The K-Means algorithm with the Forgy method

C.
The K-Means algorithm with the K-means++ method

D.
The K-NN algorithm with a weighted average

Answers

Answer 1

The following algorithms is deterministic, in the sense that for a given input, a constant output will necessarily be given are C.The K-Means algorithm with the K-means++ method.

What is the difference between What is the distinction among K method and K-method ++?

Both K-method and K-method++ are clustering strategies which comes beneath neath unsupervised learning. The fundamental distinction among the 2 algorithms lies in: the choice of the centroids round which the clustering takes place. okay methodthe ++ eliminates the disadvantage of K method that's it's miles depending on initialization of centroids.

This set of rules guarantees a wiser initialization of the centroids and improves the first rate of the clustering. Apart from initialization, the relaxation of the set of rules is similar to the same old K-method set of rules. That is K-method++ is the same old K-method set of rules coupled with a wiser initialization of the centroids.

Read more bout the  K-Means algorithm:

https://brainly.com/question/15016224

#SPJ1


Related Questions

Write a program to convert kilometers/hr to miles/hr. The program should produce a table of 10 conversions, starting at 60 km/hr and incremented by 5 km/hr. The display should have appropriate headings and list each km/hr and its equivalent miles/hr value. Use the relationship that 1 kilometer = 0.6241 miles. Implement this program using the FOR loop. Sample output is given below: write a c++ programe Page 1 of 2 I KM per hour Miles per hour 60 37.4460 65 40.5665 70 43.6870 46.8075 80 49.9288 85 53.0485 90 56.1690 95 59.2895 100 62.4100 105 65.5305​

Answers

Answer:

#include <iostream>

using namespace std;

int main()

{

   float speed_in_km_per_hr = 60;

   

   // Output table head

   cout << "km/hr  miles/hr." << endl;

   

   for (int i = 0; i < 10; i++)

   {

     // Convert KM/hr to miles/hr

     float speed_in_miles_per_hr = speed_in_km_per_hr * 0.6241;

     

     // Output speeds

     cout << speed_in_km_per_hr << "     " << speed_in_miles_per_hr << endl;

     

     // Increase by 5

     speed_in_km_per_hr = speed_in_km_per_hr + 5;

   }

     

   return 0;

}

Explanation:

View One | View All
2
A team of students is in the process of designing a control system. After
conducting extensive testing of the prototype, the team discovers that it does not
work as expected. The team returns to a previous step of the engineering design
process.
Which step should the team take next in order to complete this project?
to present their solution
to plan their next prototype tests
to design a new solution
to define their new problem

Answers

In the case above step should the team take next in order to complete this project is to to plan their next prototype tests.

What are the  steps in the design process?

The engineering design process is known to be made up of seven step and they are:

Define the problem AskImaginePlan Prototype Test Improve

Note that In the case above step should the team take next in order to complete this project is to to plan their next prototype tests because they have gone a step backward.

Learn more about engineering design process from

https://brainly.com/question/17711844

#SPJ1

Which two extensions in scratch are correctly matched to their accessibility goals
A. Pen extension
B. Translate extension
C. Video sensing extension
D. Text to speech extension
Choose two answers

Answers

The two extensions in scratch are correctly matched to their accessibility goals Translate extension and  Text to speech extension.

What are Scratch Extensions?

Scratch extensions are known to be used in an interface with external hardware and information outside of the Scratch website via new blocks.

Note that The two extensions in scratch are correctly matched to their accessibility goals Translate extension and  Text to speech extension.

Learn more about scratch  from

https://brainly.com/question/25720264

#SPJ1

i need help someone please !!

Answers

Work samples can be printed or placed on the web and should be appropriate for the job you are appyling for.

What is a work sample?

This is a sample such as a document that shows the interviewer the skills of the candidate to complete specific task. For example if the candidate is applying to a editor position, he/she can bring a sample of edition.

What are the characteristics of work samples?This should be done by the candidate.It should be relevant to the job applied.It can be online or printed.

Learn more about sample in: https://brainly.com/question/11045407

#SPJ1

PLEASE HELP!

I accidently looked up a link, and now this same link keeps popping up everywhere, how do I stop this!?!? please help!​


On a phone.

Answers

To block link that keeps popping up everywhere, one can:

Use your browser and click on block Pop-ups  in settingsInstall an antivirus.

How do I stop pop-up links?

One can do so if they Manage the pop-up by blocking it in the Chrome browser where they:

Click on Settings from the Chrome menu.input 'pop' in the search bar.Select Site Settings  and then select Pop-ups and redirects.Here one can toggle the Pop-ups and redirections option to Blocked them.

Therefore, To block link that keeps popping up everywhere, one can:

Use your browser and click on block Pop-ups  in settingsInstall an antivirus.

Learn more about pop up link from

https://brainly.com/question/13666301

#SPJ1

I need help with some homework. I would like to know what is the easiest way to reach out.

Answers

I can help you, you can message me on this app.

What is the output?


>>>import time

>>>time.localtime()


a. the number of seconds since the epoch


b. the user's time zone


c. the date


d. the time


e. the time-zone offset


It is a select all that apply type of question

Answers

Answer:

a. the number of seconds since the epoch

Explanation:

time.localtime(), returns the number of seconds since the epoch if no argument is passed oyherwise it return struct_time in local time if you pass in seconds since epoch

In order to protect your computer from the newest virues which of the following should you do after you installed virus scan software

Answers

In order to protect your computer from the newest viruses, you should update the antivirus software and virus definition on a regular basis.

What is a virus?

A virus can be defined as a malicious software program that moves through computer networks and the operating systems (OS) installed on a computer (host), specifically by attaching themselves to different software programs, links and databases.

This ultimately implies that, you should update the antivirus software and virus definition on a regular basis, so as to protect your computer from the newest viruses.

Read more on a virus here: brainly.com/question/26128220

#SPJ1

Which statement best describes how the programming layer of abstraction in
a computing system functions?
A. It processes data using switches.
B. It allows computers to make animations.
C. It provides an interface for users to input data.
D. It processes data to perform computations.

Answers

The statement that best describes how the programming layer of abstraction in a computing system functions is that It provides an interface for users to input data.

What is the abstraction about?

In computer science, an abstraction layer is known to be full generalization of a kind of concept or algorithm, that is seen far from any particular implementation.

Note that generalizations is due to a lot of similarities that are best contained by models that shows similarities present in a lot of specific implementations.

Therefore, The statement that best describes how the programming layer of abstraction in a computing system functions is that It provides an interface for users to input data.

Learn more about abstraction from

https://brainly.com/question/7994244

#SPJ1

Write a for loop that displays the following numbers exactly like this (you must use a loop):

3 7 11 15 19

Hint: notice the pattern of the numbers

Answers

Answer:

I will use c++ for this...

#include <iostream>

using namespace std;

int main() {

 int num = 0;

 int curr = 0;

 for (int i = 0; i<5; i++) {

   num = 3 + curr;

   cout << num << " ";

   curr += 4;

 }

}

public class Pyramid {

 public static void main(String[] args) {\

            int h = 7;

      System.out.println("Pattern A");

              for(int i = 1; i <= h; ++i)

              {

                  for(int j = 1; j <= i; ++j) {

                      System.out.print("+");

                  }

                  System.out.println();

              }

      System.out.println();

      System.out.println("Pattern B");

              for (int i = 1; i<=h; ++i)

              {

                for(int j = h; j >=i; --j){

                    System.out.print("+");

                }

                  System.out.println();

              }

          }

      }

What is the trick in this code is using a nested for loop?

The trick in this code is using a nested for loop

The outer for loop runs from i = 0 to the height of the triangle (in this case 7)

The inner for loop which prints the (+) sign runs from j = 0 to j<=i

It prints the + using the print() function and not println()

In the pattern B the loop is reversed to start from  i = height

Time and space are examples of an infinite loop, but I would also include human life. The water cycle is an example of a while loop since it will continue as long as the earth and water do. But the planet Earth probably won't last forever.

For loop: As the previous commenter noted, someone who works hard every month would be regarded as a for loop.

To learn more about infinite loop ,for loops, while loops refer to:

brainly.com/question/13148070

#SPJ7

9.2.8 last names codehs

Answers

Using the knowledge of computational language in python it is possible to write a code that tries to organize the names in an assorted way and any name can be included.

Writing code in python:

names_list = []

for i in range(0, 5):

   names_list.append(input("Name: "))

sorted_last_names = sorted([name.split()[-1] for name in names_list])

print(sorted_last_names)

See moer about python at brainly.com/question/18502436

#SPJ1

How do the InfoSec management team's goals and objectives differ from those of the IT and general management communities

Answers

InfoSec management team's goals and objectives differ from those of the IT and general management communities in terms of:

Strategic planningLevels of work.Risk management

How does SecDLC differs?

The SecSDLC is known to be a lot more  aligned with risk management practices and it is one that makes a huge effort in knowing the kinds of specific threats and risks, and makes or create and implements a lot of controls to counter those threats and aid in management of the said risk.

Therefore,  InfoSec management team's goals and objectives differ from those of the IT and general management communities in terms of:

Strategic planningLevels of work.Risk management

Learn more about management team's from

https://brainly.com/question/24553900

#SPJ1

Which of these agents of education empowers the other..........
A. Family
B. SCHOOL
C. Media
D. Church

Answers

Answer:

B. school

Explanation:

Because the school is where you learn and gain knowledge

B. School.

Explanation; Education is the main factor in school, Therefore B seems like the only right answer. Hope this helped:)

The code __ will display the filename of the current workbook. ​

Answers

code field displays file names

What's good computing?

Answers

Answer:

1.Use passwords that can't be easily guessed, and protect your passwords.

2.Minimize storage of sensitive information.

3.Beware of scams.

4.Protect information when using the Internet and email.

5.Make sure your computer is protected with anti-virus and all necessary 6.security "patches" and updates.

7.Secure laptop computers and mobile devices at all times: Lock them up or carry them with you.

8.Shut down, lock, log off, or put your computer and other devices to sleep before leaving them unattended, and make sure they require a secure password to start up or wake-up.

9.Don't install or download unknown or unsolicited programs/apps.

Secure your area before leaving it unattended.

10.Make backup copies of files or data you are not willing to lose.

Explanation:

why charles babbage father of computer?​

Answers

Answer:

Due to basic concepts of Computer.

Explanation:

Charles Babbage Gave the basic concepts of Computer ( input , process and output) and he also used it in his computer. so charles Babbage is father of computer science.

What is the error in this program?
when
clicked
define Tickle
Tickle Cat
forever
touching mouse pointer ? then
play sound Giggle- until done
O A. The name of the function doesn't match the function that is
defined.
OB. There is no end block under the "Tickle Cat" function.
OC. All the blocks should be in one connected stack to function.
O D. The "forever" block should be removed so the "Giggle" sound
stops.

Answers

The error in this program above is that All the blocks should be in one connected stack to function.

What are the errors in a program?

In the act of developing a programs there are some kinds of error that can take place such as syntax errors, logic errors and others.

Note that in the program above, The error in this program above is that All the blocks should be in one connected stack to function and thus there is an error.

Learn more about program from

https://brainly.com/question/1538272

#SPJ1

can u please help me solve this

Answers

Alice has twice as many pencils as Cara. Leon has three more pencils than Alice. The three children have a total of 58 pencils.

What are the no. of pencils?

The no. of pencils are there totally as the 11.

Read more about the basic maths:

https://brainly.com/question/19493296

#SPJ1

If your laptop is not able to connect to your wireless network, which of the
following might be a likely cause of the problem?
A. The laptop is too far away from the source of the signal.
B. The display screen on the laptop is too small.
C. The signal from the wireless source is too strong for the laptop.
D. The laptop is operating from a battery rather than a wall outlet.

Answers

The answer is A! Hope this is helpful!
A should be the only answer !!:)

A large global retail corporation has experienced a security breach, which includes personal data of employees and customers.

What would Accenture offer as the best solution to ensure enhanced security in the future?

Answers

The act that  Accenture would offer as the best solution to ensure enhanced security in the future is Data Protection program.

What is Accenture  about?

In Keeping client data protected, Accenture’s Information Security Client is known to be well built up with Data Protection program that can help client teams with a good approach and the security controls, etc.

Therefore, The act that  Accenture would offer as the best solution to ensure enhanced security in the future is Data Protection program.

Learn more about Accenture from

https://brainly.com/question/25682883

#SPJ1

Write an if-else statement that determines whether the variable points is outside the range of 9 to 51. If points is outside the range,
"Invalid Points" should be displayed. Otherwise, "valid Points" should be displayed.

Answers

Answer: Using Python

Explanation:

num = int(input("Enter number > "))

if num in range (9, 52):

   print("Valid Points")

else:

   print("Invalid Points ")

A diagram of a ten-node network that uses ten routers

Answers

The diagram of the of a ten-node network that uses ten routers is given in the image attached.

What is a node in a network?

A network node is known to be be seen as the kind of connection point that is seen amidst some network devices such as routers, printers, etc.

Note that they are known to often receive and send data from one network or endpoint to another.

Therefore, The diagram of the of a ten-node network that uses ten routers is given in the image attached.

Learn more about routers from

https://brainly.com/question/24812743

#SPJ1

Which of the following answers is incorrect regarding the Naive Bayes algorithm?

Select the best answer (as an incorrect claim)

Select one:

A.
The algorithm uses the conditional probability of the feature given by the class.

B.
The features can be discrete, but can also be continuous.

C.
Because we want to prevent underflow, we calculate a sum of logs of the probabilities instead of their multiplication .


D.
We prefer features with high dependency to get better prediction.

Answers

Answer:

B. The features can be discrete, but can also be continuous.

Explanation:

Each continuous attribute can be discretized and the continuous attribute value replaced with the matching discrete interval.

Select the skill that matches the following definition.​

treating others the way you want to be treated regardless of ethnicity, religion, gender, or orientation:
work ethic
integrity
respect
leadership

Answers

Answer: Respect

Explanation: Treat others with respect if you want to be treated with respect

1) What is Database? List its Uses.

Answers

Answer:

a database stores a large sum of data

Explanation:

its used to keep track of things like student names bank accounts and other things

PART 2 - Exercise 2 - Programming Assignment

Case study:

An event company asks you to design the data structure and program prototype for their running event system. The participant for the running event is expected to reach more than 1000 in various categories. You decided to use hashing function method to store the information for each participant's BIB number in the hash table.

To begin the problem solving, suppose that 10 registered runners need to be stored. The sample BIB number of the runners are: 101, 102, 103, 104, 107, 111, 121, 217, 157, and 185. Apart from BIB number, participant information also contains a name (string), category (int) -e.g., men open (1), women open (2)), and runtime (int). The default value for runtime is 0 (represent 0 minutes).

Suppose that a linked list is used as

a data structure for the hash table, create a program that a. Implement the hashing functions for this problem. You can accept up to 10 inputs from the user or read from a formatted text file of participant information.
b. Create the hashing function that will handle any collision as chaining.
c. Find a bib number and print out the information
d. Print out the content of the linked hash table.​

Answers

Suppose that a linked list is used as a data structure for the hash table, create a program that includes steps his application counts the number of phrases in documents decided on via way of means of the user #include.

What is Programming?

It is the manner of making hard and fast commands that inform a pc the way to carry out a task. Programming may be finished the usage of lots of pc programming languages, inclusive of JavaScript, Python, and C++.

This application counts the quantity of phrases in documents decided on via way of means of the user.#include #include #include the usage of namespace std; //Function 1 int count(string word)go back word.size();}//Function 2int vowel(string word)> filename;//Open the {input|enter">enter file.inputfile.open(filename.c_str()); cout<<"nWord listing after format";cout<<"n____nn"; //If the file succesfully opened, process it.if (inputfile).

Read more about program :

https://brainly.com/question/1538272

#SPJ1

Write code that does the following: opens an output file with the filename number_ list.txt, uses a loop to write the numbers 1 through 100 to the file, then closes the file.

Answers

Answer:

6

Explanation:

# create the file

filemane= "Testfile.txt"

# for writing, we create the iutput file:

output = open(filename, "w")

#Writibg numbers from 1-100

for item in range 1,101):

On September 1, Year 1, a company paid an $21,600 premium on a 36-month insurance policy for coverage beginning on that date. Refer to that policy and fill in the blanks in the following table.

Answers

What is an insurance policy for coverage?

Coverage is a prison agreement between the coverage company (the insurer) and the person(s), business, or entity being insured (the insured). Reading your coverage facilitates you to confirm that the coverage meets your desires and that you apprehend your and the coverage company's duties if a loss occurs.

Read more about the insurance:

https://brainly.com/question/25855858

#SPJ1

Read the quotation from "Song of Myself."

It is not far, it is within reach,
Perhaps you have been on it since you were born and did not know,
Perhaps it is everywhere on water and on land.

Shoulder your duds dear son, and I will mine, and let us hasten forth,
Wonderful cities and free nations we shall fetch as we go.
In this quotation, the first stanza has a different style from the second section. What does this suggest about Whitman’s overall style in the poem?
that Whitman does not have a distinctive style as a poet
that Whitman’s style allows for various kinds of language
that Whitman is comfortable using traditional styles of poetry
that Whitman’s style conforms to age-old rules of poetry
Mark this and return

Answers

Based on the first stanza from "Song of Myself," the overall style suggests: B. that Whitman's style allows for various kinds of language.

What is a poem?

A poem is a literary work that comprises either written or spoken words which are carefully chosen and arranged in separate lines, especially based on their diction (sound), rhythm, and meaning.

Based on the first stanza from "Song of Myself," we can infer and logically conclude that the overall style suggests: B. that Whitman's style allows for various kinds of language.

Read more on Whitman's style here: https://brainly.com/question/12881683

#SPJ1

What effect have computers had on your life?​​

Answers

Answer:

they are both a pain and a help

Explanation:

Computers can and do make life easier with access to more things ,in a simpler way and they are necessary for the way we live but sometimes they can cause stress, maby from what is on them or even things as simple and the responsibility of having one. Personally I do think they are more helpful than a stress creator.

Other Questions
Is this a good start for a story WILL MARK BRAINLIEST AND 50 POINTS!!Can somebody write an essay for me for Writing an Essay to Compare the Presentation of Ideas across GenresHere's the promptAward-winning author Sonia Nazario is best known for her Pulitzer Prizewinning biography Enriques Journey. The book brings to life the very real and dangerous journey of a Honduran boy fleeing his home in hopes of finding his mother in America. In addition to the biography, Nazario has written countless articles informing readers of the dangers children like Enrique face. While the biography and the articles serve the same purpose and present the same ideas, they do so in different ways. You will be comparing and contrasting how Nazario informs her audience through a biography and an editorial. You may access the editorial here and the biography here.Write a comparative essay in which you compare and contrast the way Sonia Nazario presents similar ideas in a biography and an editorial. Support your comparison with well-chosen, relevant, and sufficient evidence from both texts. Apply MLA guidelines to properly cite the evidence used in your essay. Be sure your essay uses formal and objective language. What are push-ups strengthening Can someone please answer this? (50 POINTS AS A REWARD) ...................... Samuel turns on the radio to listen to a modern reading of an old radio drama that he used to listen to when he was a child. Samuel is engaging in ______ listening. Calculate the area of a triangle with a base of 6 cm and a height of 12 cm Question 5 (1 point)Cuando una chica est enojada (i.e., no contenta) porque su pareja hablar con otrachica.tener celosO proponerOpasarlo biencoquetear Solve the inequality: 10+525 A:2B: 30C: 3D: 20 Ayla is analyzing the effects of the authors choices in an adaptation of a Greek myth. What should she do first?A) explain whether the theme in the adaptation makes her think differently about the original mythB) describe how the adaptation is different from the original mythC) evaluate how the changes from the original myth affect the theme of the adaptationD) determine whether the original myth has been adapted by other authors Answer this, Ill give you brainliest and I would be very appreciative.Which of these is a violation of civil law? When graphing f(x)=a sin(bx) you would determine the functions period using which of the following?A. The period is 2pi/bB. The period is aC. The period is pi/b The value of the surface area of the rectangular prism is equal to the value of the volume of the rectangular prism. Write and solve an equation to find the value of x. Which inequality represents all values of yfor which the product below is defined? 4x*X+2 Calculate the surface area of the composite figure Two different cross sections are taken parallel to the base of a three-dimensional figure. The two cross sections are the same shape, but are not congruent. Which could be the three-dimensional figure?. one on one training in the hotel Choose those characteristics that best describe a command system. Multiple select question. The division of output between capital and consumer goods is decided by market forces. A central planning board makes all economic decisions concerning resources. The government owns most property resources. Firms produce according to the demands of consumers. The "ring of fire" refers to the ________. A) Azores Island B) the Hawaiian Islands C) flood basalts D) volcanoes around the Pacific Ocean Is anyone able to solve this equation? Its urgent