mgalarnyk / python_tutorials Goto Github PK
View Code? Open in Web Editor NEWPython tutorials in both Jupyter Notebook and youtube format.
Home Page: https://medium.com/@GalarnykMichael
License: MIT License
Python tutorials in both Jupyter Notebook and youtube format.
Home Page: https://medium.com/@GalarnykMichael
License: MIT License
ModuleNotFoundError Traceback (most recent call last)
in
1 import pandas as pd
2 import numpy as np
----> 3 import matplotlib.pyplot as plt
4 from sklearn.decomposition import PCA
5 from sklearn.preprocessing import StandardScaler
ModuleNotFoundError: No module named 'matplotlib'
Can you help me to solve it?
Thank you
Some of the calls (ex. sleep data for a range) seem to be available only in 1.2.
What other algorithms would you say are better than Logistic Regression? and how did you do the inverse transformation?
While importing the face_recognition package in jupyter anaconda, I am getting below error.
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 import face_recognition
2
3
ModuleNotFoundError: No module named 'face_recognition'
Hi Michael, I was looking at your sklearn notebooks, but I ran into this:
scikit-learn/scikit-learn#8588
Have you already addressed this somewhere?
Thanks
I've built a repo of your notebooks here
https://mybinder.org/v2/gh/pleabargain/Python_Tutorials/master
you can do the same for yours.
best
help me
If i Run With CMD / Terminal .. there is no happened . but if i running with Jupyter Notebook.. it will show the graph.. what should i do if i want show it grafic, via terminal or CMD.. thankssss
While following part2 of the tutorial:
https://medium.com/@GalarnykMichael/logistic-regression-using-python-sklearn-numpy-mnist-handwriting-recognition-matplotlib-a6b31e2b166a
For some reason, ‘loadmnist’ method did not work very well for me.
I faced an error:
errorTraceback (most recent call last)
in ()
1 train_img, train_lbl = loadmnist('data/train-images-idx3-ubyte'
----> 2 , 'data/train-labels-idx1-ubyte')
3 # test_img, test_lbl = loadmnist('data/t10k-images-idx3-ubyte'
4 # , 'data/t10k-labels-idx1-ubyte')
in loadmnist(imagefile, labelfile)
25 for j in range(rows*cols):
26 tmp_pixel = images.read(1) # Just a single byte
---> 27 tmp_pixel = unpack('>B', tmp_pixel)[0]
28 x[i][j] = tmp_pixel
29 tmp_label = labels.read(1)
error: unpack requires a string argument of length 1
I did try to follow along the tutorial.
I guess it has to do with the magic numbers used.
Did not get much time to debug it though. Just letting you know.
I love the blog and the explanations of some of the topics I was reading. Also, I would like to use one figure that can be obtained with the scripts you provide. However there is no explicit license of doing it.
python3.5/site-packages/pandas_datareader/google/daily.py:40: UnstableAPIWarning:
The Google Finance API has not been stable since late 2017. Requests seem
to fail at random. Failure is especially common when bulk downloading.
Notebook does not work.
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.