Task 1 – Data Mining Mini Project in Python
Detail Task 2
You have recently joined Confectionaries Are Us as a junior analyst. As your first
data mining investigation, your line manager has asked you to build and complete
appropriate models so that the site based company can use your optimum, relative
investigation for targeted increase profitability over time, both for individual countries
and collectively, based upon differing variables.
Before the analysis can be conducted, ensure that all pre-processing has been
undertaken on the data set and the data set is fully understood through initial
descriptive statistics. For the main body of the analysis, you are to choose the most
appropriate time modelling techniques and processes for the investigation, based
upon the data. In doing so, this will allow insight into the overall analysis and
appropriate meaningful solutions. The full investigation is to be written in Python.
A clear, concise analysis is to be given within the task, complimented with screenshot
evidence of all processes and results. The full code for Task 1 is to be included within an
appendix, so that it can be checked and verified it is working correctly.
Task 2 – Data mining report
Detail task 2
Based upon the completed data mining investigation in Task 1, you will now write a
comprehensive report that can be easily understood by the companies board of
directors and higher management. Contained within you will include full reasoning
for your chosen solutions, in addition to your motivation, investigations processes,
results and conclusions.
Page 5 of 9
(30 Total marks)
(LO’s: 1 & 4)
You are to submit a single Word document for all tasks and your code for Task 1 is to
be included within an appendix, so that it can be checked and verified it is working
correctly. Your student ID number must be clearly defined upon the uploaded file .
Category: Python
-
“Maximizing Profitability Through Data Mining: A Comprehensive Analysis and Report for Confectionaries Are Us”
-
Predicting Daily Pollution Levels Using Machine Learning Title: “Forecasting Future Pollution Levels with Machine Learning: A Case Study Using the “pollution” Data Set”
Data Set
Use the data set “pollution” that is posed on Canvas to do the following tasks.
Tasks and Grading Rubrics
Follow the machine learning steps to predict the average daily pollution level for the next 7 days.
Load data and perform exploratory analysis (8 points)
Process and prepare data – hourly data is given in the data set, and you first need to convert the data into a daily average (10 points) Hint: use resample() from pandas
Train and evaluate models – select at least two machine learning algorithms (16 points)
Predict daily pollution level for next 7 days using the best-trained model from step 3 (6 points)
The overall quality of the project (precise and accurate coding, high-quality results – please use your own judgment to include only meaningful results and interpretations, e.g. there is no need to show the entire data set ) (10 points) -
Manipulating a List of Integer Values # Manipulating a List of Integer Values Program
Directions:
Write a program that will allow the user to manipulate a list of Integer values.
The program will need to have a looping menu with the following options: add values, remove a value, remove a location, insert a value, clear list, get size, get index, print, total, average and exit. Make sure to set up the list and the functions required, then use the main function to set up the menu and call each function using an if statement for each possible choice in the menu.
Menu Options:
Add values – add values until 0 is entered
Each value is added to the end of the list.
Zero is not added.
Change a value –Changes the value at a given location.
Prints an error if the index is invalid.
Insert a value – Adds a single value at a given location.
Prints an error if the index is invalid.
Get Index – Prints the value at a given location.
Prints an error if the index is invalid.
Get Size – Prints the number of elements in the list
Print – Displays all the values in the list
Total – Prints the total of all the values in the list
Average – Prints the average of all the values in the list
Remove a value – Attempts to remove a value given.
If the remove was successful print “remove successful”
If the remove was unsuccessful print “value not found”.
Remove a location – Removes the value at a given location and prints the value that was removed.
Prints an error if the index is invalid.
Clear – Empties the list
Exit – Exits the program -
“Getting User Input and Concatenation in Python”
Getting User Input and Concatenation
Using the input() function
Getting user input is an essential skill in programming.
In Python, we can use the input() function to get user input.
The input() function returns a string value.
Concatenation
Concatenation is the process of combining two or more strings.
In Python, we can use the + operator to concatenate strings.
Example
name = input(“What is your name? “)
color = input(“What is your favorite color? “)
print(“Hello, ” + name + “! Your favorite color is ” + color + “.”)
Common Mistakes
Mixing data types
Be careful when concatenating strings with other data types.
Make sure to convert the other data types to strings first.
Using the wrong operator
Remember that the + operator is used for concatenation, not the + operator.
Further Reading
Python input() function documentation
Python string concatenation tutorial
Python input() function exercise
Python str() function documentation for converting other data types to strings
[Python int() function documentation for converting strings to integers](minvalue, maxvalue)>`) -
“Building a Comprehensive Library Management System with Python: Exploring and Integrating Third-Party Packages for Enhanced Functionality”
Create a Python program that outlines a library management system. developing a Python script that manipulates various types of files. Discuss the process of exploring and integrating third-party Python packages to enhance your application’s functionality and how to import it. Provide practical examples to illustrate each concept, highlighting their importance in software development. please AI answers are not accepted.
-
“Student Record Management at a University: Using Classes, Dictionaries, and CSV Files”
You will design a program that manages student records at a university. You will need to use a number of concepts that you learned in class including: use of classes, use of dictionaries and input and output of comma delimited csv files.
The use of pandas, lambda, itemgetter or databases is explicitly not allowed.
Input:
a) StudentsMajorsList.csv — contains items listed by row. Each row contains student ID, last
name, first name, major, and optionally a disciplinary action indicator
b) GPAList.csv — contains items listed by row. Each row contains student ID and the student
GPA.
c) GraduationDatesList.csv – contains items listed by row. Each row contains student ID and
graduation date.
Example StudentsMajorsList.csv, GPAList.csv and GraduationDatesList.csv are provided for reference.
Your code will be expected to work with any group of input files of the appropriate format. Names,
majors, GPAs and graduation dates can and will likely be different from the examples provided.
You can reuse parts of your code from Part 1
Required Output:
1) Interactive Inventory Query Capability
Query the user of an item by asking for a major and GPA with a single query.
i. Print a message(“No such student”) if the major is not in the roster, more that
one major or GPA is submitted. Ignore any other words, so “smart Computer
Science student 3.5” is treated the same as “Computer Science 3.5”.
ii. Print “Your student(s):” with the student ID, first name, last item, GPA. Do not
provide students that have graduated or had disciplinary action . List all the
students within 0.1 of the requested GPA.
iii. Also print “You may, also, consider:” and provide information about the same
student type within 0.25 of the requested GPA . Do not provide students that
have graduated or had disciplinary action.
iv. If there were no students who satisfied neither ii nor iii above – provide the
information about the student within the requested major with closest GPA to
that requested. Do not provide students that have graduated or had disciplinary
action .
v. After output for one query, query the user again. Allow ‘q’ to quit. -
“Python Library Management System with File Manipulation and Data Structure Interaction”
Create a Python program that outlines a library management system. developing a Python script that manipulates various types of files. developing a Python application that requires interaction with various data structures. please ai answeres are not accepted.
-
Fixing Error in Python Face Comparison Project
Hi
I have the attached python project for comparing faces. the main file to be run is login_window.py but when click on “match” it show error as you can see when run the project in VScode. I need only to fix this error .Thanks -
“Python Coding and Written Questions” 1. Write a Python program to calculate the area of a circle given its radius. 2. Given a list of numbers, write a Python function to find and return the largest number in the list. 3. Write
3 Python coding/written questions
It needs to be done accurately according to the instructions
I need it done within 2 hours -
Title: Introduction to Game Theory and Implementation of the Prisoner’s Dilemma in Python Game Theory is a mathematical framework used to analyze and understand decision-making in strategic situations, where the outcome of one’s decision depends on the actions of others
Summarize a specific topic in Game Theory. Then, find a game theory package in Python (possibly one that relates back to the topic you had previously described) and write out how the extension works. Pick one problem that uses it and explain how it works, format this like an annotated code. Attached are some lectures and resources we got. Please cite any and all sources used.