Question

Sample of CSV file

tweet tweet_id airline_sentiment airline 567591480085463000 negative United 567588278875213000 neutral Delta 5675900273757020

2. Compute the Dynamic Time Warping distance between the two time series: a. X= [1, 3, 4, 4] b. Y = [1, 2, 5] Let the cost fu

c) The DTW distance between the two time-series is

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given, X = [1, 3, 4, 4]

Y = [1, 2, 5]

The cost function is: cost (xi, yi) = (xi - yi)2

a. The cost matrix is:

0 1 16
4 1 4
9 4 1
9 4 1

b. The DTW matrix is:

The formula is => d(i, j) = (xi - yi)2 + min {(d(i, j - 1)),(d(i - 1, j)),(d(i - 1, j - 1))}

0 1 17
4 1 5
13 5 2
22 9 2
Add a comment
Know the answer?
Add Answer to:
Sample of CSV file tweet tweet_id airline_sentiment airline 567591480085463000 negative United 567588278875213000 neutral Delta 567590027375702000 negative...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • On-time arrivals, lost baggage, and customer complaints are three measures that are typically used to measure...

    On-time arrivals, lost baggage, and customer complaints are three measures that are typically used to measure the quality of service being offered by airlines. Suppose that the following values represent the on-time arrival percentage, amount of lost baggage, and customer complaints for 10 U.S. airlines. Airline On-Time Arrivals (%) Mishandled Baggage per 1,000 Passengers Customer Complaints per 1,000 Passengers Virgin America 83.5 0.87 1.50 JetBlue 79.1 1.88 0.79 AirTran Airways 87.1 1.58 0.91 Delta Air Lines 86.5 2.10 0.73 Alaska...

  • The sample data below represent the number of late and on time flights for the Delta,...

    The sample data below represent the number of late and on time flights for the Delta, United and US Airways (Bureau of Transportation Statistics, March 2012) Flight Late On Time Delta 39 261 Airline United 51 249 US Airways 56 344 a. Formulate the hypotheses for a test that will determine if the population proportion of late flights is the same for all three airlines Choose correct answer from above choice H a Not populati b. Conduct the hypothesis test...

  • Using data from the Southwest case, create a chart that plots the relationship between each airline’s...

    Using data from the Southwest case, create a chart that plots the relationship between each airline’s market share, in terms of revenue or airline seat miles flown, and its profitability for two periods: 1995-2000 and 2001-2005. Does your analysis suggest that market share is correlated with profitability in this industry? If you exclude Southwest Airlines and Jet Blue airlines from the analysis (companies that use “point-to-point” route structure rather than a “hub and spoke” route structure), how well does market...

  • What happened on United flight 3411?What service expectations do customers have of airlines such ...

    What happened on United flight 3411?What service expectations do customers have of airlines such as United and How did these expectations develop over time? Thank You! In early April 2017, United Airlines (United), one of the largest airlines in the world, found itself yet again in the middle of a service disaster this time for forcibly dragging a passenger off an overbooked flight. The incident was to become a wake-up call for United, forcing it to ask itself what to...

  • Case 34 Emirates Airline Emirates Airline was one of the three Middle East carriers that were sin...

    Case 34 Emirates Airline Emirates Airline was one of the three Middle East carriers that were singled out by the largest US airlines in the report that was released on March 5, 2015. The report charged that that the flagship airline of Dubai, along with Etihad Airways and Qatar Airways, had received over $42 billion in government subsidies and tax breaks since 2004. Claiming that this gave an unfair advantage to these state-owned airlines, the US airlines demanded that the...

  • Please read the case provided below and answer the following question: In 2007, JetBlue was a...

    Please read the case provided below and answer the following question: In 2007, JetBlue was a booming young airline with a strong reputation for outstanding service. In fact, the low-fare airline referred to itself as a customer service company that just happened to fly planes. But on Valentine's Day 2007, JetBlue was hit by the perfect storm-literally-of events that led to an operational meltdown. One of the most severe storms of the decade covered JetBlue's main hub at New York's...

  • [300-500 words] Read the interview transcripts with Herb Kelleher (Southwest Airline) below and answer the following...

    [300-500 words] Read the interview transcripts with Herb Kelleher (Southwest Airline) below and answer the following questions. 1) How would you analyze Herb Kelleher’s personality and motivation? Use at least twoconcepts for each from class discussions in personalities and motivation, and explain what (which part of the transcripts) makes you think so. Also, discuss how such personality would contribute to the success of Southwest Airline. 2) When it comes to negotiations between Southwest Airline and Boeing, who (whichcompany) is Southwest...

  • [300-500 words] Read the interview transcripts with Herb Kelleher (Southwest Airline) below and answer the following questions. 1) How would you analyze Herb Kelleher’s personality and motivation?...

    [300-500 words] Read the interview transcripts with Herb Kelleher (Southwest Airline) below and answer the following questions. 1) How would you analyze Herb Kelleher’s personality and motivation? Use at least twoconcepts for each from class discussions in personalities and motivation, and explain what (which part of the transcripts) makes you think so. Also, discuss how such personality would contribute to the success of Southwest Airline. 2) When it comes to negotiations between Southwest Airline and Boeing, who (whichcompany) is Southwest...

  • Norwegian Air Shuttle Aspires to Become the Cheapest Global Airline It’s snowing in Copenhagen as Norwegian...

    Norwegian Air Shuttle Aspires to Become the Cheapest Global Airline It’s snowing in Copenhagen as Norwegian Air Shuttle Flight DY7041 lifts off. There are nearly 30 passengers on board, most of them Norwegians, Swedes, and Danes eager to escape the gloom that engulfs their part of the world in late November. Today they will arrive in Florida faster than usual. This is the first direct flight from Scandinavia to Fort Lauderdale. And it’s a bargain: The tickets are a fraction...

  • Hi can you help me this SOUTHWEST AIRLINES San Antonio lawyer, Herb Kelleher, founded Southwest Airlines...

    Hi can you help me this SOUTHWEST AIRLINES San Antonio lawyer, Herb Kelleher, founded Southwest Airlines in 1966 with one of his clients, Rollin King, at a bar in San Antonio. King came up with the idea of starting a low-fare airline and Kelleher liked it. They doodled a plan on a cocktail napkin and Kelleher put up of $10,000 of his own money to get it started. He is now worth more than 2.5 billion dollars. He fought competitors...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT