COMP704-Development-Journal

COMP704 - Development Journal for AI ML module


Project maintained by Ashley-Sands Hosted on GitHub Pages — Theme by mattgraham

Getting started

Entry: , Published:

| Return to index |

This week Is the start of study block 2 at university and we begin our machine learning module (COMP704). In our first workshop, we are getting to grips with some of the libraries available in python3, such as Open Ai Gym[2] and scikit-learn[1] among others. It should have been relatively straight forwards, however some of libraries wouldn’t install via Python-pip or they wouldn’t include at run-time. What was going on.

It all comes down to the finer details. The computers at university are not configure the same way I have my python3 configured at home, which lead to on oversight when setting up a new virtual environment in PyCharm. I gave it a save location, name and selected the default Python3.7 interpreter and none of the AI packages would install via python-pip. I tried a number of things, however, it was fruitless. Evenly we released that scikit-learn required the 64-bit version of python. Quickly opening the default python interpreter, did indeed show that it was the 32-bit version. So, there is our issue. Thankfully, when selecting a different interpreter in PyCharm it revealed that the 64-bit version was install too, which made a real easy solution for the problem.

To be honest this could have been avoided if I had just read the documentation correctly on the scikit-learn website. Furthermore, I should have really checked what versions of python were installed as I would normally would select the 64-bit version. Why was the 32-bit version even installed, it seems kind of pointless on a 64-bit machine but or well. We’ve leant that we need to pay more attention to the finer details.


Cites

All citations are available in a single

[1] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay, “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.

[2] G. Brockman, V. Cheung, L. Pettersson, J. Schneider, J. Schulman, J. Tang, and W. Zaremba, “Openai gym,” arXiv preprint arXiv:1606.01540, 2016.


| Return to index |