Traceback (most recent call last):


 "/home/kkk/code/mit-ml-master/linear_regression/test_sgd.py", line 11, in <module>

X, y = regression.loadDataSet('data/ex1.txt');


 "/home/kkk/code/mit-ml-master/linear_regression/regression.py", line 39, in loadDataSet

y.append(float(curLine[-1]))
ValueError: invalid literal for float(): 6.1101
17.592
Traceback (most recent call last):


 "/usr/local/Cellar/asciinema/2.0.2/libexec/bin/asciinema", line 11, in <module>

load_entry_point('asciinema==2.0.2', 'console_scripts', 'asciinema')()


 "/usr/local/Cellar/asciinema/2.0.2/libexec/lib/python3.7/site-packages/asciinema/__main__.py", line 131, in main

code = command.execute()


 "/usr/local/Cellar/asciinema/2.0.2/libexec/lib/python3.7/site-packages/asciinema/commands/upload.py", line 14, in execute

result, warn = self.api.upload_asciicast(self.filename)


 "/usr/local/Cellar/asciinema/2.0.2/libexec/lib/python3.7/site-packages/asciinema/api.py", line 40, in upload_asciicast

password=self.install_id


 "/usr/local/Cellar/asciinema/2.0.2/libexec/lib/python3.7/site-packages/asciinema/urllib_http_adapter.py", line 76, in post

response = urlopen(request)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen

return opener.open(url, data, timeout)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open

response = self._open(req, data)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open

'_open', req)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain

result = func(*args)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1360, in https_open

context=self._context, check_hostname=self._check_hostname)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1317, in do_open

encode_chunked=req.has_header('Transfer-encoding'))


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1244, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1285, in _send_request

self.putheader(hdr, value)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1222, in putheader

raise ValueError('Invalid header value %r' % (values[i],))
ValueError: Invalid header value b'Basic <ConsumerKey>'
