Finding outliers in a data set. Detecting unusual numbers or outliers in a data set is important in many disciplines, because the outliers identify interesting phenomena extreme events, or invalid experimental results. A simple method to check if a data value is an outlier is to see if the value is a significant number of standard deviations away from the mean of the data set. For example, X is an outlier if Xx - wxl > Nox where wx is the data set mean, ox is the data set standard deviation, and is the number of standard deviations deemed significant. Assign outlierData with all values in userData that are numberStd Devs standard deviations from userData's mean. Hint: use logical indexing to return the outlier data values. Ex: If userData is [9.50, 51, 49, 100 ) and numberStd Devs is 1, then outlierData is (9.100) Function Save C Reset D MATLAB Documentation 1 function outlierData = getOutliers(userData, numberStdDevs) 2 % getOutliers: Return all elements of input array data that are more than 3 % numStdDevs standard deviations away from the mean. 4 5 % Inputs: userData - array of input data values 6 % numberStdDevs - threshold number of standard deviations to determine whether a particular data value is an outlier * Outputs: outlierData - array of outlier data values Assign dataMean with the mean of userData dataMean = 0; Assign dataStdDev with userData's standard deviation dataStdDev = 0; % Assign outlierData with Return outliers outlierData = 0; 21 end Code to call your function C Reset 1 getOutliers (19, 50, 51, 49, 100, 1)

Answers

Answer 1

To assign outlierData with all values in userData that are numberStd Devs standard deviations from userData's mean, check the given code.

What is standard deviation?

A statistic known as the standard deviation, which is calculated as the square root of variance, gauges a dataset's dispersion from its mean. By figuring out how far off from the mean each data point is, the standard deviation can be calculated as the square root of variance.

A higher deviation exists within a data set if the data points are further from the mean; consequently, the higher the standard deviation, the more dispersed the data.

//CODE//

function outlierData = getOutliers(userData, numberStdDevs)

   dataMean = mean(userData);

   dataStdDev = std(userData);

   outlierData=userData(abs(userData-dataMean)>numberStdDevs*dataStdDev);

end

Learn more about standard deviation

https://brainly.com/question/475676

#SPJ4


Related Questions

is the process of making systems operate without human intervention. group of answer choices automation knowledge management computer programming belief artificial intelligence (ai)

Answers

Making systems run without human intervention is known as automation. Artificial intelligence allows machines to learn from their mistakes, adjust to new inputs, and execute tasks that humans do (AI).

Artificial intelligence (AI) has a subfield called machine learning (ML) that allows computers to automatically learn from data and past experiences in order to identify patterns and forecast future events with the least amount of human involvement. Artificial intelligence is the ability of machines, particularly computer systems, to mimic human intellectual functions. Examples of particular AI applications include expert systems, machine learning, natural language processing, speech recognition, and machine vision. The majority of AI applications you hear about today, including self-driving cars, heavily rely on deep learning and natural language processing.

Learn more about function here-

https://brainly.com/question/28939774

#SPJ4

in the activity selection problem, if a new activity is added to the input activity set, which has the earliest finishing time among all activities. compare with the solution of the original problem, which of the following are true?

Answers

When the list is not sorted, this issue has an O(n log n) complexity. O will be the complexity when the sorted list is provided (n).

What is the problem of activity selection?The goal is to identify a solution set that can execute the most non-conflicting activities possible in a given time frame, assuming that only one human or machine is available for execution. Let's assume that you have n activities with start and finish times. The activity selection problem is a combinatorial optimization problem that involves choosing non-conflicting tasks to complete within a specific amount of time from a set of tasks that are each identified by a start time (si) and finish time (fi).When the list is not sorted, this issue has an O(n log n) complexity. O will be the complexity when the sorted list is provided (n).

To learn more about activity selection problem, refer to:

https://brainly.com/question/24278800

#SPJ4

Chapter 9 : Photoshop

Use settings in item 4 change the zoom level in preview window

a. True
b. Falso

Answers

Use settings in item 4 change the zoom level in preview window is a true statement.

What is zoom Level?

Choose to magnify the entire screen (Full Screen), a specific portion of the screen (Split Screen), or simply the region where the pointer is when you use a keyboard shortcut, trackpad motion, or scroll gesture with a modifier key (Picture-in-Picture).

When using full-screen zoom, you can enlarge the image on a second display if one is available (sometimes called Zoom Display). Select a display by clicking Choose Display.

Click Size and Location to resize and relocate the zoom area or window while utilizing the Split Screen or Picture-in-Picture zoom styles.

Therefore, Use settings in item 4 change the zoom level in preview window is a true statement.

To learn more about Zoom, refer to the link:

https://brainly.com/question/30034927

#SPJ1

write a flowchart to find the sum of the digits of a 3 digit number

Answers

The ways to write a flowchart to find the sum of the digits of a 3 digit number is given below

Start

Input: number (a 3-digit integer)

Set sum = 0

Divide number by 100 and assign the result to hundreds

Set number = number modulo 100

Divide number by 10 and assign the result to tens

Set number = number modulo 10

Set ones = number

Set sum = sum + hundreds + tens + ones

Output: sum

End

What is the steps about?

The above flowchart is one that uses the following steps:

Start: This marks the beginning of the flowchart.Input: The user inputs a 3-digit number.Set sum = 0: This initializes the variable "sum" to 0.Divide number by 100 and assign the result to hundreds: This step separates the hundreds place of the number.Set number = number modulo 100: This step sets "number" to the remainder of "number" divided by 100, which leaves only the tens and ones places.Divide number by 10 and assign the result to tens: This step separates the tens place of the number.Set number = number modulo 10: This step sets "number" to the remainder of "number" divided by 10, which leaves only the ones place.Set ones = number: This step sets the variable "ones" equal to the value of "number," which is the ones place of the original number.Set sum = sum + hundreds + tens + ones: This step adds the hundreds, tens, and ones places to find the sum of the digits.Output: The value of "sum" is output to the user.

Lastly, End: This marks the end of the flowchart.

Learn more about flowchart from

https://brainly.com/question/6532130
#SPJ1

here is a description of variables used in a gas station class. customer - represents the name of the person buying gas vehicle - represents the type of vehicle of the person buying gas gasprice - represents the cost per gallon of gas on one specific day customerbill - represents the total amount of money owed by person buying gas based on these descriptions, which of the following variables would be static?

Answers

The variable that would be static is D. gas price.

What is a static variable?

A static variable is one that has been "statically" allocated in computer programming, which means that its lifetime (or "extent") is the entire execution of the program. This contrasts with objects, whose storage is dynamically allocated and deallocated in heap memory, and with shorter-lived automatic variables, whose storage is stack allocated and deallocated on the call stack.

In contrast to information that varies from instance to instance, static variables are used to store data that logically relates to an entire class.

In this case, the variable that would be static is the gas price. Therefore, the correct option is D.

Learn more about variables on:

https://brainly.com/question/25223322

#SPJ1

Complete question

here is a description of variables used in a gas station class. customer - represents the name of the person buying gas vehicle - represents the type of vehicle of the person buying gas gasprice - represents the cost per gallon of gas on one specific day customerbill - represents the total amount of money owed by person buying gas based on these descriptions, which of the following variables would be static?

customer

customer bill

vehicle

gas price.

business intelligence (bi) uses scorecards and dashboards to support decision-making activities, whereas business analytics (ba) uses data mining tools and predictive modeling.

Answers

Data analytics and business analytics are included in business intelligence, however they are only used in little amounts throughout the process. BI assists users in making decisions based on data analysis.

Which method or instrument is employed when data is analysed for business intelligence purposes?

Users can examine data from many data sources using OLAP techniques. This business intelligence system helps company users understand challenges and examine them from many angles.

What various forms of business intelligence are there?

Spreadsheets, reporting/query software, data visualisation software, data mining tools, and online analytical processing are just a few examples of the many different types of BI tools and software available (OLAP).

To know more about Data analytics visit:-

https://brainly.com/question/29658373

#SPJ4

include the attribute in a starting anchor tag to identify the webpage, email address, file, telephone number, or other content to access.

Answers

A quality, character, or characteristic attributed to someone or something is what Merriam-Webster defines as a "attribute."

What are attributes?

The path of the image you want to embed is in the src attribute, which is necessary. Screen readers read this description to their users so they are aware of the meaning of the image; although it is not required, the alt attribute is very helpful for accessibility.

A quality, character, or characteristic attributed to someone or something is what Merriam-Webster defines as a "attribute."

Use the main element, which is located between the header and footer components, to house the major content of your website. An article, aside, header, footer, or nav element cannot be a descendant of the main element.

Therefore, the correct answer is the href attribute.

To learn more about attributes refer to:

https://brainly.com/question/29796715

#SPJ4

true or false: when tempo mapping in pro tools, the bpm does not change to follow marked bars in the audio.

Answers

This is a false statement in stating that when tempo mapping in Pro Tools, the BPM does not change to follow marked bars in the audio.

Tempo mapping is an essential part of Musical Instrument Digital Interface (MIDI) files that controls the speed of the audio or music. Often tempo mapping can mean a fixed tempo throughout the whole piece, which is a much simpler command. Some other times, a song transitions several times between different speeds, or tempos, requiring a more complex tempo map. The speed of an audion makes a huge impact on the feel of the overall mix, thus tempo mapping is a critical element of MIDI. While usning tempo mapping in Pro Tools, the Beat Per Minute (BPM) changes to follow market bars in audio.

You can learn more about MIDI at

https://brainly.com/question/14114316

#SPJ4

erp is beneficial because it transforms transactional data into information that can be used to support decision making.

Answers

ERP is beneficial because it transforms transactional data into information that can be used to support decision making. [TRUE]

What is ERP

ERP (Enterprise Resource Planning) is an information system model that enables organizations to automate and integrate their main business processes. ERP breaks the deadlock of various traditional functional barriers within the organization by facilitating sharing/various data, multiple information flows, and introducing/channeling common business practices among all users in the organization.

ERP system implementation can be a massive undertaking that can take up to several years. Due to the complexity and size of ERP systems, only a minority of organizations are willing or able to deploy multiple physical and financial resources and take the risk of developing an ERP system in-house. Therefore, basically all ERP systems are commercial products. Products that are considered and recognized as leaders in the market are SAP, Oracle, Baan, J.D. Edwards & Co., and PeopleSoft Inc.

ERP packages are sold to various client organizations in the form of modules that support standard processes.

Some common ERP modules include:

Asset Management Financial Accounting (Fico or finance) Human Resources (HR) Industry-Specific Solutions Plant Maintenance Production Planning Quality Management Sales and Distribution Inventory Management

Learn more about ERP at https://brainly.com/question/13945630.

#SPJ4

which of the following would be an agent under the terms of the uniform securities act? a sales representative of a licensed broker-dealer who sells s

Answers

The agent under the terms of the uniform securities act is I and II.

What is agent?

Agent under the terms of the uniform securities act in sections 36b-2 to 36b-34 is "any individual, other than a broker-dealer, who represents a broker-dealer or issuer in effecting or attempting to effect purchases or sales of securities."

For the first statement, a sales that representative of a broker-dealer is a agent in terms of uniform securities act.

For the second statement, a assistant to the president of a broker-dealer is a administrative person if he/she take order individually from a public is considered as an agent, because he/she considered not part of broker-dealer.

For the third statement, is not agent because is registered as broker-dealer.

For the fourth statement, is not agent because is registered as issuer.

Your question is incomplete, but most probably your full question was

Which of the following would be an agent under the terms of the Uniform Securities Act?

I. A sales representative of a licensed broker-dealer who sells secondary securities to the general public

II. An assistant to the president of a broker-dealer who, for administrative purposes, accepts orders on behalf of senior partners

III. A subsidiary of a major commercial bank registered as a broker-dealer that sells securities to the public

IV. An issuer of nonexempt securities that are registered in the state and sold to the general public

Learn more about broker-dealer here:

brainly.com/question/28168486

#SPJ4

A network uses an SDN architecture with switches and a centralized controller. Which of the following terms describes a function or functions expected to be found on the switches but not on the controller?
A. A Northbound Interface
B. A Southbound Interface
C. Data plane functions
D. Control plane functions

Answers

A network uses an SDN architecture with switches and a centralized controller is Data plane functions.

What is functions of data plan?A data plan is an agreement between a mobile carrier and a customer that details how much mobile data the user can access, typically each month for a set charge. The part of a network's hardware where user traffic flows is called the data plane. The terms "data plane" and "forwarding plane" are interchangeable. The phrase "forwarding plane" is useful since it expresses clearly how user traffic is forwarded from a switching device to the subsequent hop. The data plane is the actual process of forwarding data, whereas the control plane is the component of a network that regulates how data is forwarded.The importance of a data strategy is that it shows funding organizations how your (data) collecting and analysis techniques will allow you to respond to your research topic. The sorts of data gathering and analysis methods required to complete your project can be ascertained with the use of a data plan.

To learn more about data plan refer to:

https://brainly.com/question/27034337

#SPJ4

What happens to an open destination file if the source file is edited while both are open?
a) Antivirus software blocks the changes.
b) The source file receives an error.
c) The destination asks if you would like to accept updates to the source file.
d) The destination file updatesd) The destination file updates

Answers

The source file is edited while both are open - The destination file update.

What is source file?
A source file is a file containing source code that is used to create an executable program. It is the human-readable text of a computer program that is written using a programming language, such as C++, Java, or Python. Source files are the fundamental building blocks of computer programs. They contain all the instructions necessary to turn a program into a working application. The code in a source file is written in a language that is understood by a compiler, which is a program that translates the code into a language that can be understood by a computer. Once a program has been compiled, it can be executed on a computer.

To learn more about source file
https://brainly.com/question/14928584
#SPJ4

Jason is attending the CompTIA Partner's Summit convention this year. While at the conference, Jason will need to ensure his smartphone has enough battery power to last the entire day without having to recharge it since it is hard to find an available electrical outlet in the conference rooms. Jason needs to ensure his smartphone is always available for use in order to receive updates from his team back home, as well. Which of the following would you recommend Jason use to ensure he can use the phone all day without his smartphone running out of power?
answer choices
Use a wireless charging pad
Bring a power strip so that more than one person can use an electrical wall outlet
Set the smartphone to airplane mode
Use a smartphone case with a built-in battery

Answers

The internal battery will continue to charge your gadget. The built-in battery can power your smartphone up to six times and can recharge two devices simultaneously.

What is the meaning of built in battery?

Your device will continue to charge thanks to the built-in battery. A built-in battery can power your smartphone up to six times and can recharge two devices simultaneously. It features a built-in battery so you can recharge your phone.

Vape mods, on the other hand, have external batteries. Therefore, while purchasing a mod, customers must also purchase an additional battery. The device's USB connector may be used to recharge the batteries, which are also simple to install.

The term "non-removable" battery is technically inaccurate because these built-in batteries can really be removed if necessary, but typically only by an authorized manufacturer with the proper tools.

Therefore, the answer is use a smartphone case with a built-in battery.

To learn more about built-in battery refer to:

https://brainly.com/question/7125266

#SPJ4

Which of the following wireless communication technologies can be described as follows
1. Has a very limited transmission range, of less than two inches
2. Used with credit cards and passports
3. Slower than other wireless technologies
4. Constantly emitting a signal
NFC

Answers

Wireless communication technologies can be described as NFC. NFC stands for Near-Field Communication.

What is Near-Field Communication?

Near-Field Communication (NFC) is a short-range wireless technology that enhances the intelligence of your smartphone, tablet, wearables, payment cards, and other gadgets. The pinnacle of connection is near-field communications.

Whether paying bills, swapping business cards, downloading coupons, or sharing a research paper, NFC allows you to communicate information between devices swiftly and simply with a single touch.

Through the use of electromagnetic radio signals, two devices can communicate with one another through near-field communication. Due to the close proximity of the transactions, both devices must have NFC chips in order for the system to function. Data communication between NFC-enabled devices only happens when they are physically contacting or within a few centimeters of one another.

Know more about Near-Field Communication:

https://brainly.com/question/14326616

#SPJ4

For which sorting algorithm is the following true: After I iterations, Data(0]. Data()-11 is Datal] DataIN-1] is unexamined. [1] Selection sort [2] Quick sort [3] Bubble sort [4] Heap sort [5] Insertion sort sorted

Answers

The sorting algorithm for which the following is true is selection sort: "After I iterations, Data[0] is sorted, Data[1] is Data[I]-1 is unexamined." Quick sort, bubble sort, heap sort, and insertion sort are all different sorting algorithms that do not operate in the same way as selection sort.

Selection sort is an algorithm that sorts an array by repeatedly selecting the minimum element from the unsorted portion of the array and placing it at the beginning of the unsorted portion. It works by iterating through the array, selecting the minimum element in each iteration, and placing it in the correct position. After each iteration, the sorted portion of the array grows by one element and the unsorted portion shrinks by one element.

Learn more about  sorting algorithm, here https://brainly.com/question/13098446

#SPJ4

Write a single statement that prints outsideTemperature with 2 decimals. End with newline. Sample output with input 103.46432:
103.46
import java.util.Scanner;
public class OutsideTemperatureFormatting {
public static void main (String [] args) {
Scanner scnr = new Scanner(System.in);
double outsideTemperature;
outsideTemperature = scnr.nextDouble();
/* Your solution goes here */
103.46}}

Answers

A Java class called Scanner is used to get input of primitive types like int, double, etc. and strings. Although it is the simplest technique for reading input in a Java application, it is not particularly effective if you need an input method for situations where speed is a factor, such as in competitive programming.

Here is how to construct Scanner objects when we import the package. / Take a reading from the input stream Scanner sc2 = new Scanner(File file); / read input from a string Scanner sc1 = new Scanner(InputStream input); / read input from files new Scanner(String str); Scanner sc3; use-case package you must either include a Java Scanner import line at the beginning of your class or when you call the Scanner. A Java Scanner import is advised to keep your code legible and concise. util. both the classes an applet needs to interact with its applet environment and the classes required to construct an applet are provided. Contains every class for designing user interfaces and for drawing and painting visuals.

To learn more Java about click the link below:

brainly.com/question/12978370

#SPJ4

In the winter, municipal snowplows must plow both sides of city streets that are bidirectional
(two-way traffic) but they only make a single pass over unidirectional (one-way) streets. We can
represent city streets as the edges in a graph using nodes for intersections. Of course, it is a
requirement that every street be plowed appropriately (once in each direction for bidirectional
streets and only once in the proper direction for unidirectional streets). Write a program that
uses integers to represent nodes, and tuples (pairs of integers enclosed in parentheses, e.g., (4
7), to represent a street from node 4 to node 7, and a second tuple, (7 4) to represent the fact
that this is a bidirectional street). Assume that there is but a single snowplow and it must start
and return to node 1. Your program must read a collection of tuples from a file and then
produce driving instructions for the snowplow operator telling the sequence of intersections
(nodes) to visit so that all the streets are appropriately plowed. If it is impossible to perform a
correct plowing (some street would be left unplowed or some street would be plowed twice)
your program must report this fact. Your program should repeatedly read collections of tuples
and processes the information until an end-of-file is encountered. Your program will lose a
significant number of points if your algorithm fails to work properly for cities (graphs)
containing both bidirectional and unidirectional streets.
Your solution must include the data file that it uses for input. Remember NOT to use an
absolute path to access the data file – use a relative path. Be certain your data describes several
different city street situations so that your program can demonstrate that it meets all the
requirements.

Answers

Using the knowledge in computational language in python it is possible to write a code that represent city streets as the edges in a graph using nodes for intersections.

Writting the code:

#include <cv.hpp>

#include <opencv2/highgui/highgui.hpp>

#include "caliberate.h"

#include <iostream>

#include <ctime>

#include <cmath>

using namespace std;

using namespace cv;

VideoCapture capture; //The capture class captures video either from harddisk(.avi) or from camera

Mat frameImg;

Mat g_image;

double dist(Point2i x1, Point2i x2)

{

return sqrt( pow((x1.x-x2.x),2) + pow((x1.y-x2.y),2) );

}

int main()

{

string fileName = "traffic.avi";

capture.open(fileName);

if( !capture.isOpened() )

{

cerr<<"video opening error\n"; waitKey(0); system("pause");

}

Mat frameImg_origSize; //image taken from camera feed in original size

namedWindow( "out" , CV_WINDOW_AUTOSIZE); //window to show output

namedWindow( "trackbar", CV_WINDOW_AUTOSIZE); //Trackbars to change value of parameters

resizeWindow( "trackbar", 300, 600); //Resizing trackbar window for proper view of all the parameters

capture>>frameImg_origSize;

if( frameImg_origSize.empty() ) { cout<<"something wrong"; }

resize(frameImg_origSize, frameImg, SMALL_SIZE, 0, 0, CV_INTER_AREA); //Resize original frame into smaller frame for faster calculations

g_image = Mat(SMALL_SIZE, CV_8UC1); g_image.setTo(0); //Gray image of frameImg

Mat roadImage = Mat(SMALL_SIZE, CV_8UC3); //Image of the road (without vehicles)

roadImage = findRoadImage();

calibPolygon(); //Polygon caliberation: Select four points of polygon (ROI) clockwise and press enter

Mat binImage = Mat(SMALL_SIZE,CV_8UC1); //white pixel = cars, black pixel = other than cars

Mat finalImage = Mat(SMALL_SIZE, CV_8UC3); //final image to show output

time_t T = time(0); //Current time

float fps = 0, lastCount = 0; //frames per second

int thresh_r = 43, thresh_g = 43, thresh_b = 49; //Threshold parameters for Red, Green, Blue colors

createTrackbar( "Red Threshold", "trackbar", &thresh_r, 255, 0 ); //Threshold for Red color

createTrackbar( "Green Threshold", "trackbar", &thresh_g, 255, 0 ); //Threshold for Green color

createTrackbar( "Blue Threshold", "trackbar", &thresh_b, 255, 0 ); //Threshold for Blue color

int dilate1=1, erode1=2, dilate2=5; //Dilate and Erode parameters

Mat imgA = Mat(SMALL_SIZE, CV_8SC3); //Used for opticalFlow

int win_size = 20; //parameter for opticalFlow

int corner_count = MAX_CORNERS; //no of points tracked in opticalFlow

vector<Point2i> cornersA, cornersB;

frameImg.copyTo(imgA);

int arrowGap = 5; //distance between consecutive tracking points (opticalFlow)

createTrackbar("dilate 1","trackbar", &dilate1, 15, 0);

createTrackbar("erode 1","trackbar", &erode1, 15, 0);

createTrackbar("dilate 2","trackbar", &dilate2, 15, 0);

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

#SPJ1

TRUE/FALSE. less-than-lethal technology is the perfect weapon available that will immediately stop unlawful resistance and will cause absolutely no harm to the receiver

Answers

This statement is False. Less-than-lethal technology is not a perfect weapon that will immediately stop unlawful resistance and cause no harm to the receiver.

Less-than-lethal technology is designed to reduce the severity of force and lessen the potential for injury or death, but it is not a perfect weapon that will immediately stop unlawful resistance and cause no harm to the receiver.

While less-than-lethal technology can be effective in some situations, it is not always the optimal solution and can, in some cases, still cause serious injury or even death. Therefore the above statement is not correct

For more questions like Less-than-lethal click the link below:

https://brainly.com/question/28259427

#SPJ4

FILL IN THE BLANK. __ ___ memory is a small, high-speed, high-cost memory that serves as a buffer for frequently accessed data.

Answers

Cache memory, is a tiny, expensive, high-speed memory that acts as a buffer for data that is frequently accessed.

What is Cache memory?
Cache memory
is a type of high-speed memory that is located on the CPU and can be accessed more quickly than regular memory. It is a type of static random-access memory that stores recently used data and instructions so that they can be quickly accessed by the processor. Cache memory is used to improve system performance by reducing the amount of time required to access data from the main memory. It stores frequently used instructions and data that are needed by the processor, which reduces the amount of time spent accessing the main memory. Cache memory helps the processor to access data quickly, which improves system performance. It also reduces the number of times the processor needs to access the slower main memory. Cache memory is also known as CPU cache, and it is an important part of the computer's memory hierarchy.

To learn more about Cache memory
https://brainly.com/question/12975846
#SPJ4

a user reports that she can't access the internet. you investigate the problem and find that she can access all hosts on the private network, including subnets, but no hosts on the internet.

Answers

The issue is probably caused by a missing default route on a router.

Which configuration parameter would need to be changed the most frequently?

Verify your computer's default gateway settings. For forwarding packets to other subnets, utilize the default gateway setting. The packets won't go to the right router if the value is wrong.

What factors are considered when choosing the optimal route when there are several options for getting somewhere?

Through the use of algorithms, dynamic routing calculates a variety of potential routes and chooses the most efficient path for traffic to follow throughout the network. The distance vector protocols and link state protocols are two different sorts of sophisticated algorithms that are used.

To know more about internet  visit:-

https://brainly.com/question/12996796

#SPJ4

A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless
Application Model (AWS SAM) template for the application.
What should the developer use for the project? (Choose two.)
A. Call aws cloudformation package to create the deployment package. Call aws cloudformation deploy to deploy the package afterward.
B. Call sam package to create the deployment package. Call sam deploy to deploy the package afterward.
C. Call aws s3 cp to upload the AWS SAM template to Amazon S3. Call aws lambda update-function-code to create the application.
D. Create a ZIP package locally and call aws serverlessrepo create-application to create the application.
E. Create a ZIP package and upload it to Amazon S3. Call aws cloudformation create-stack to create the application.

Answers

Call aws s3 cp to upload the AWS SAM template to Amazon S3. Call aws lambda update-function-code to create the application and  Create a ZIP package and upload it to Amazon S3. Call aws cloud formation create-stack to create the application.

AWS is designed to help application providers, ISVs, and vendors quickly and securely host their applications, whether they are existing applications or new SaaS-based applications. You can access the AWS application hosting platform using the AWS Management Console or well-documented web services APIs. Amazon Web Services (AWS) is the world's most comprehensive and widely used cloud platform, offering over 200 fully functional services from data centers around the world. If you enjoy working with technology and are passionate about expanding your knowledge, AWS is a great career. AWS provides opportunities to work on cutting-edge projects and develop in-demand skills. PRO TIP: AWS is a good career for those who are interested in working in the cloud computing industry.

To know more about AWS, visit:-

https://brainly.com/question/29708909

#SPJ4

An application server
Group of answer choices
provides basic functionality for receiving and responding to requests from browsers.
provides the building blocks for creating dynamic web sites and web-based applications.
provides storage logic.
None of these.
In order for a transaction to be consistent:
Group of answer choices
it must run the same way all the time.
it must tell the truth.
it must run using the same amount of memory.
any database constraints that must be true before the transaction must also be true after the transaction.
Durability means that:
Group of answer choices
transactions can't be erased.
once a transaction is committed, no subsequent failure of the database can reverse the effect of the transaction.
transactions can withstand failure.
transactions never finish on time.

Answers

An application server is a software framework that provides basic functionality for receiving and responding to requests from browsers. This allows web-based applications to be created and run on the server, providing a dynamic and interactive experience for users.In order for a transaction to be consistent, it must run in a way that ensures that any database constraints that must be true before the transaction must also be true after the transaction. This ensures that the data in the database remains valid and correct at all times.B. once a transaction is committed, no subsequent failure of the database can reverse the effect of the transaction.Durability means that once a B. transaction is committed, it cannot be reversed or undone by a subsequent failure of the database. This ensures that the data remains safe and intact even in the event of a failure. It does not mean that transactions cannot be erased, that they can withstand failure, or that they never finish on time.

An application server is a type of server that is responsible for hosting and running applications. It typically provides the infrastructure and runtime environment for applications, as well as management and deployment tools for developers. An application server may support a variety of programming languages and frameworks, and is typically used for building and deploying complex, multi-tier applications.

Learn more about application server, here https://brainly.com/question/28425483

#SPJ4

data collection takes place in which of the following activities? multiple choice processing. input. review. output.

Answers

Data collection takes place in Processing process.

Data collection

Data collection is the process of compiling precise data from numerous sources and evaluating it to identify trends, possibilities, and solutions to research problems, as well as to assess potential consequences.

The researchers must specify the data sources, data types, and methodologies used during data gathering. We'll quickly find that there are numerous approaches of gathering data. Data collecting is heavily utilised in the domains of study, business, and government.

As we'll discover later, the idea of data collection is nothing new, but times have changed. Today, there is a lot more data available in formats that were unheard of a century ago. The process of gathering data had to evolve and develop to stay up with modern technology.

To know more about Data collection, Check out:

https://brainly.com/question/29457263

#SPJ4

The disadvantage from using this device results from the fact that any incoming signal on any of its ports is re-created and sent out on any connected ports which has a negative impact on network performance.
Hub

Answers

Hub has a detrimental effect on the functioning of the network Any incoming signal on any of its ports is recreated and sent out on any associated ports, which is a drawback of utilising this device.

In a local area network, a hub is a layer one (physical) device that connects different network components like switches and routers (LAN). It has several ports that are used to link different local area network segments (LAN). Because frames are replicated to every other port on the network when they are received at a hub's port, hubs are typically thought of as being.

Due to the fact that each incoming signal on any of a hub's ports is recreated and sent out on any associated ports, employing a hub has a detrimental effect on network performance.

Learn more about Network here:

https://brainly.com/question/17272513

#SPJ4

Given the following beginning of a class definition for a superclass named clock, how many accessor and mutator methods will be needed to complete the class definition?
class clock:
def __init__(self, shape, color, price):
self._shape = shape
self.color = color
self.price = price
3 mutator, 3 accessor

Answers

In the given class definition, there are 3 attributes: shape, color, and price. To allow these attributes to be modified and accessed, you will need to define 3 mutator methods and 3 accessor methods. For example, you might define set_shape(), set_color(), and set_price() as mutator methods, and get_shape(), get_color(), and get_price() as accessor methods. It's also good practice to include a __str__() method in your class definition, which allows you to create a string representation of the object for printing or displaying to the user.

A mutator method is a method that allows you to change the value of an attribute, while an accessor method is a method that allows you to access the value of an attribute without changing it.

Learn more about mutator method, here https://brainly.com/question/13098886

#SPJ4

you are the network administrator for stormwind studios. your network corttaind an active directory domair. the domain contains 300 computers that run

Answers

The method should be use for automatically register all the existing computers to the Azure AD network and enroll all of the computers in Intune is use a Windows Autopilot deployment profile.

What is Windows Autopilot deployment profile?

Windows Autopilot deployment profile is a feature in Windows operating system that can be used to automatically configure devices up to 350 profiles tenant. It feature will save each device configuration.

Windows Autopilot deployment profile also can be used to enroll device to Microsoft Intune and Azure AD network if previously the network administrator has been create profile for each device in Windows Autopilot deployment profile.

You question is incomplete, but most probably your full question was (image attached)

Learn more about Azure AD network here:

brainly.com/question/29315329

#SPJ4

We are trying to turn a program prog owned by the seed user into a Set-UID program that is owned by root. Can running the following commands achieve the goal?
$ sudo chmod 4755 prog
$ sudo chown root prog
No. Upon chown, or even file copy, the Set-UID bit is reset. So running chmod 4755 should always be the last step in the set up.

Answers

No. The Set-UID bit is reset during chown or even file copy. The final step in the setup process should therefore always be running chmod 4755.

Files that have executable permissions contain the set user id bit (setuid). The Set-UID bit only indicates that the executable will set its permissions to the owner's rather than the user who launched it when it is executed. Setuid is a Linux file permission setting that enables a user to run a file or application with the owner's consent. This is mostly used to increase the current user's privileges.

Using the command chmod 4755, for instance, would grant the owner read, write, and execute permissions, the user and group read and execute permissions, and set the setuid bit.

Learn more about Set-UID bit here:

https://brainly.com/question/21602291

#SPJ4

now, suppose that we have observations with . recall . compute the maximum likelihood estimate (mle). (enter numerical answers accurate up to at least 3 decimal places.)

Answers

Maximum likelihood estimation (MLE) is a statistical technique for estimating the parameters of a probability distribution that has been assumed given some observed data. This is accomplished by maximizing a likelihood function to make the observed data as probable as possible given the assumed statistical model.

Why is estimate using maximum likelihood used?

Finding the set of parameters (theta) that maximize the likelihood function, or produce the highest likelihood value, is the goal of maximum likelihood estimation. The conditional probability determined by the likelihood function can be broken down.

What characteristics distinguish the maximum likelihood estimator?

The maximum likelihood estimator is reliable, effective, and normally distributed for large samples. It satisfies an invariance property in small samples, is a function of sufficient statistics, and in some cases—but not always—is objective and distinct.

To know more about Parallel speedup visit;

https://brainly.com/question/28964634

#SPJ4

Write a GUI program that converts Celsius temperatures to Fahrenheit temperatures. The user should be able to enter a Celsius temperature, click a button, then see the equivalent Fahrenheit temperature. Use the following formula to make the conversion:F= (9/5)C+32F is the Fahrenheit temperature, and C is the Celsius temperature.

Answers

To write a GUI program that converts Celsius temperatures to Fahrenheit temperatures, check the given code below.

What is GUI program?

An interactive visual component system for computer software is known as a GUI (graphical user interface). A GUI shows objects that represent the user's actionable options and convey information. In response to user interaction, the objects alter in size, color, or visibility.

Alan Kay, Douglas Engelbart, and a team of other researchers created the GUI for the first time at Xerox PARC in 1981. On January 19, 1983, Apple later released the Lisa computer with a GUI.

↓↓//CODE//↓↓

#importing tkinter to use GUI

from tkinter import *

#function to covert Celsius to Fahrenheit

def toFahrenheit():

#calculating Fahrenheit

res=(9/5)*float(e1.get())+32

#setting the result to the string myText

myText.set(res)

#function to covert Celsius to Fahrenheit

def toCelsius():

#calculating Celsius

res=(float(e2.get())-32)*(5/9)

#setting the result to the string myText

myText.set(res)

#inotializing window

root = Tk()

#creating a string variable to store the result

myText=StringVar();

#creating the first frame

firstframe = Frame(root)

firstframe.pack()

#creating the second frame

secondframe = Frame(root)

secondframe.pack( side = BOTTOM )

#creating 3 labels and placing them in the first frame

#Celsius label in row 0

Label(firstframe, text='Celsius').grid(row=0)

#Fahrenheit label in row 1

Label(firstframe, text='Fahrenheit').grid(row=1)

#Result label in row 2

Label(firstframe, text='Result:').grid(row=2)

#creating 2 text box to get celsius and fahrenheit from the user

e1 = Entry(firstframe)

e2 = Entry(firstframe)

#e1 adjacent to label Celsius, so row 0 column 1

e1.grid(row=0, column=1)

#e2 adjacent to label Farhenheit, so row 1 column 1

e2.grid(row=1, column=1)

#creating a label to diplay the resut. Here the textvariable attribute gets the string from variable 'myText' and displays here

#answer label adjacent to label Result , so row 2 column 1

Label(firstframe,text="",textvariable=myText).grid(row=2,column=1)

#creating a Celsius to Fahrenheit button. When the button is clicked toFahrenheit function is called.

#command attribute is for on click event.

ctofbutton = Button(secondframe, text ='Celsius to Fahrenheit', command=toFahrenheit)

ctofbutton.pack()

#creating a Celsius to Fahrenheit button. When the button is clicked toCelsius function is called.

ftocbutton = Button(secondframe, text ='Fahrenheit to Celcius', command=toCelsius)

ftocbutton.pack()

#creating a Celsius to Exit button. root. destroy will exit the window

exitbutton = Button(secondframe, text ='Exit', fg ='red', command=root. destroy)

exitbutton.pack()

root.mainloop()

Learn more about GUI

https://brainly.com/question/22811693

#SPJ4

The following are two different images that are encoded using the same algorithm. The images are each in a 5 by 5 grid of pixels where each pixel is black, white, red, green or blue.
The image on the left gets encoded and compressed down to 21 digits while the image on the right gets compressed down to 25 digits. Although the same algorithm was used to encode and compress these images, why are the end results a different length?
a. The algorithm was probably used improperly in the image on the right, causing it to be a longer length than it should have been.
b. Because this is a lossy compression, sometimes information is lost during the compression.
c. The amount of size reduction from compression depends on the amount of redundancy in the original data.
d. The image on the right uses more colored squares and therefore requires more digits to represent the pixels.

Answers

Because the degree of redundancy in the original data affects how much space is saved through compression, the final results will vary in length.

What is the pixel definition in a nutshell?

The smallest part of a digital display is a pixel. A images or video that is displayed on a device's screen could contain millions of pixels or more. The red, green, and blue (RGB) colors are produced by each of the subpixels that make up a pixel and are displayed in a variety of intensities.

Do more pixels necessarily mean better quality?

Images with higher resolutions have clearer, sharper appearances and more pixels per inch (PPI), or pixel information. Less pixels make up low-resolution photographs, and if they do, they tend to be larger.

To know more about images visit:-

https://brainly.com/question/29808174

#SPJ4

Other Questions
a network administrator configures the port security feature on a switch. the security policy specifies that each access port should allow up to two mac addresses. when the maximum number of mac addresses is reached, a frame with the unknown source mac address is dropped and a notification is sent to the syslog server. which security violation mode should be configured for each access port?warningprotectshutdownrestrict Life LessonsDirections: Write a four-paragraph academic essay including an introduction, two bodyparagraphs and a conclusion to the writing task below. Indent each paragraph, don't use "I,me, or my," and write at least six sentences for each paragraph.Explain two life lessons that are important for a person to learn to be happy and fulfilled inlife?Introduction---Include: Attention getting sentences, a thesis statement, and apreview sentenceBody Paragraph 1---Include: A topic sentence. Discussion and commentary. Bespecific.Body Paragraph 2---Include: A topic sentence. Discussion and commentary. Bespecific.Conclusion---Include: Summary and forward looking thought the requirement that developers pay a local government's costs of new development through substantial fees or land in exchange for approval of their land use plans is called a/an Suppose you walk at the rate of 210 ft/min. You need to walk 10,000 ft.How many more minutes will it take you to finish if you have already walked 550 ft? carolina insurance wants to create a more interactive approach to advertising in order to build strong relationships with their customers. which of the following represents the preferred advertising medium to achieve their goal? a. the internet b. trade shows c. newspapers d. radio Consider four identical bulbs connected in series to a battery. A fifth bulb is then connected in parallel with the first four. What will this additional connection do? Please explain why.a) Increase the illumination produced by bulbs connected in seriesb) Decrease the illumination produced by bulbs in seriesc) Tt will change the illumination shomehow, but we need to know the voltage on battery and resistances of bulbs to answerd) Leave the illumination produced by bulbs in series unchanged Simplify ( 7x+5y)^3(7x5y)^330y(7x+5y)(7x5y)^3 Suppose the diameter of a circle is 16 units. What is its circumference?Use 3.14 for and enter your answer as a decimal. 12. For the following applications, choose the radar frequency (K, X, C, S, L, P) that you would use and explain your reasoning:a. Estimating soil moisture b. Discriminating crop type c. Monitoring storm activityd. Determining the extent of flooded surfaces in a heavily forested canopye. Obtaining accurate measurements of swelling or buckling in seismically active areasf. Detecting buried river channels in hyper-arid environmentsg. Mapping of oil slicks a cognitive distortion is described as: please choose the correct answer from the following choices, and then select the submit answer button. a descriptive, memorable name for a kind of irrational thinking. an approach to psychotherapy in which the main goal is to make the unconscious conscious. a technique in which the therapist encourages the client to simply say whatever comes to mind without any censoring at all. a technique in which clients earn tokens that are exchangeable for rewards when they perform target behaviors. If f(x) = -3x-2, find f(3) because customs dictate appropriate business protocol, the blank stage of the personal selling process is critical in international sales. If a time series has a growth rate that increases to higher rates over time, it can be described as having . question 12 scenario 2, continued the community garden grand opening was a success. in addition to the 55 donors food justice rock springs invited, 20 other prospects attended the event. now, tayen wants to know more about the donations that came in from new prospects compared to the original donors. this sql query can be used to identify the percentage of contributions from prospects compared to total donors you're creating a video ad for a salon and your goal is to drive client bookings through the salon's website. which of the following call-to-actions (ctas) should you use in the ad?a. Call nowb. Learn morec. Check us outd. Book now the porter family has two adults and three children. mrs. porter is a prominent lawyer in the state capital. her income is currently $160,000. her husband takes care of the kids. he has not worked in several years and has training as a computer programmer. since he has not stayed up-to-date with best practices in his field, he expects that he would have a hard time if he ever tried to re-enter the workforce. their youngest child is 3 years old. they have the following outstanding debts: $140,000 on their mortgage, $20,000 on cars, $1,200 on credit cards, and $50,000 on student loans the nurse is caring for a community-dwelling older adult who is suffering from confusion. which are the correct nursing interventions in this situation? Which of the following statement is true about asexual reproduction?AOnly plants reproduce by asexual meansBAll multicellular organisms perform asexual reproductionCIn asexual reproduction two different sexes are involvedDFertilization does not take place in asexual reproduction. which of the following is the correct order of boiling points for kno3, ch3oh, c2h6, ne? 10. use a taylor series to approximate the value of the defnite integral. use as many terms as needed to ensure that the error is less than show at least 8 decimal places in your answer.