1615350894
A clean, simple and readable implementation including pretrained weights available on the Github repository if you’d like to evaluate the model :)
GitHub Repository:
https://github.com/aladdinpersson/Machine-Learning-Collection
#data-science #developer
1626657482
Part 1 - Creating Angular 9 website using Angular CLI - Angular Single page application
Download NodeJS
https://nodejs.org/en/download/
Install Angular CLI
https://cli.angular.io/
Create Angular project from scratch using Angular CLI
ng new ProjectName
Spin up the application in the browser
ng serve -o
#angular #bootstrap #angular 9 #scratch #scratch
1624633200
Each option has its benefits and drawbacks. The purpose of this article is to answer this question and clarify it! Also, it’s important to note that everyone has different needs. So there is not a universal answer.
What matters most
Before going further, let’s see the most important things one should look for when opening a blog. They are as follows:
#scratch #existing blogging platform #a blog from scratch
1626292800
In this stream, we implement a limited version of Rust’s Vec type from scratch. In doing so, we learn a lot about unsafe Rust. This stream is geared towards those with at least intermediate experience in Rust, but beginners should also learn more about how Rust’s memory model works.
Note: This is just a learning exercise! The standard library’s Vec is great, and you should just use that.
The resource on covariance I mention in the stream can be found here: https://github.com/sunshowers/lifetime-variance-example
#rust #vec #scratch
1625092800
Do you want to know how do machine learning models make classifications such as “is this person suffering from heart disease or not?”? Logistic regression is one of the most common algorithms used to do just this. Logistic regression is similar to the plain old linear regression in some way. They are usually the first two models being introduced to beginners learning machine learning models. Nevertheless, logistic regression is a very powerful classification model capable of handling large datasets and a high number of features.
One of the notable applications of logistic regression that I could think of is, in the field of Natural Language Processing, specifically in sentiment analysis. It is ubiquitous that people often try to apply a logistic regression model for sentiment analysis to test the performance before deciding whether it is really necessary to proceed to use more complex language models, or at least used a comparison to complex models. In fact, I have already built a Streamlit app for IMDB movie review sentiment analysis using a logistic regression model, which out of the box, has already achieved 90% accuracy out of 50k reviews.
Today, I am going to share how I solidify my understanding of logistic regression by implementing the logistic regression algorithm from scratch in Python. Both the implementation for binary classification and multi-class classification will also be covered.
Some of the key concepts to training most machine learning models have already been covered in my previous article about implementing linear regression from scratch, and most of them can be applied to logistic regression, therefore, they will not be explained in detail again in this article.
#logistic-regression #implementation #python
1615350894
A clean, simple and readable implementation including pretrained weights available on the Github repository if you’d like to evaluate the model :)
GitHub Repository:
https://github.com/aladdinpersson/Machine-Learning-Collection
#data-science #developer