Programming

Programming Questions? Ask a Programmer for Answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Programming

I need help with a few questions in an assignment. Python. I…

Customer Question
Hi, I need help...

Hi, I need help with a few questions in an assignment

Technician's Assistant: What programming language are you using for this assignment?

Python

Technician's Assistant: What are the full requirements for this task? How soon do you need it completed?

I can send the file attached with requirements tomorrow would be deadline

Technician's Assistant: Anything else you want the programmer to know before I connect you?

If i can have help to complete it now that would be best

Submitted: 2 months ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 2 hours by:
12/15/2017
Programmer: LogicPro, Computer Software Engineer replied 2 months ago
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,334
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified

Hi

Welcome here. Please provide complete requirements.

If you have any file zip and upload to www.wikisend.com and paste download link here.

Ask Your Own Programming Question
Customer reply replied 2 months ago
I can't access wikisend due to security reasons. Can I email or submit on google drive?
Customer reply replied 2 months ago
I don't want to remotely connect. I'd like to send the files.
Customer reply replied 2 months ago
Can you please provide an email I can send the files that are .py and then can share the zip on google drive?
Customer reply replied 2 months ago
This is the requirement. I can't attach the rest of the required files here.
Customer reply replied 2 months ago
I also need help with this assignment. Can you help with either/both?
Customer reply replied 2 months ago
Are you there?
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

Yes

Please let me check it

Ask Your Own Programming Question
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

Can you provide me socialnetworkanalysis.zip?

Ask Your Own Programming Question
Customer reply replied 2 months ago
coding: utf-8 -*-
"""
Created on Sun Nov 20 10:29:32 [email protected]: hina
"""
print ()import networkx
from operator import itemgetter
import matplotlib.pyplot# Read the data from the amazon-books.txt;
# populate amazonProducts nested dicitonary;
# key = ASIN; value = MetaData associated with ASIN
fhr = open('./amazon-books.txt', 'r', encoding='utf-8', errors='ignore')
amazonBooks = {}
fhr.readline()
for line in fhr:
cell = line.split('\t')
MetaData = {}
MetaData['Id'] = cell[0].strip()
ASIN = cell[1].strip()
MetaData['Title'] = cell[2].strip()
MetaData['Categories'] = cell[3].strip()
MetaData['Group'] = cell[4].strip()
MetaData['Copurchased'] = cell[5].strip()
MetaData['SalesRank'] = int(cell[6].strip())
MetaData['TotalReviews'] = int(cell[7].strip())
MetaData['AvgRating'] = float(cell[8].strip())
MetaData['DegreeCentrality'] = int(cell[9].strip())
MetaData['ClusteringCoeff'] = float(cell[10].strip())
amazonBooks[ASIN] = MetaData
fhr.close()# Read the data from amazon-books-copurchase.adjlist;
# assign it to copurchaseGraph weighted Graph;
# node = ASIN, edge= copurchase, edge weight = category similarity
fhr=open("amazon-books-copurchase.edgelist", 'rb')
copurchaseGraph=networkx.read_weighted_edgelist(fhr)
fhr.close()# Now let's assume a person is considering buying the following book;
# what else can we recommend to them based on copurchase behavior
# we've seen from other users?
print ("Looking for Recommendations for Customer Purchasing this Book:")
print ("--------------------------------------------------------------")
purchasedAsin = '0805047905'# Let's first get some metadata associated with this book
print ("ASIN = ", purchasedAsin)
print ("Title = ", amazonBooks[purchasedAsin]['Title'])
print ("SalesRank = ", amazonBooks[purchasedAsin]['SalesRank'])
print ("TotalReviews = ", amazonBooks[purchasedAsin]['TotalReviews'])
print ("AvgRating = ", amazonBooks[purchasedAsin]['AvgRating'])
print ("DegreeCentrality = ", amazonBooks[purchasedAsin]['DegreeCentrality'])
print ("ClusteringCoeff = ", amazonBooks[purchasedAsin]['ClusteringCoeff'])
# Now let's look at the ego network associated with purchasedAsin in the
# copurchaseGraph - which is esentially comprised of all the books
# that have been copurchased with this book in the past
# (1) YOUR CODE HERE:
# Get the depth-1 ego network of purchasedAsin from copurchaseGraph,
# and assign the resulting graph to purchasedAsinEgoGraph.
purchasedAsinEgoGraph = networkx.Graph()# Next, recall that the edge weights in the copurchaseGraph is a measure of
# the similarity between the books connected by the edge. So we can use the
# island method to only retain those books that are highly simialr to the
# purchasedAsin
# (2) YOUR CODE HERE:
# Use the island method on purchasedAsinEgoGraph to only retain edges with
# threshold >= 0.5, and assign resulting graph to purchasedAsinEgoTrimGraph
threshold = 0.5
purchasedAsinEgoTrimGraph = networkx.Graph()# Note that, given the purchasedAsinEgoTrimGraph you constructed above,
# you can get at the list of nodes connected to the purchasedAsin by a single
# hop (called the neighbors of the purchasedAsin) as below.
purchasedAsinNeighbors = purchasedAsinEgoTrimGraph.neighbors(purchasedAsin)# Next, let's pick the Top Five book recommendations from among the
# purchasedAsinNeighbors based on one or more of the following data of the
# neighboring nodes: SalesRank, AvgRating, TotalReviews, DegreeCentrality,
# and ClusteringCoeff
# (3) YOUR CODE HERE:
# Note that, given an asin, you can get at the metadata associated with
# it using amazonBooks (similar to lines 50-57 above).
# Now, come up with a method to make Top Five book recommendations based
# on one or more of the following metrics associated with nodes in
# purchasedAsinNeighbors: SalesRank, AvgRating, TotalReviews,
# DegreeCentrality, and ClusteringCoeff# Print Top 5 recommendations (ASIN, and associated Title, Sales Rank,
# TotalReviews, AvgRating, DegreeCentrality, ClusteringCoeff)
# (4) YOUR CODE HERE:
Customer reply replied 2 months ago
This is the framework ....I'm having problems trying to upload the zip file
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

I will review it and reply you in few hours.

Ask Your Own Programming Question
Customer reply replied 2 months ago
Can I share the zip file in google drive?
Customer reply replied 2 months ago
https://drive.google.com/open?id=1QcKfEsanN0htnY48TFL-uZ3W-2jdT132
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

Ok

Ask Your Own Programming Question
Customer reply replied 2 months ago
then here is the link to TextMining.zip for the Extra Credit assignment. https://drive.google.com/open?id=1FdevN7Fgf-8sfGXPdD8nevyVpjwMk1gQ
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

I will review these and reply you in few hours.

Ask Your Own Programming Question
Customer reply replied 2 months ago
Can you work offsite? I'd be willing to compensate more for your time if you can provide a solution asap.
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

Once I review it, I will reply you.

Ask Your Own Programming Question
Customer reply replied 2 months ago
okay, thank you!
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

Welcome

Ask Your Own Programming Question
Programmer: LogicPro, Computer Software Engineer replied 2 months ago

I reviewed it. My apologies, I am out of ideas and opting out for other Professionals to answer. Please wait. You will be notified by email as soon as any Professional joins you.

I would be happy to help you with your other questions though.

Thank you for your patience.

Ask Your Own Programming Question
Customer reply replied 2 months ago
Hey, do you have another professional to refer me to?
Customer reply replied 2 months ago
Hi, can you please try to help me?
Programmer: Steve, Consultant replied 2 months ago
Steve
Steve, Consultant
Category: Programming
Satisfied Customers: 292
Experience: Steve is a consultant in the areas of computer software and programming, information management and networking.
Verified

Hi there, my name is***** can help you with the Python scripts. Do you still need help with this?

Ask Your Own Programming Question
Was this answer helpful?
Ask ATLPROG Your Own Question
ATLPROG
ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7,677
7,677 Satisfied Customers
Experience: MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

ATLPROG is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

13,334 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

800 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
I'm trying to write VBA code to capture data from a pdf
I'm trying to write VBA code to capture data from a pdf file. … read more
Chris Baxter
Chris Baxter
28 satisfied customers
I don't seem to able to change my location in my profile.
Hi. I don't seem to able to change my location in my profile … read more
Chris Baxter
Chris Baxter
28 satisfied customers
I need a pseudocode flowchart and java code. Problem
Problem Statement:A painting company has determined that for every 115 square feet of wall space, one gallon of paint and 8 hours of labor will be required. The company charges $20.00 per hour for labor. Design a modular program that asks the user to enter the number of square feet of wall space to be painted and the price of paint per gallon. The program should display the following data:The number of gallons of paint required The hours of labor required The cost of the paint The labor charges The total cost of the paint job … read more
LogicPro
LogicPro
Computer Software Engineer
13,334 satisfied customers
Having issues with IIS 7.5 and PHP 5.2.6 .Net 4 in Windows
Having issues with IIS 7.5 and PHP 5.2.6 .Net 4 in Windows 2008 R2 environment: "Unable to place a FastCGI process in a JobObject. Try disabling the Application Pool CPU Limit featur … read more
Chris Baxter
Chris Baxter
28 satisfied customers
I want the answer to the programming question on this post.
Hi I want the answer to the programming question on this post … read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
I need help coding in MIPS. MIPS (assembly language) I have
i have a general layout and most of it down, if it can be finished in the next 2-3ish hours … read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
I would like help copying a website with a new theme so i
Hello again. I would like help copying a website with a new theme so i may practice with various themes.Not sure your working hours but if you reply I will try to be available or let you know when. Yo… read more
Aitizaz
Aitizaz
Software Engineer
Bachelor\u0027s Degree
163 satisfied customers
Need assitance with some SUMIFS ranking some itesm by
need assitance with some SUMIFS ranking some itesm by criteria and then findingaverage of 3,4,5 & 6,7,8 in the ranks for given criteria and displaying in a new cell. have document etc. … read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 satisfied customers
I have an assignment due in 5 hours, and i don't have the
I have an assignment due in 5 hours, and i don't have the coding skills to finish it that fast. can you help? … read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
I found a dating website cookie on my husband's computer
I found a dating website cookie on my husband's computer which shows it is a unto direct cookie. He says he never visited that website. I think he has. What is the truth? … read more
Jason Jones
Jason Jones
AAS Information Technology
6,321 satisfied customers
I need help knowing how to use one ethernet connection on my
for George Sibiya. i need help knowing how to use one ethernet connection on my pc to permit two ethernet cables. (not a router)… read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
I have an old Word Press site But I do not remember the sign
I have an old Word Press site But I do not remember the sign in name or pass word and all was on a old computer Link... https://luckypokerleagueblog.wordpress.com/ … read more
FRANCES KING
FRANCES KING
Associates
0 satisfied customers
I am trying to get a web page up and running on windows
I am trying to get a web page up and running on windows server 2012 R2 using microsoft visual stidio 2010 and need a list view to wrap the text can you help? … read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
I am looking to create a website that will sell one travel
I am looking to create a website that will sell one travel package that is available over several different dates. I need a simple website, where you can pick the package and the date, checkout/paymen… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 satisfied customers
I can connect just fine to SQL Server with Dreamweaver now.
Hello. I can connect just fine to SQL Server with Dreamweaver now. I am having trouble sending my data to the database. I need to click on a button and have that data go the correct field. I can't see… read more
Aitizaz
Aitizaz
Software Engineer
Bachelor\u0027s Degree
163 satisfied customers
I want to ask question about python homework. It's a program
It's a program work from zybook, where we should finish this program … read more
LogicPro
LogicPro
Computer Software Engineer
13,334 satisfied customers
Need a programmer in Excel vba. 2013. What I have tried so
Need a programmer in Excel vba JA: When did you last update Excel? Customer: 2013 JA: What have you tried so far with your Excel? Customer: what I have tried so doesn't work JA: The Software Technicia… read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,323 satisfied customers
I was searching the web and was able to find a paste
Hi! I was searching the web and was able to find a paste vbscript that was used for a previous person. However, I am not sure how to automate this process … read more
Aitizaz
Aitizaz
Software Engineer
Bachelor\u0027s Degree
163 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x