"Advanced Python" subject from the Master in Big Data @ IE.
$ python -m pip install -r requirements.txt
Or, alternatively:
$ python -m pip install pip-tools
$ pip-sync
"Advanced Python" subject from the Master in Big Data @ IE
Home Page: https://nbviewer.jupyter.org/github/astrojuanlu/ie-mbd-advanced-python/
License: Other
New repository lives at https://github.com/pyutils/line_profiler, and in any case the maintainers have released wheels compatible with modern Python versions.
I would suggest adding a comment or a link to something specifying which are special characters ("_" is not, while "-" is).
Missing instruction for the switch command. git switch -c etc
Hello,
I am trying TDD process, so first I created a test function for the simple example of suming 2 numbers:
def test_sum_two_numbers_give_expected_result():
a=2
b=2
expected_output=4
assert output==expected_output
When I do this, the pytest works an tells me that does not work because output is not defined. So I proceed and an the 2 lines:
from ie_nlp_utils import sum_numbers
def test_sum_two_numbers_give_expected_result():
a=2
b=2
expected_output=4
output=sum_numbers
assert output==expected_output
Then in the > src/ie_nlp_utils/init.py
I create the following super simple function:
def sum_numbers():
return 4
Save the changes and when I run the pytest again I get the following error:
¿?
Should read
# src/ie_nlp_utils/init.py
Hello professor,
I am redoing all we have done in class this week. So I have created again a folder with the structure provided (src, tests, ...) when I am done, I try to do pip install ie_nlp_utils (name provided in metadata of setup.cfg) and I find this error:
By the way, in this case I called the package and the name in setup.cfg ie_nlp_utils, the same exactly name.
What am I doing wrong?
Hola Profe!
Estoy trabajando en el assignment individual y la verdad es que me esta costando la parte de MinMaxScaler en dask_ml.preprocessing, ya que segun el error message que me da la funcion, deberia haber la definicion de la variable 'scale_' adentro del method 'transform' como la hay en 'fit'. Segun tu experiencia, deberia de modificar directamente el archivo 'data.py' para agregar la variable 'scale_', o ves con mayor probabilidad de éxito que use sklearn.preprocessing? De manera mas amplia, deberia utilizar dask_ml en lugar de sklearn en todas las intancias? Abajo podés ver las capturas de pantallas.
Gracias!
Paul
Including these super useful "Known Issues" https://github.com/git-for-windows/build-extra/blob/master/ReleaseNotes.md#known-issues
See sample project: https://github.com/Juanlu001/ie-sample-python-project
All notebooks contain two sessions, perhaps I should split them in two.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.