首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写Haskell程序|代做 Statistics统计、回归、迭代|代写Python程序|代写R语言
项目预算:
开发周期:
发布时间:
要求地区:
FIT9136 Algorithms and
Programming Foundations in
Python
Assignment 3
Last Updated: 28 September 2023
Table of Contents
1. Key Information
2. Context Information
3. Implementation Instructions
3.1. The Investor Application
3.2. Extracting Property Information
3.3. Currency Exchange
3.4. Suburb Property Summary
3.5. Average Land Size
3.6. Property Value Distribution
3.7. Sales Trend
3.8. Identifying a Property of a Specific Price in a Suburb
4. Do and Do NOT
4.1. Important Notes:
5. Submission Requirements
6. Academic Integrity
7. Marking Guide
8. Getting help
8.1. English language skills
8.2. Study skills
8.3. Things are tough right now
8.4. Things in the unit don’t make sense
8.5. I don’t know what I need
Page 2 of 14
1. Key Information
Purpose This assignment will develop your skills in designing, constructing, and
documenting a small Python program according to specific programming
standards. This assessment is related to (part of) the following learning
outcome (LO):
● LO4: Investigate useful Python packages for scientific computing
and data analysis;
● LO5: Experiment with data manipulation, analysis, and
visualisation techniques to formulate business insight.
Your task This assignment is an individual task where you will write Python code for
a simple application whereby you will be developing a property
investment management system as per the specification.
Value 30% of your total marks for the unit.
Due Date Friday, 20 October 2023, 4:30 PM (AEDT)
Submission ● Via Moodle Assignment Submission.
● FIT GitLab check-ins will be used to assess the history of
development
● Jplog will be used for similarity checking of all submissions.
Assessment
Criteria
The following aspects will be assessed:
1. Program functionality in accordance to the requirements
2. Code Architecture and Adherence to Python coding standards
3. The comprehensiveness of documented code and test strategy
Late
Penalties
● 10% deduction per calendar day or part thereof for up to one
week
● Submissions more than 7 calendar days after the due date will
receive a mark of zero (0) and no assessment feedback will be
provided.
Support
Resources
See Moodle Assessment page and Section 8 in this document
Feedback Feedback will be provided on student work via
● general cohort performance
● specific student feedback ten working days post submission
Page 3 of 14
2. Context Information
You are working as a developer in a property investment company located in Melbourne,
Australia. Your company is providing service for customers from all over the world to invest
in properties in Melbourne. As your company grows, the management team has discovered
that some of the administrative tasks are time-consuming and repetitive. Therefore, as the
only developer in this company, your task here is to automate some of these administrative
tasks. To test your implemented functionalities, you are provided a CSV file which contains
information about the properties sold in some suburbs from 2010 onwards.
3. Implementation Instructions
Your implementation must include a text interface (a text interface is the least
requirement) with functionalities detailed below. Your program will be evaluated based on
its clarity, including the provision of clear information and error messages. Your program
should handle exceptions properly and handle unexpected cases wherever necessary. The
validation of data types and values should be done within each functionality.
To ensure that your code can be properly evaluated by the teaching team:
1. Please ensure that your implemented methods use the same names and method
signatures (i.e. number and type of input arguments and the type of the return
value) as required,
2. Please ensure that your code is properly formatted, such as proper variable naming
conventions, consistent indentations, proper line length, etc.,
3. Please ensure that you provide clear and coherent comments on your code to aid
with the graders’ interpretation of your code,
4. For more details regarding formatting and commenting, see the PEP 8 Style
Guideline.
3.1. The Investor Application
You are required to use object-oriented programming to implement the text interface and
the following functionalities described from 3.2. to 3.8., which allows users to select and
perform certain operations. You should determine the proper number of classes needed
instead of including all the methods in one class (for example, you may create a class 1)
SimpleDataAnalyser to deal with the loading of data as well as the simple analyses ; 2)
DataVisualiser to deal with the visualisations; and 3) Investor to display a menu, ask for
and process user inputs, etc.). Please make sure to create a main.py file to run your
implemented text interface. You should also provide an instruction file in PDF format, which
is no more than two pages in length, to describe the usage of the interface. For each
functionality from 3.2 to 3.8, we list a core method as shown below. Note that for these
core methods described below, you should use the same method name and include the
same method parameter. The only permitted modification is to add the “self” keyword
to the methods.
Page 4 of 14
3.2. Extracting Property Information
The extract_property_info(file_path) method is responsible for reading the
property information from the data file located at the specified file_path. This method
returns a dataframe.
3.3. Currency Exchange
Since many of the customers are from different countries, the
currency_exchange(dataframe, exchange_rate) method is responsible for
transforming the property prices in Australian dollars into the target currency according to
the exchange rate. The variable dataframe is the one returned in 3.2., and the data type
of exchange_rate is float. This method returns a NumPy array of transformed prices.
3.4. Suburb Property Summary
The purpose of this method is to display the summary of the properties with respect to the
number of bedrooms, number of bathrooms and number of parking spaces for a given
suburb. Your task is to write a method suburb_summary(dataframe, suburb)
where dataframe is the one returned by the method described in 3.2. and suburb is the
target suburb to be analysed. Here, if the value of suburb is “all”, the method should
display the summary from all the suburbs. If the value of suburb does not exist in the
dataframe, an error message should be displayed. The summary should at least include
the mean values, standard deviation, median, minimum and maximum. This method does
not have a return value.
3.5. Average Land Size
Your task here is to implement the method avg_land_size(dataframe, suburb)
where dataframe is the one returned by the method described in 3.2. and suburb is the
target suburb to be analysed (or all suburbs if the value of suburb is “all”). This method
calculates and returns the average land size in 𝑚 of properties in the suburb (or None if the 2
suburb does not exist). Note that the invalid land size values should be excluded and that the
size units are different for some properties.
3.6. Property Value Distribution
Here, you will be visualising the property values as a histogram so as to easily present to the
customers. You are provided a dictionary of key-value pairs where the keys are the names of
Page 5 of 14
the currency and the values are their exchange rate to Australian dollars, which you can use
as a local variable within this method:
currency_dict = {"AUD": 1, "USD": 0.66, "INR": 54.25, "CNY":
4.72, "JPY": 93.87, "HKD": 5.12, "KRW": 860.92, "GBP": 0.51,
"EUR": 0.60, "SGD": 0.88}
Your task is to write a method prop_val_distribution(dataframe, suburb,
target_currency) which:
● Takes the following parameters:
○ A dataframe
○ A suburb value
○ A target currency (whose default value is “AUD”)
● Converts the property value into the target currency if the currency is in the
currency_dict. In cases where the target currency does not exist in the
currency_dict, the program needs to inform the user and generate the
histogram in AUD.
● Produces a graphical representation (i.e., a histogram) of the property value
distribution of the specified suburb (or all suburbs if the value of suburb is “all”)
based on the converted property values and save this graphical representation as a
file.
● In cases where the target suburb does not exist in the dataframe, the program
should inform the user and generate the histogram with all suburbs and save the
graph as a file.
● Note that the records with missing price values should be excluded.
You will need to invoke methods implemented in previous steps. This method does not have
a return value.
3.7. Sales Trend
Here, you will need to calculate the number of properties sold in each year and visualise the
results as a line chart so that a sales trend can be easily observed. The line chart should be
saved as an image file locally.
Your task is to implement the method sales_trend(dataframe) where dataframe
is the one returned by the method described in 3.1. The method does not have a return
value.
3.8. Identifying a Property of a Specific Price in a Suburb
Your task here is to implement the locate_price(target_price, data,
target_suburb) method to find out if a specific target_price value is in the list of
prices from a specific suburb in. The variable data is a dataframe loaded by a previous
Page 6 of 14
method. You should filter the data according to the variable target_suburb to get the
list of prices for the properties in the target_suburb. The variable target_price is
a numeric value. This method first sorts the list of prices using a reverse insertion sort (i.e.,
an insertion sort algorithm that sorts the list in descending order). Then this method
searches for the target_price value within the reversely sorted list of prices using
recursive binary search. A boolean value of True or False will be returned by this method to
indicate if the target_price value can be found in the list of prices filtered for the
target_suburb.
Page 7 of 14
4. Do and Do NOT
Do Do NOT
● Maintain appropriate citing and referencing1
,
● Get support early from this unit and other
services within the university,
● Apply for special consideration or for
extensions2 early if needed.
● Leave your assignment in draft mode
(assignments in draft mode will not be
marked),
● Submit late (10% daily penalty applies)3
,
● Attempt to submit after 7 days of the due
date (they will not be accepted), unless
you have special consideration.
4.1. Important Notes:
● If any exceptions/errors happen when running your program and are not properly
handled, you will lose 50% of the functionality where the exceptions/errors occur.
For example, if the total mark of one functionality is 10 marks and any exception
happens when running this functionality which causes the program to terminate,
then the maximum mark you can get is 5 instead of 10.
● Add correct validation and output messages to make your code more user-friendly to
users.
● For each function listed in 3.2 to 3.8, add code to test each functionality and also the
expected behaviour. The test code should be placed in the main.py file as comments.
For example, if you have created a class named DataExtracter where
extract_property_info(file_path) is an instance method:
# de = DataExtracter()
# df = de.extract_property_info("property_information.csv")
# len(df)
# this should output 118771
● This is an individual assignment and must be completed on your own. You must
attribute the source of any part of your code that you have not written yourself.
Please note the section on Academic Integrity in this document.
● The assignment must be done using PyCharm, Python 3.10.
● The Python code for this assignment must be implemented according to the PEP
8-Style Guide for Python Code.
3 e.g.: If the original mark was 70/100, submitting 2 days late results in 50/100 (20 mark
deduction). This includes weekends and public holidays.
2 https://www.monash.edu/exams/changes/special-consideration
1https://www.monash.edu/library/help/citing-and-referencing/citing-and-referencing-tutori
al
Page 8 of 14
● The allowed libraries are OS, NumPy, Pandas, Matplotlib and SciPy. You will receive
penalties if you use any other libraries. If you are implementing unit tests, you are
allowed to use unittest.
● For using any built-in functions/methods, students should seek confirmation from
the teaching team.
● Commenting on your code is an essential part of the assessment criteria. In addition
to inline and function commenting on your code, you should include
comments/markdowns at the beginning of your program file which specify your full
name, student ID, the creation date, and the last modified date of the program, as
well as a high-level description of the program.
● This assignment cannot be completed in a few days and requires students to apply
what they learnt each week as we move closer to the submission date. Please
remember to show your progress weekly to your tutor.
● You must keep up to date with the Moodle Ed Assignment 3 forum where further
clarifications may be posted (this forum is to be treated as your client). If there are
any changes to the specification, apart from making announcements on Ed, we will
update the new specification on Moodle.
● Please be careful to ensure you do not publicly post anything which includes your
reasoning, logic or any part of your work to this forum, as doing so violates Monash
plagiarism/collusion rules and has significant academic penalties. Use private posts
or email your allocated tutor to raise questions that may reveal part of your
reasoning or solution.
● If any aspect of the assignment specifications is unclear or not explicitly addressed,
please ensure to verify with the teaching team and request clarification.
● In this Assessment, you must NOT use generative artificial intelligence (AI) to
generate any materials or content in relation to the assessment task.
Page 9 of 14
5. Submission Requirements
The assignment must be submitted by Friday, 20 October 2023, 4:30 PM (AEDT).
Please start working on your assignment as soon as you can.
The following files are to be submitted on Moodle:
● The .py files that you created to implement your assignment (i.e., code and
documentation). Note that you should properly name these files to make sure their
usage is self-explanatory.
● An instruction file that explains the usage of the program. Name the file
ass3_manual_[studentID].pdf. The instruction file should be coherent and concise,
and should not be more than 2 pages in length.
The above files must be compressed to a .zip file named ass3_StudentID.zip and submitted
via Moodle. The .py files must also have been pushed to your remote repository (at FIT
GitLab server) with an appropriate history as you develop your solutions. Please ensure your
commit messages are meaningful. You are NOT required to push the history of the
instruction file to the FIT GitLab server. DO NOT push the .zip file.
● Please note four pushes is a minimum, in practice we would expect significantly
more. All commits must include a meaningful commit message which clearly
describes what the particular commit is about.
● No submissions will be accepted via email.
● Please note we cannot mark any work on the GitLab Server. Therefore you need to
ensure that you submit correctly via Moodle since it is only in this process that you
complete the required student declaration, without which work cannot be assessed.
● It is your responsibility to ENSURE that the submitted files are the correct files. We
strongly recommend after uploading a submission, and prior to actually submitting in
Moodle, that you download the submission and double-check its contents.
● Please carefully read the documentation under the “Special Consideration” and
"Assignment Task Submission" on the Moodle Assessments page, which covers
things such as extensions, correct submission, and resubmission.
● Please note, if you need to resubmit, you cannot depend on your tutors' availability,
for this reason, please be VERY CAREFUL with your submission. It is strongly
recommended that you submit several hours before due to avoid such issues.
● There are no restrictions on creating extra functions. Do NOT create redundant
functions/methods.
● Marks will be deducted for any of these requirements that are not strictly complied
with.
Page 10 of 14
● All built-in sorting functions/methods MUST NOT be used (e.g., sorted(), list.sort(),
(pandas.*.)sort_values())
Page 11 of 14
6. Academic Integrity
Students are expected to be familiar with the University Academic Integrity Policy and are
particularly reminded of the following:
Section 1.9:
Students are responsible for their own good academic practice and must:
● undertake their studies and research responsibly and with honesty and integrity;
● credit the work of others and seek permission to use that work where required;
● not plagiarise, cheat or falsify their work;
● ensure that their work is not falsified;
● not resubmit any assessment they have previously submitted, without the
permission of the chief examiner; appropriately acknowledge the work of others;
● take reasonable steps to ensure that other students are unable to copy or misuse
their work; and
● be aware of and comply with University regulations, policies and procedures relating
to academic integrity.
and Section 2.9:
Unauthorised distribution of course-related materials: Students are not permitted to share,
sell or pass on to another person or entity external to Monash:
2.9.1 any course material produced by Monash University (such as lecture slides, lecture
recordings, class handouts, assessment requirements, examination questions; excluding
Handbook entries) as this is a breach of the Copyright Compliance Policy and such conduct
may be a copyright law infringement subject to legal action; or
2.9.2 any course-related material produced by students themselves or other students (such
as class notes, past assignments), nor to receive such material, without the permission of
the chief examiner. The penalties for breaches of academic misconduct include
● a zero mark for the assessment task
● a zero mark for the unit
● suspension from the course
● exclusion from the University.
Where a penalty or disciplinary action is applied, the outcome is recorded and kept for seven
years, or for 15 years if the penalty was excluded.
Page 12 of 14
7. Marking Guide
Your work will be marked as per the following:
● Method Functionalities - 75 Marks
○ Extracting Property Information - 2 Mark
○ Currency Exchange - 6 Marks
○ Suburb Property Summary - 10 Marks
○ Average Land Size - 10 Marks
○ Property Value Distribution - 18 Marks
○ Sales Trend - 15 Marks
○ Identifying Price Value - 14 Marks
● OOP Implementation and Main Logic - 25 Marks
○ Proper design of classes
○ Clear usage manual
○ Clear instructional messages
○ Good alignment to PEP 8 style
○ Detailed test codes
○ Good program logic
● Penalty - up to 20 marks
4
○ Missing requirements listed in Section 4. Do and DO NOT and section 5.
Submission Requirements.
Total: 100 marks, recorded as a grade out of 30
4 The penalty here is excluded from the late submission
Page 13 of 14
8. Getting help
8.1. English language skills
if you don’t feel confident with your English.
● Talk to English Connect: https://www.monash.edu/english-connect
8.2. Study skills
If you feel like you just don’t have enough time to do everything you need to, maybe you just
need a new approach.
● Talk to a learning skills advisor: https://www.monash.edu/library/skills/contacts
8.3. Things are tough right now
Everyone needs to talk to someone at some point in their life, no judgement here.
● Talk to a counsellor: https://www.monash.edu/health/counselling/appointments
(friendly, approachable, confidential, free)
8.4. Things in the unit don’t make sense
Even if you’re not quite sure what to ask about, if you’re not sure you won’t be alone, it’s
always better to ask.
● Ask in Ed
● Attend a consultation
8.5. I don’t know what I need
Everyone at Monash University is here to help you. If things are tough now they won’t
magically get better by themselves. Even if you don’t exactly know, come and talk with us
and we’ll figure it out. We can either help you ourselves or at least point you in the right
direction.
Page 14 of 14
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写math 1151, autumn 2024 w...
2024-11-14
代做comp4336/9336 mobile dat...
2024-11-14
代做eesa01 lab 2: weather an...
2024-11-14
代写comp1521 - 24t3 assignme...
2024-11-14
代写nbs8020 - dissertation s...
2024-11-14
代做fin b377f technical anal...
2024-11-14
代做ceic6714 mini design pro...
2024-11-14
代做introduction to computer...
2024-11-14
代做cs 353, fall 2024 introd...
2024-11-14
代做phy254 problem set #3 fa...
2024-11-14
代写n1569 financial risk man...
2024-11-14
代写csci-ua.0202 lab 3: enco...
2024-11-14
代写econ2226: chinese econom...
2024-11-14
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!