Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, we analyze a non-functional property, performance, of a fictional tool SECompress, a configurable command-line tool for compressing data. In addition, the data

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

In this assignment, we analyze a non-functional property, performance, of a fictional tool "SECompress", a configurable command-line tool for compressing data. In addition, the data can be encrypted, signed, segmented, and/or timestamped. All this functionality is modeled by the feature diagram in Figure For all the tasks in this Assignment we will use this tool with the features given in this diagram. Legend: Abstract Feature Concrete Feature Mandatory Optional Alternative Group Figure 1: The Feature Diagram of "SECompress" CART Data Structure For this assignment sheet we use the following internal datastructure for a CART. We represent a CART as a python dict with exactly the entries as shown in the example below. This example CART has three nodes. The root node "X", and the two child nodes "XL" and "XR". As you can see the child nodes only have a name and a mean but all other fields are set to None. A parent node also has a name and a mean but additionally a feature by which the split is performed, the error of the split and two sucessors. It is important to use exaclty these names for the features: features = ["secompress", "encryption", "aes", "blowfish", "algorithm", "rar", "zip", "signature", "timestamp", "segmentation", "onehundredmb", "onegb"] Performance Data The performance data, given in a csv file, contains different configurations of SECompress with performance measurements, in the same format you saw in the lecture (Slide 26). 1234567Id,secompress,encryption,aes,blowfish,algorithm,rar,zip,signature,timestamp,segmentation,onehundredmb,onegb,performance0,1,0,0,0,1,1,0,0,0,0,0,0,7501,1,0,0,0,1,1,0,0,0,1,1,0,7732,1,0,0,0,1,1,0,0,0,1,0,1,7703,1,0,0,0,1,1,0,0,1,0,0,0,7504,1,0,0,0,1,1,0,0,1,1,1,0,773 In the next task you will work on CARTs. a) Given a CART you should determine the name of the feature with the highest influence. [2 Points] 1 def get_highest_influence_feature(cart): 2 \# TODO: Write your code here. And change the return. 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

What is electric dipole explain with example

Answered: 1 week ago

Question

What is polarization? Describe it with examples.

Answered: 1 week ago

Question

LO2 Explain the nature of the psychological contract.

Answered: 1 week ago

Question

LO1 Discuss four different views of motivation at work.

Answered: 1 week ago