Web APIs or application programming interfaces allow you to send input and get output from a web application. The output they create is frequently in the form of a JSON string.APIs usually have some limits.[…]
Read moreCategory: Data Analysis
Setting Environment Variables from Command Line
Passwords and keys should not be in GitHub projects! I know it seems like a hassle, but you should get into the habit of putting passwords and keys in a file that is not in[…]
Read more
Using .env File for Passwords and Keys
One common issue with python programming is the need to use passwords, API keys, or other credentials in python code. However, you do not want to make these passwords, keys, and credentials public. So, using[…]
Read more
Artificial Neural Network Disadvantages
Artificial Neural Networks (ANNs) can solve an extremely wide variety of problems, including virtually any problem reduceable to functions. Often ANNs are used to obtain forecasts, validate data, detect anomolies, research customer purchases, and manage[…]
Read more
Underspecification in AI
Underspecification is the failure to specify in enough detail, according to Wiktionary. In machine learning and AI, the underspecification of training samples can result in vastly different predictions for edge cases, even when very similar[…]
Read more
Getting Data Outside D3 or Plotly CSV Functions
D3 and plotly.js are two of the main graphing tools for web applications. They can get data from JSON strings or files, CSV files, or TSV files. However, one problem that was very difficult to[…]
Read more
Racism and Gender Bias in Machine Learning, Fixes not Always Easy
Racism and gender bias can easily and inadvertently infect machine learning algorithms. One prime example examined what job applicants were most likely to be hired. However, bias is inherent in any decision-making system that involves[…]
Read more
Dynamic Plotly.js Plot with Menu
Plotly.js allows for dynamic plots. However, event handlers are needed to make the graphs dynamic. For complete customization of active plots, you would likely need D3, but I will not cover D3 in this tutorial.To[…]
Read more
Plotly.js Titles and Labels
Part II of the Plotly.js Tutorial Series Covers Plotly.js Titles and Axis LabelsBy default, Plotly.js plots are sized with the minimum and maximum X and Y values as the entire range. This default can often[…]
Read more
Basic Plotly.js Plots
Data visualization is an essential aspect of communicating with data. Plotly, a graphing module that can work with Python, also has a javascript version. With plotly.js, making web-based dashboards and dynamic graphs is straight forward.As[…]
Read more