DLMDSPWP01 – Programming with Python, Written Assignment Brief |IU.ORG

Published: 14 Feb, 2025
Category Assignment Subject Programming
University _____ Module Title DLMDSPWP01 – Programming with Python

Assignment Tasks

The starting point for your term paper will be the course book, the contents of which will serve as the basis for an in-depth examination of one of the following questions. You are expected to research and cite from sources corresponding to your chosen topic.

1.1 Description of the Task

You get (A) 4 training datasets and (B) one test dataset, as well as (C) datasets for 50 ideal functions. All data respectively consists of x-y-pairs of values.
Structure of all CSV-files provided:
X Y
x1 y1
… …
xn yn

Your task is to write a Python-program that uses training data to choose the four ideal functions which are the best fit out of the fifty provided (C) *.

  1. Afterwards, the program must use the test data provided (B) to determine for each and every x-ypair of values whether or not they can be assigned to the four chosen ideal functions**; if so, the program also needs to execute the mapping and save it together with the deviation at hand
  2. All data must be visualized logically
  3.  Where possible, create/ compile suitable unit-test
  • The criterion for choosing the ideal functions for the training function is how they minimize the sum of all ydeviations squared (Least-Square)
  • The criterion for mapping the individual test case to the four ideal functions is that the existing maximum deviation of the calculated regression does not exceed the largest deviation between training dataset (A) and the ideal function (C) chosen for it by more than factor sqrt(2)
  • In order to give proof of your skills in Python related to this course, you need to adhere to certain criteria when solving the exercise; these criteria are subsequently described under ‘Details.’

1.2 Details

You are given four training datasets in the form of csv-files. Your Python program needs to be able to independently compile a SQLite database (file) ideally via sqlalchemy and load the training data into a single fivecolumn spreadsheet / table in the file. Its first column depicts the x-values of all functions.

Table 1, at the end of this subsection, shows you which structure your table is expected to have. The fifty ideal functions, which are also
provided via a CSV-file, must be loaded into another table. Likewise, the first column depicts the x-values, meaning there will be 51 columns overall. Table 2, at end of this subsection, schematically describes what structure is expected. After the training data and the ideal functions have been loaded into the database, the test data (B) must be loaded line-by-line from another CSV-file and – if it complies with the compiling criterion – matched to one of the four functions chosen under i (subsection above).

Afterwards, the results need to be saved into another fourcolumn-table in the SQLite database. In accordance with table 3 at end of this subsection, this table contains four columns with x- and y-values as well as the corresponding chosen ideal function and the related deviation.

Finally, the training data, the test data, the chosen ideal functions as well as the corresponding / assigned datasets are visualized under an appropriately chosen representation of the deviation.

Please create a Python-program which also fulfills the following criteria:
− Its design is sensibly object-oriented
− It includes at least one inheritance
− It includes standard- und user-defined exception handlings
− For logical reasons, it makes use of Pandas’ packages as well as data visualization via Bokeh, sqlalchemy, as well as others
− Write unit-tests for all useful elements− Your code needs to be documented in its entirety and also include Documentation Strings, known as ”docstrings“

Table 1: The training data’s database table:

X Y1 (training) Y2 (training) Y3 (training)      Y4 (training)
x1  y11 y21  y31 y41
...... .... .... .... ....
xn y1n     y2n y3n y4n

Table 2: The ideal functions’ database table:

X  Y1 (ideal) Y2 (ideal) ....... Y50 (ideal)
x1     y11     y21     …     y50_1
..... ...... ...... .... ...
xn     y1n     y2n       …     y50_n

The database table of the test-data, with mapping and y-deviation

X (test func)    Y (test func)    Delta Y (test func)    No. of ideal func

x1     y11     y21     N1
…     …     …    ....
xn     y1n     y2n     y3n

1.3 Additional Task

Assume that your successfully created project is on the Version Control System Git and has a Branch called develop. On this Branch, all operations of the developer team are combined. Write the Git-commands necessary to clone the branch and? develop on your local PC. Imagine that you have added a new function. Write all necessary Git-commands to introduce this project to the team’s develop Branch.
Please note: You need the commands for commit, push. Afterwards, you would make a Pull-request and your contribution would be added “merged” to the develop Branch after one or several of your team has reviewed your changes.

Studying in the UK and having trouble with the DLMDSPWP01 – Programming with Python Assignment? No need to worry now! We provide you with programming assignment help that will clear all your doubts. Whether you are a beginner or confused with advanced level concepts, our expert team will be with you every step of the way. We also provide free samples so that you can get an idea of ​​the quality. It is now easy to complete assignments on time and get top grades! So what are you waiting for? Say goodbye to the stress of Python assignments and choose the smart way to study!

Workingment Unique Features

Hire Assignment Helper Today!


UA92 BLOCK 6 Data and Decision Making Assessment Brief

UA92 BLOCK 6 Assessment 1: Identify and analyse information and arguments relevant to the contemporary business. Apply quantitative analysis to understand and present complex data to support evidenced-based decision-making.

7HURM001W Global Employment Relations Coursework 1 Assessment Brief Semester 1 | UoW

To achieve this, the assessment has been broadly designed as a module-long mini comparative research project in which students choose a topic to compare across a pair of countries and are required to work on the same comparison throughout the module.

7HURM001W Global Employment Relations Coursework 3 Assessment Brief Semester 1 | UoW

The module assessment is designed to allow students to demonstrate their ability to systematically analyse, explain, and critically discuss similarities and differences between employment relations systems across the world, as well as their comprehension of key conceptual.

BUS3029 Operating in Emerging Markets Assignment 01 Brief 2025 | UON

Propose a detailed plan for how the brand will operate sustainably in the chosen market. Focus on areas such as ethical sourcing and reducing environmental impact. Highlight how these practices align with the brand's values, contribute to competitive advantages, and help the business to grow.

BBSC4103 Assignment: Strategic Supply Chain Management Question Semester 2025 | OUM

BBSC4103 Part 1: The purpose of this assignment is to help learners study the important of strategic alliances by focusing on inter-organisational relationships and the challenges in managing them.

BBHI4103 Industrial Relation Assignment Question | Open University Malaysia

BBHI4103 Part 1: The purpose of this assignment is to enhance learners' ability to discuss the perspectives in industrial relations and evaluate which perspective is the best for the selected organisation

Scientific Research Review Assignment 4 | USM

You are required to write an individual review paper on a topic of advancements in your area of study. This paper must demonstrate your ability to plan, execute, and present a scholarly task ethically and professionally.

BTEC Level 5 Unit 16: Computing Research Project Assignment Part 1 Brief

BTEC Level 5 Unit 16: Assignment Brief: Artificial intelligence is at the forefront of innovation within Computer Science that uses a combination of logic, algorithms and large data sets to produce an AI model.

ACC210 Accounting for Decision Making and Control TMA Assignment Question | SUSS

ACC210 Question 1  Cool Strokes Pte Ltd ("CS") manufactures white board markers for educational use. The company's markers are sold by the box at $50 each in 20x3.

BM414 Financial Decision Making CW1 Assignment Brief (SIG) | BNU

Suppose you are part of the Accounting and Finance team at Sheffield Insulation Group (SIG) plc. You are required to write a report to the senior management team of SIG plc, discussing the importance of accounting and finance functions.

Online Assignment Help in UK