国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫CS 61B、代做java編程設計

時間:2024-04-28  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 1/11
CS 61B
Projects / Project 2C: Ngordnet Enhancements
Each assignment will have an FAQ linked at the top. You can also access it by adding “/faq” to
the end of the URL. The FAQ for Project 2C is located here.
In this project, you?ll complete your implementation of the NGordnet for k!=0 and
commonAncestors case.
As this is a quite new project, there may be occasional bugs or confusion with the spec. If you
notice anything of this sort, please post on Ed.
DANGER
Please read through the 2B spec before starting 2C.
DANGER
THE SETUP FOR THIS PROJECT IS DIFFERENT THAN THE OTHER LABS / PROJECTS.
PLEASE DO NOT SKIP THIS STEP!
Project 2C: Ngordnet Enhancements
FAQ
Checkpoint & Design Doc Due 03/15/2024
Coding Due 04/01/2024
Project Setup
Skeleton Setup
Similar to other assignments in this class, run git pull skeleton main to get the skeleton
code for this project.
1
NOTE: You?ll notice that this skeleton is (almost) the exact same as the Project 2B
skeleton. This is intentional.
a
Download the data files for this project using this link and move them into your proj2c
folder on the same level as src .
2
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 2/11
Once you are done, your proj2c directory should look like this:
WARNING
While you can (and should!) certainly design for 2C in advance, we suggest only starting to
code after you get a full score on Project 2B just in case your implementation has any
subtle bugs in it.
WARNING
IMPORTANT NOTE: You should really complete Project 2B/C: Checkpoint first before
starting coding, or even designing your project. It will be helpful for your understanding of
the project. We will also require you to submit a design document to Gradescope. More
details about the design document can be found in Deliverables and Scoring.
This part of the project is designed for you to come up with an efficient and correct design for
your implementation. The design you come up with will be very important to handle these
cases. Please read the 2B & 2C spec carefully before starting your design document.
Copy your implementation from 2A for ngrams , including TimeSeries and NGramMap , into
the proj2c folder.
3
Copy your implementation from 2B into the proj2c folder, since k!=0 &
commonAncestors will depend on your implementation from 2A and 2B.
4
proj2c
├── data
│ ├── ngrams
│ └── wordnet
├── src
│ ├── <2B helper files>
│ ├── browser
│ ├── main
│ ├── ngrams
│ │ ├── <Your NGramMap implementation from 2A>
│ │ └── <Your TimeSeries implementation from 2A>
│ └── plotting
├── static
└── tests
Copy
Getting Started
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 3/11
We?ve created two wonderful tools that you can (and should!) use to explore the dataset, see
how the staff solution behaves for specific inputs, and get expected outputs for your unit tests
(see Testing Your Code). We?ll link them here, as well as in other relevant parts of the spec.
Wordnet Visualizer: Useful for visually understanding how synsets and hyponyms work and
testing different words/lists of words for potential test case inputs. Click on the “?” bubbles
to learn how to use the various features of this tool!
Staff Solution Webpage: Useful for generating expected outputs for different test case
inputs. Use this to write your unit tests!
TASK
Read through the entire 2B/C spec and complete Project 2B/C: Checkpoint
After finishing the checkpoint, complete Design Document
In Project 2B, we handled the situation where k == 0 , which is the default value when the
user does not enter a k value.
Your required task is to handle the case where the user enters k . k represents the maximum
number of hyponyms that we want in our output. For example, if someone enters the word
“dog”, and then enters k = 5 , your code would return at most 5 words.
To choose the 5 hyponyms, you should return the k words which occurred the most times in
the time range requested. For example, if someone entered words = ["food", "cake"] ,
startYear = 1950 , endYear = 19** , and k = 5 , then you would find the 5 most popular
words in that time period that are hyponyms of both food and cake. Here, the popularity is
defined as the total number of times the word appears over the entire time period requested.
The words should then be returned in alphabetical order. In this case, the answer is [cake,
cookie, kiss, snap, wafer] if we?re using top_14377_words.csv , total_counts.csv ,
synsets.txt , and hyponyms.txt .
DANGER
Be sure you are getting the words that appear with the highest counts, not the highest
weights. Otherwise, you will run into issues that are very difficult to debug!
Note that if the frontend doesn?t supply a year, default values of startYear = 1**0 and endYear
= 2020 are provided by NGordnetQueryHandler.readQueryMap .
It might be hard to figure out the hyponyms of the words with k != 0 so we are providing
data that is easier to visualize! Below, you?ll see a modified version for EECS class
?
?
Handling k != 0
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 4/11
requirements, inspired by HKN. We have also provided the data that represents the graph
below ( frequency-EECS.csv , hyponyms-EECS.txt , synsets-EECS.txt ). If someone entered
words = ["CS61A"] , startYear = 2010 , endYear = 2020 , and k = 4 , you should receive
"[CS170, CS61A, CS61B, CS61C]" . This frequency-EECS.csv is a bit different from the
previous one since it has values with the same frequencies. We highly recommend you to take
a look at frequency-EECS.csv . Also, while you are designing your implementation, bear this in
mind that we can give you words with the same frequencies.
Project 2C: Ngordnet Enhancements - EECS Course Guide Edited 1 month ago
If a word never occurs in the time frame specified, i.e. the count is zero, it should not be
returned. In other words, if k > 0 , we should not show any words that do not appear in the
ngrams dataset.
If there are no words that have non-zero counts, you should return an empty list, i.e. [] .
If there are fewer than k words with non-zero counts, return only those words. For example if
you enter the word "potato" and enter k = 15 , but only 7 hyponyms of "potato" have
non-zero counts, you?d return only 7 words.
This task will be a little trickier since you?ll need to figure out how to pass information around
so that the HyponymsHandler knows how to access a useful NGramMap .
TASK
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 5/11
Modify your HyponymsHandler and the rest of your implementation to deal with the k !=
0 case.
WARNING
EECS-course guide is not available on the interactive web staff solution so it won?t return
anything if you give the input CS61A .
DANGER
DO NOT MAKE A STATIC NGRAMMAP FOR THIS TASK! It might be tempting to simply
make some sort of public static NGramMap that can be accessed from anywhere in your
code. This is called a "global variable".
We strongly discourage this way of thinking about programming, and instead suggest that
you should be passing an NGramMap to either constructors or methods. We?ll come back
to talking about this during the software engineering lectures.
Until you use the autograder, you?ll need to construct your own test cases. We provided
one in the previous section: words = ["food", "cake"] , startYear = 1950 , endYear =
19** , k = 5 .
When constructing your own test cases, consider making your own input files. Using the
large input files we provide is extremely tedious.
Up until now, we have only been concerned with finding the common hyponyms of words. For
the last part of this project, your task is to find the common ancestors.
That is, given a set of words, what words contain the given set of words as hyponyms?
For example, consider synsets16.txt and hyponyms16.txt from 2B:
Tips
?
?
Finding Common Ancestors
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 6/11
If we find the ancestors of "adjustment" , we should get "[adjustment, alteration, event,
happening, modification, natural_event, occurrence, occurrent]" , as shown in the
graph below.
This also should apply to words in multiple contexts, as seen with "change" :
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 7/11
The ancestors of "change" should be "[act, action, alteration, change, event,
happening, human_action, human_activity, modification, natural_event, occurrence,
occurrent]" .
We can also ask for the common ancestors of sets of words, which can reveal some neat
relationships!
Here, we find the common ancestors of the words = ["change", "adjustment"] . The result
should be "[alteration, event, happening, modification, natural_event, occurrence,
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 8/11
occurrent]" , which are all the words in the graph that contain both "change" and
"adjustment" as hyponyms. Note that "alteration" and "modification" are also included
in the result, contrary to what you might expect, as explained below.
Note: Be sure to take a word intersection rather than a node intersection just as in 2B, so the
common ancestors of ["test_subject", "math"] in the following graph should return "
[subject]" , as "subject" contains both "test_subject" and "math" as hyponyms, even
though "test_subject" and "math" are not directly connected in the graph.
We may also ask for common ancestors of three or more words.
Note that the outputs are in alphabetical order, and keep in mind that k != 0 can also apply
to this task.
Your query handling needs to remain efficient for common ancestors (i.e., the timeouts applied
to 2B still apply here). This means that going through every single word and checking if it
contains all the words in the query as hyponyms will be too slow on the larger datasets!
You will need to modify your HyponymsHandler class to account for the type of query, i.e.,
hyponyms or common ancestors. This should look similar to how you found startYear ,
endYear , or k , and this will be specified for you with NgordnetQueryType.HYPONYMS or
NgordnetQueryType.ANCESTORS , respectively.
TASK
Modify your HyponymsHandler and the rest of your implementation to handle common
ancestor queries in addition to hyponym queries.
As mentioned before, you should not need to copy-paste your code or do anything too drastic
to handle this task. Consider how you can use the same data structures and methods from
before to solve this problem, perhaps with a few tweaks.
NgordnetQueryType
Design Tips
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 9/11
Helper methods are your friends! If you find yourself writing similar code more than once,
consider making a helper method that you can call from both places that does the common
work for you.
For Project 2C, the only required deliverable is the HyponymsHandler.java file, in addition to
any helper classes. However, we will not be directly grading these classes, since they can vary
from student to student.
Project 2B/C: Checkpoint: 5 points - Due March 15th
Project 2C Coding: 25 points - Due April 1st
HyponymsHandler popularity-hardcoded: 20%, k != 0
HyponymsHandler popularity-randomized: 30%, k != 0
HyponymsHandler common-ancestors: 50%
In addition to Project 2C, you will also have to turn in your design document. This will be worth
5 points and it is due March 15th. The design document?s main purpose is to serve as a
foundation for your project. It is important to think and ideate before coding. What we are
looking for in the design document:
Identify the data structures we have learned in the class that you will be using in your
implementation.
Pseudocode / general overview of your algorithm for your implementation.
Your design document should be around 1 - 2 pages long. Design document will be mainly
graded on effort, thought and completion.
Please make a copy of this template and submit to Gradescope.
Don?t worry if you decide to change your design document after. You are free to do so! We
want you to think about the implementation before coding therefore we require you to submit
your design as the part of the project.
The token limiting policy for this project will be as follows: You will start with 8 tokens, each of
which has a 24-hour refresh time.
We?ve provided you with two short unit test files for this project in the proj2c/tests
directory:
TestOneWordKNot0Hyponyms.java
Deliverables and Scoring

 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 10/11
TestCommonAncestors.java
These test files are not comprehensive; in fact, they each only contain one sanity check
test. You should fill each file with more unit tests, and also use them as a template to create
two new test files for the respective cases.
If you need help figuring out what the expected outputs of your tests should be, you should
use the two tools that we linked in the Getting Started section.
Use the small files while testing! This decreases the startup time to run Main.java and
makes it easier to reason about the code. If you?re running Main.java , these files are set in
the first few lines of the main method. For unit tests, the file names are passed into the
getHyponymsHandler method.
You can run Main.java with the debugger to debug different inputs quickly. After clicking
the “Hyponyms” button, your code will execute with the debugger - breakpoints will be
triggered, you can use the variables window, etc.
There are a lot of moving parts to this project. Don?t start by debugging line-by-line.
Instead, narrow down which function/region of your code is not working correctly then
search more closely in those lines.
Check the FAQ for common issues and questions.
Throughout this assignment, we?ve had you use your front end to test your code. Our grader is
not sophisticated enough to pretend to be a web browser and call your code. Instead, we?ll
need you to provide a method in the proj2c_testing.AutograderBuddy class that provides a
handler that can deal with hyponyms requests.
When you ran git pull skeleton main at the start of this spec, you should have received a
file called AutograderBuddy.java
Just like 2B, open AutograderBuddy.java and fill in the getHyponymsHandler method such
that it returns a HyponymsHandler that uses the four given files. Your code here will probably
be similar to your code in Main.java .
Now that you?ve created proj2c.testing.AutograderBuddy , you can submit to the
autograder. If you fail any tests, you should be able to replicate them locally as JUnit tests by
building on the test files above. If any additional datafiles are needed, they will be added to this
section as links.

Submitting Your Code
 Project 2C: Ngordnet Enhancements | CS 61B Spring 2024
 11/11
If you?d like to go above and beyond in this project (and even explore some front-end
development), read through the Optional Features spec!
The WordNet part of this assignment is loosely adapted from Alina Ene and Kevin Wayne?s
Wordnet assignment at Princeton University.
Optional Extra Features
Acknowledgements

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp















 

掃一掃在手機打開當前頁
  • 上一篇:日本工作簽證去菲律賓免簽嗎 免簽條件總結
  • 下一篇:代做FINT2100、代寫Java/Python程序設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久精品国产电影| 欧美a在线视频| 中文字幕一区二区三区四区五区| 日韩免费av一区二区| 国产日韩av在线播放| 国产精品视频专区| 日韩极品视频在线观看| 国产成人在线一区| 午夜精品一区二区在线观看| 国产精品制服诱惑| 国产精品视频网| 欧美一区视频在线| 久久一区免费| 亚洲欧美日韩精品久久久| 91免费国产精品| 伊人久久青草| 97欧美精品一区二区三区| 欧美日韩999| 国产免费观看久久黄| 国产精品免费区二区三区观看| 人人澡人人澡人人看欧美| 国产大片精品免费永久看nba| 色综合天天狠天天透天天伊人| 国产欧美一区二区三区久久人妖| 国产精品视频一区二区三区四 | 精品久久蜜桃| 国产专区一区二区三区| 国产精品日韩一区二区| 秋霞无码一区二区| 国产精品涩涩涩视频网站| 日韩av免费一区| 久久人妻无码一区二区| 日韩欧美手机在线| 国产成人小视频在线观看| 欧美一区二区视频97| 国产www精品| 日韩视频在线免费看| 国产精品无av码在线观看| 欧美不卡在线一区二区三区| 色妞一区二区三区| 精品一区二区三区国产| 国产精品成人观看视频免费| 精品视频高清无人区区二区三区| 精品国产一二三四区| 北条麻妃av高潮尖叫在线观看| 久久国产精品久久久| 国产日本一区二区三区| 萌白酱国产一区二区| 日本精品免费| 国产精品久久久久久久免费大片| 欧美日韩一区在线视频| 久久国产精品久久久久久| 成人免费福利在线| 日韩欧美黄色大片| 国产精品久久久久久av福利软件| av日韩一区二区三区| 国产精品91在线| 国产久一道中文一区| 中文字幕中文字幕在线中心一区 | 日本中文字幕不卡免费| 91精品国产自产在线老师啪| 亚洲欧美国产一区二区| 久久精品一区二| 欧美中文字幕在线| 欧美另类99xxxxx| 97精品国产97久久久久久粉红| 欧美自拍资源在线| 伊人久久青草| 久久福利一区二区| 国内精品美女av在线播放| 色综合91久久精品中文字幕| www.亚洲一区二区| 欧美专区日韩视频| 中文字幕欧美日韩一区二区| 国产精品一二三在线| 在线视频不卡一区二区| 久久久人成影片一区二区三区| 欧美日本亚洲| 亚洲在线观看视频| 日韩视频免费观看| 成人精品小视频| 欧美日韩精品免费观看视一区二区| 欧美成人中文字幕| 超碰在线观看97| 欧美视频第一区| 一区二区三区在线观看www| 国产一区香蕉久久| 日本a级片电影一区二区| 久久777国产线看观看精品| 国产精品1234| 国产资源在线视频| 色香蕉在线观看| 免费91麻豆精品国产自产在线观看| 国产高清精品一区二区| 国产无限制自拍| 日韩精品视频在线观看视频| 中文字幕精品在线播放| 久久精品国产欧美激情| 91精品久久久久久久久久另类 | 亚洲精品中文字幕无码蜜桃| 久久精品国产一区二区电影| 97成人在线视频| 国产中文字幕日韩| 日本不卡高清视频一区| 中文字幕无码精品亚洲35| 国产精品日韩欧美综合| 久久久影院一区二区三区| 国产熟女高潮视频| 欧美精品久久久久久久免费| 天天爱天天做天天操| 国产精品免费久久久久久| 久久青草福利网站| 国产日本欧美视频| 欧美在线视频一区| 中文字幕黄色大片| 国产成人午夜视频网址| 97久久国产精品| 国产日韩一区二区在线| 国语精品中文字幕| 欧洲成人一区二区| 日本毛片在线免费观看| 亚洲a成v人在线观看| 中文字幕人成一区| 成人97在线观看视频| 国产精品人成电影| 日韩中文字幕第一页| www.男人天堂网| 美女精品国产| 欧美亚洲一区在线| 欧美一级大胆视频| 欧美综合在线观看| 欧美人与动牲交xxxxbbbb| 日本在线观看一区二区| 中文字幕久久综合| 欧美日韩爱爱视频| 久久6精品影院| 美女av一区二区三区| 国产精品乱码一区二区三区| 久久精品中文字幕免费mv| 久久久久久久国产精品视频| 国产成+人+综合+亚洲欧洲 | 久久久亚洲国产| 91高潮在线观看| 69av在线播放| 国产妇女馒头高清泬20p多| 久久男人资源视频| 国产成人精品久久| 久久久久久久久久久91| 8050国产精品久久久久久| 99久久自偷自偷国产精品不卡| 国产玖玖精品视频| 国产精品专区第二| 99久久精品免费看国产四区| 97人人香蕉| 91高清免费视频| 国产高清在线一区| 色婷婷久久一区二区| 欧美在线视频一区| 国产视频一区二区三区四区| 91久久久久久| 国产成人精品视频免费看| 久久99久久99精品中文字幕| 少妇人妻无码专区视频| 国内成人精品一区| 68精品久久久久久欧美| 国产精品久久久久秋霞鲁丝| 亚洲一区二区三区四区在线播放| 日本韩国欧美精品大片卡二| 国产无套粉嫩白浆内谢的出处| 成人免费aaa| 久久精品视频在线观看| 一区高清视频| 欧洲精品视频在线| 99国产在线观看| 国产精品欧美风情| 亚洲欧美国产精品桃花| 欧美在线视频一区二区| www国产无套内射com| 国产精品啪啪啪视频| 色噜噜一区二区| 国产美女99p| 国产精品免费一区二区三区 | 国产自产在线视频| 国产精品一久久香蕉国产线看观看| 国产www精品| 一本久道久久综合| 蜜桃视频日韩| 久久久久久久香蕉| 亚洲狠狠婷婷综合久久久| 国产一区二区三区四区五区在线| 国产高清www| 亚洲欧美日韩综合一区| 国产在线一区二区三区播放| 日韩有码在线电影| 亚洲国产日韩综合一区| 国产欧美欧洲| 国产精品久久久久久久天堂| 青青在线免费观看视频| 国产精品97在线| 一区精品在线|