Lab 3 - Gnkhakimova/CS5542-BigData_LabAssignments GitHub Wiki

1) Please see the link to google drive for Lab 3, I was unable to push my code due to the size:

  • https://drive.google.com/open?id=0B2xp_7aavWDsa0FmMjIyYlJaQXM

  • Linear regression model for selected two parameters for chimpanzee’s daily movement, activities and interaction.

  • training Mean Squared Error = 67.99997866116915

  • test Mean Squared Error = 0.0

  • K-Means clustering for the clusters of the chimpanzee’s activities.

  • [0.0,0.0,0.0]

  • [6.1,6.1,6.1]

  • [9.2,9.2,9.2]

  • [0.1,0.1,0.1]

  • [0.2,0.2,0.2]

  • [5.0,5.0,5.0]

  • Within Set Sum of Squared Errors = 28.519999999999982

  • Clustering on training data:

  • ([6.1,6.1,6.1],0)

  • ([9.2,9.2,9.2],0)

  • ([0.0,0.0,0.0],1)

  • ([0.1,0.1,0.1],1)

  • ([0.2,0.2,0.2],1)

  • ([5.0,5.0,5.0],0)

2) Simple application to give the summary of a video by using Clarifai API. Using OpenImg Library to the key-frame images from the clarifai API.

  • 1. Video Annotation:

• Downloaded a video • Detected key frames of the images using Open Img • Implemented annotation for each image • Output image annotations to the console. Application will predict which sport game is on the video Using Clarifai API.

  • Output: