(If you end up enjoying the MSIs and/or code on this page, feel free to click the sponsor button above to help me to continue to create such code. If you have suggestions and/or requests, also let me know - whether you decide to sponsor me or not.)
After some rather intensive courses, one of which was all about coding in Python - using Jupyter notebooks, I kind of got hooked. I continued doing some Python coding because it was, well. fun! If that makes me a geek, so be it. In the end, I wrote several little Python functions that did a lot of what my professor had been asking us to do during the semester, but did it in a much easier way (at least for anyone else who is using the functions). I have uploaded a couple of them here. If you find them at all useful, feel free to credit me. On the other hand, if you find they need reworking, I am also happy to hear about it. Contact me if you have suggestions or problems or want to talk about Pythonic issues!
CAVEAT: I hope I have gotten all this correct, but doubt it. Feel free to use and abuse...
The following code was tested on a Jupyter notebook (both Anaconda and VS Code versions), and this cleansed version of the Titanic dataset which needs to be uncompressed.
Now for the code ...
NOTE on Code: in order to download scripts:
- Navigate to this page and the code links on it
- Left click on the link you wish to download
- Click the down arrow icon at the top right of the resulting page
- If you let your mouse hover over the down arrow icon, it should say "download raw file"
- Once you have clicked the download button, the file should be automatically downloaded onto your computer - check your downloads folder
- ALTERNATELY, for files not hosted on google drive - not MSI files - see below, skip steps 2 - 5 and right-click on the file, choose "Save link as", find the file in your downloads folder
- IMPORTANT: MSI files are, for the most part links to Google Drive. These need to be clicked in order to generate the link page for you.
Recently I discovered that some browsers will block downloads, thinking the site is downloading multiple files. To let this page download files anyway, there most likely be an icon with a down arrow and a line through it next to the URL of this page. Click on that icon and choose to allow downloads (if you wish to do so).
I have temporarily disabled MSI file download while I make some changes. I apologize if that is the reason you are here today.
- Train, fit and evaluate different models - most updated - requests dataset path, dataset separator, and target (choice of available features)
- Run other Jupyter notebooks and put resultant timings in Python dictionary
- File watcher - a script to watch any changes to a given directory
- Plotly graphs of interest
- Different table types
- Python version of train, fit, and evaluate function, as above but you can just use the import command and the name of the file
- Fill a PDF form
- File watcher - a script to watch any changes to a given directory
- Convert an image to an icon file using python
- Functions used in my OMDS homeworks
- Basic code to time your jupyter notebooks
- Regression plot function
- Create a scatter plot of the cleansed titanic dataset linked to above
- Python version of the run other notebook and store timings file
- Function to read a file into python/jupyter notebook environment
- Read file and create a correlation matrix and a correlation plot
- Read file like above, but use an internal function call
- Plot the survival rate for passengers on the titanic
- Vendor Manager repository
- File of all functions I used for several OMDS courses - this file can be imported by following the instructions in this file usage