Set up the environment for the first assignment

Assignment Help Other Subject
Reference no: EM132617933

Used the following instructions to set up the environment for the first assignment which I submitted last week but totally stuck on this one.

Conda

Please download Miniconda (Python3.7) and install it on your local machine.

On Windows, to access conda via the console please use "Anaconda Prompt" or "Anaconda Powershell Prompt" instead of "Command Prompt".

Environment

We will be using Python 3.7 and packages like numpy, networkx etc, and we want them to be isolated from any other python projects you might have.

To create a new environment simply run:

conda create --name ai_env python=3.7 -y

Once it's created you can activate it by running:

conda activate ai_env

Packages

We will be using multiple python packages throughtout this class, here are some of them:

jupyter - interactive notebook (you will learn more about them soon)
numpy - a package for scientific computing (multi-dimensional array manipulation)
matplotlib - a plotting library
networkx - a package for manipulating networks/graphs
pandas - a package for data analysis
pgmpy - library for probabilistic graphical models

We can install all these packages using command pip install -r requirements.txt. Please navigate to assignment_0/ directory, activate your environment (conda activate ai_env), then run:

pip install -r requirements.txt

Once installed, you can run pip freeze to see the list of all of the packages installed in your ai_env environment.

Jupyter

Now that you have setup the environment it's time to learn more about the jupyter notebooks.

We have already installed jupyter, to open it up you can run:

jupyter notebook

It will start a python kernel which you can assess via https://localhost:8888 in your browser, for the rest of the assignment proceed to notebook.ipynb.

Summary

You have installed conda package and environment manager, created a python environment and installed all the necessary packages.

Please always remember to run:

conda activate ai_env

to activate your environment before you start working on the assignment.

Attachment:- README file.rar

Reference no: EM132617933

Questions Cloud

Describe the benefits of ethnographical research : In your paper, you will present the benefits of ethnographical research in terms of understanding a unique social world, as well as understanding.
Find what were consolidation entries needed as of december : On January 1, 2018, Vacker Co. acquired 70% of Carper Inc. Find what were the consolidation entries needed as of December 31, 2020?
Inhalational anthrax occurred near sverdlovsk : In 1979, an epidemic of inhalational Anthrax occurred near Sverdlovsk.
Why is the demand curve horizontal : Why is the demand curve horizontal in a perfectly competitive market structure? Explain in terms of the basic market attributes.
Set up the environment for the first assignment : Set up the environment for the first assignment - package for manipulating networks/graphs
What date will the cash be received : On August 16, 2020, How much cash will XYZ record on its statement of financial position, and on what date will the cash be received?
Examine the values of auctions in the economy : Examine the values of auctions in the economy by addressing the following items.
What amounts will ABC record related to the note : Assuming the date ABC's statement of financial position is September 30, 2020, what amounts will ABC record related to this note?
How much information to gather to minimize uncertainty : Identify a situation that involves making decisions using expected value, and detail the different options, expectations, and payouts. Discuss the risks involve

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd