Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 05 #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Lab 05 #51

wants to merge 2 commits into from

Conversation

mdldml
Copy link
Contributor

@mdldml mdldml commented Jan 7, 2014

Написал нейросети.

@anton-bannykh
Copy link
Owner

What an I doing wrong?

python3:

Traceback (most recent call last):
File "05-neural-network.py", line 31, in
main()
File "05-neural-network.py", line 21, in main
data = scale_features(dataset_block(load_cancer_dataset()))
File "/home/abannykh/vcs/ml-2013/david.meynster/ml/data.py", line 17, in load_cancer_dataset
n, d = len(lines), len(lines[0].split(',')) - 2
TypeError: Type str doesn't support the buffer API

python2:

Traceback (most recent call last):
File "05-neural-network.py", line 1, in
from ml import neural_network
File "/home/abannykh/vcs/ml-2013/david.meynster/ml/neural_network.py", line 2, in
from ml.data import split_xy
File "/home/abannykh/vcs/ml-2013/david.meynster/ml/data.py", line 1, in
from urllib.request import urlopen
ImportError: No module named request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants