OverviewLearn to interpret Bias and Variance in a given model. What is the difference between Bias and Variance?How to achieve…
Continue Readingerror
Cosine power approximation to normal
Ten years ago I wrote about how cosine makes a decent approximation to the normal (Gaussian) probability density. It turns…
Continue ReadingRemez algorithm and best polynomial approximation
The best polynomial approximation, in the sense of minimizing the maximum error, can be found by the Remez algorithm. I…
Continue ReadingSniffing Out Errors
From this you gain an understanding of where your model is succeeding and what can be amended to improve performance.…
Continue ReadingAsimov’s question about π
In 1977, Isaac Asimov [1] asked how many terms of the slowly converging seriesπ = 4 – 4/3 + 4/5…
Continue ReadingInterpret R Linear/Multiple Regression output (lm output point by point), also with Python
because getting and cleaning data, then data wrangling is almost 60–70% of any data science or machine learning assignment. Know…
Continue ReadingA Short Guide to Try/Except Blocks in Python
Both TypeError and ZeroDivisionError exist in this code just above. We will do something like:try: print(4/0) print(12+"string")except (TypeError, ZeroDivisionError): print("This…
Continue ReadingDRF-Problems: Finally a Django library which implements RFC 7807!
To sate the ‘be flexible’ desire of most developers, this library provides mixins, which works well with your existing classes.…
Continue ReadingA Look At PHP’s isset()
A Look At PHP’s isset()Liam HammettBlockedUnblockFollowFollowingJun 7isset() is one of the most important tools at your disposal to validate data in…
Continue ReadingForecasting: how to detect outliers?
is — of course — left to you to experiment…Do It YourselfPython If you have a pandas DataFrame with one column as the forecast…
Continue ReadingRxSwift: The Complexity Tradeoff
RxSwift: The Complexity TradeoffMichael LongBlockedUnblockFollowFollowingMay 23I recently published an article, “RxSwift: Better Error Handling With CompactMap”, in which I demonstrated…
Continue ReadingRxSwift: Better Error Handling With CompactMap
} }}Here we replace our catchErrorJustReturn() function with a materialize() function inside of our flatMapLatest(). We then assign the end…
Continue ReadingHow to forecast sales revenue: Compare various forecasting approaches
The answer is easy. Calculate the error between the forecast and the actual value. Whichever method has the least error,…
Continue Reading6 useful Rust macros that you might not have seen before
6 useful Rust macros that you might not have seen beforeBen McDonaldBlockedUnblockFollowFollowingApr 21Below are 6 Rust macros that are worth taking…
Continue ReadingBest Practices for Client-Side Logging and Error Handling in React | Log Analysis | Log Monitoring by Loggly
Best Practices for Client-Side Logging and Error Handling in React | Log Analysis | Log Monitoring by LogglyDev SpotlightBlockedUnblockFollowFollowingMar 21Logging is…
Continue ReadingWhat happens when we categorize an independent variable in regression?
Suppose we have a slightly complex quadratic relationship such as y = 3*(x-2)² + 4x + e, where I have…
Continue ReadingLearning Theory: (Agnostic) Probably Approximately Correct Learning
The definition states that a hypothesis class is PAC learnable if there exists a function m_H and an algorithm that…
Continue ReadingRegularization techniques for Neural Networks
Regularization techniques for Neural NetworksYash UpadhyayBlockedUnblockFollowFollowingMar 14SourceIn our last post, we learned about feedforward neural networks and how to design them.…
Continue ReadingBackpropagation Step by Step
Backpropagation Step by StepJoinal AhmedBlockedUnblockFollowFollowingFeb 27If you are building your own neural network, you will definitely need to understand how to…
Continue ReadingWhat to do when your data fails OLS Regression assumptions
Ordinary Least Squares (OLS) is a method where the solution finds all the β̂ coefficients which minimize the sum of…
Continue Reading