Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

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: 7 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 7 months ago
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,494
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 7 months ago
I can't access wikisend due to security reasons. Can I email or submit on google drive?
Customer reply replied 7 months ago
I don't want to remotely connect. I'd like to send the files.
Customer reply replied 7 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 7 months ago
This is the requirement. I can't attach the rest of the required files here.
Customer reply replied 7 months ago
I also need help with this assignment. Can you help with either/both?
Customer reply replied 7 months ago
Are you there?
Programmer: LogicPro, Computer Software Engineer replied 7 months ago

Yes

Please let me check it

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

Can you provide me socialnetworkanalysis.zip?

Ask Your Own Programming Question
Customer reply replied 7 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 7 months ago
This is the framework ....I'm having problems trying to upload the zip file
Programmer: LogicPro, Computer Software Engineer replied 7 months ago

I will review it and reply you in few hours.

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

Ok

Ask Your Own Programming Question
Customer reply replied 7 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 7 months ago

I will review these and reply you in few hours.

Ask Your Own Programming Question
Customer reply replied 7 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 7 months ago

Once I review it, I will reply you.

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

Welcome

Ask Your Own Programming Question
Programmer: LogicPro, Computer Software Engineer replied 7 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 7 months ago
Hey, do you have another professional to refer me to?
Customer reply replied 7 months ago
Hi, can you please try to help me?
Programmer: Steve, Consultant replied 7 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?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
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,494 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

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
I am having an urgent python assignment due and I am having
Hi, I am having an urgent python assignment due and I am having some problems. It has 13 single questions about some basic computation and the formulas are already provided. I want to have it in less … read more
Bruce Wilner
Bruce Wilner
Master of Engineering
29 satisfied customers
I'm trying to access a a question about python and data
I'm trying to access a a question about python and data cleaning but the drop box link doesn't work. Can you help with this? … read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
I need help with this 4 questions that involve using python,
I need help with this 4 questions that involve using python, I am attaching the questions, 2 data sets that are needed to complete the questions and 2 documents that contain related information in cas… read more
Mr. Wilson
Mr. Wilson
Teacher
Master\u0027s Degree
200 satisfied customers
Looking for some help writing this program. Its perl/python
Looking for some help writing this program. Its perl/python scripting. Write a Python program that prints "DU" , similar to the image i have attached. I am looking for the Python code (.py) file and t… read more
George Sibiya
George Sibiya
PhD
309 satisfied customers
I have an assignment due and there are 8 questions that I am
Hi! I have an assignment due and there are 8 questions that I am stuck one and was wondering if you could help. (Python) … read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
I need help with an assignment. Python and using anaconda
need help writing the program and with notes .. is there a fee for this? how do i submit the assignment?… read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
I would like to know if you can help me with the following
Hi I would like to know if you can help me with the following Python project. … read more
George Sibiya
George Sibiya
PhD
309 satisfied customers
I have a program that I need help using arrays in, Python
What I need is to make many balls bounce around the screen in different directions. I have the balls placed on the screen, I need help getting them to move … read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
I have an assignment due friday along with a final and I
I have an assignment due friday along with a final and I cannot do the assignment, is anyone willing to do it? I cannot upload the file here it is too big… read more
George Sibiya
George Sibiya
PhD
309 satisfied customers
I have an assignment that appears to have the title to a previous
I have an assignment that appears to have the title to a previous answer you provided sometime back. My assignment is for ms visual studio. It asks for writing an application for Travel Specials. Hope… read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
LogicPro. Currently, I'm working on web scrapping with
Hi LogicPro. Currently, I'm working on web scrapping with python on a homework assignment. This assignment has 2 classes, Person, and People. The professor only requires us to do class Person. However… read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
LogicPro. Currently I'm doing this assignment that involves
Hi LogicPro. Currently I'm doing this assignment that involves with binary. It is Python's operator overloading functionality (magic methods) and the basics of binary integer arithmetic as it is done … read more
LogicPro
LogicPro
Computer Software Engineer
13,494 satisfied customers
would like to store"ffffffffffffffffffffffffffffffff001e020000002
would like to store"ffffffffffffffffffffffffffffffff001e020000002740010101400200" hex string into u_char packet[256] in python. (u_char is unsigned char) which can be later sent to C with u_char packe… read more
Arty
Arty
Senior Administrator
Bachelor\u0027s Degree
469 satisfied customers
Hi, I have a question on Microsoft Excel involving a series
Hi, I have a question on Microsoft Excel involving a series of macro's that I need to write / test, but I have been provided a list of steps to follow exactly. Example: Record a macro named AppendRow,… read more
John D
John D
Bachelor Degree in Engineering
342 satisfied customers
NEED THIS PROGRAM IMPLEMENTED IN PYTHON. DETAILS ARE AT:http://wikisen
NEED THIS PROGRAM IMPLEMENTED IN PYTHON. DETAILS ARE AT: http://wikisend.com/download/110258/pa4.docx I ALREADY HAVE THIS PROGRAM WRITTEN IN JAVA ALREADY, IF YOU NEED TO SEE IT, LET ME KNOW AND I CAN … read more
Arty
Arty
Senior Administrator
Bachelor\u0027s Degree
469 satisfied customers
1-I would like to run some source codes as shown in the link
1-I would like to run some source codes as shown in the link http://www.cs.ucsb.edu/~ssadhu/cmpsim/ 2-I would like to run it by python so It gives me Error Could you please help me out How can I run i… read more
amit.gzp786
amit.gzp786
96 satisfied customers
I wanted to ask if I could submit a request to create 4
Hello! I wanted to ask if I could submit a request to create 4 separate implementations of the Breakout game in Java (with each implementation representing a respective stage (assignment)). There's no… read more
amit.gzp786
amit.gzp786
96 satisfied customers
Write a class using JAVA that complies with the following requirements
Write a class using JAVA that complies with the following requirements: 1. The program will allow these arguments a. A path to a directory of files. b. Original text or pattern which will be replaced … read more
ATLPROG
ATLPROG
Computer Software Engineer
7,677 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