Computer Programming
440 subscribers
6 files
231 links
We mainly post about Tech Interview Prep, Machine Learning, Full Stack, Data Structures, Algorithms & Programming Languages.

Please check the pinned message and invite your friends to this channel. Sharing is Caring πŸ’•
Download Telegram
It is thursday and we learn about algorithms today. Today's topic is "How to implement a Linear Regression algorithm from Scratch in Python?"

Here are some top resources:

1. Machine Learning Mastery: https://machinelearningmastery.com/implement-simple-linear-regression-scratch-python/
2. Towards Data Science Blog:
Part 1: https://towardsdatascience.com/linear-regression-from-scratch-cd0dee067f72
Part 2: https://towardsdatascience.com/implementation-linear-regression-in-python-in-5-minutes-from-scratch-f111c8cc5c99

Source Code from github:
1. https://github.com/sarvasvkulpati/LinearRegression

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”-

For complete beginners, read about Linear Regression here -

1.https://towardsdatascience.com/introduction-to-machine-learning-algorithms-linear-regression-14c4e325882a
2. Or here, https://machinelearningmastery.com/linear-regression-for-machine-learning/

Kaggle competition where you can use Linear Regression

1. https://www.kaggle.com/c/house-prices-advanced-regression-techniques
2. https://www.kaggle.com/c/rossmann-store-sales


Happy Machine Learning (thecodingbot.com, t.me/computerprogrammingcodingbot)
LeetCode – 1221. Split a String in Balanced Strings

Problem Statement Balanced strings are those who have equal quantity of β€˜L’ and β€˜R’ characters. Given a balanced string s split it in the maximum amount of balanced strings. Return the maximum amount of splitted balanced strings. Example…

https://thecodingbot.com/leetcode-1221-split-a-string-in-balanced-strings/
Computer Programming
http://www.computer-books.us/cpp_0010.php
An ebook to make you familar with C++ with QT framework
Convert column/header names to uppercase in a Pandas DataFrame

Overview The problem is very similar to – Capitalize the first letter in the column of a Pandas dataframe, you might want to check that as well. The first thing we should know is Dataframe.columns…

https://thecodingbot.com/convert-column-header-names-to-uppercase-in-a-pandas-dataframe/
Python’s len(set) method with examples

Overview Set in mathematics is a well-defined collection of distinct objects which are often called as elements or the members. There’s a dedicated data structure for sets in almost every advanced programming language, and python too is not…

https://thecodingbot.com/pythons-lenset-method-with-examples/
Computer Programming
dmoi-tablet.pdf
Some books on discrete maths and combinatorics
Where to learn data science from?

Blogs:
kdnuggets.com, machinelearningmastery.com, kaggleblogs, Data Science Central(https://www.datasciencecentral.com), analytics vidhya blog(https://www.analyticsvidhya.com/blog/), fastml(fastml.com,very advanced sometimes).

Books: Python machine learning, Introduction to statistical learning, Elements of Statistical learning(order according to the difficulty).

Practice: analytics vidhya, kaggle, crowdanalytix, hackerrank(sometimes the competitions are held), hackerearth(few data science competitions).

Youtubechannel: Data School, Sentdex, ML trainings.

MOOCs: How to win a kaggle competition(coursera)[RECOMMENDED], Machine Learning by andrew ng(coursera), deeplearning(specialization) on by deeplearning.ai(coursera).

Datasets: Kaggle Datasets(https://www.kaggle.com/datasets), https://lionbridge.ai/datasets/the-50-best-free-datasets-for-machine-learning/, UCI Machine Learning Repo(https://archive.ics.uci.edu/ml/index.php)

Beginner level competitions:

1. Classification - (titanic sinking)https://www.kaggle.com/c/titanic, (load price prediction) https://datahack.analyticsvidhya.com/contest/practice-problem-loan-prediction-iii/
2. Regression - https://www.kaggle.com/c/house-prices-advanced-regression-techniques


Enjoy
(thecodingbot.com, t.me/computerprogrammingcodingbot)
Python’s set – x in s

Overview Set in mathematics is a well-defined collection of distinct objects which are often called as elements or the members. In python, the sets have the following properties: Sets are unordered.Set elements are unique i.e duplicate elements are…

https://thecodingbot.com/pythons-set-x-in-s/
Computer Programming
https://www.interviewbit.com/courses/programming/topics/time-complexity/
Practice time complexity analysis questions here for your next interview
Time complexity analysis cheatsheet: http://bigocheatsheet.com/
Proof: Why the number of digits in an integer N equals ?

Overview In this short but important tutorial, we will discuss why the number of digits in an integer N is equal to . This well-known formula is used many times to optimize the runtime of…

https://thecodingbot.com/proof-why-the-number-of-digits-in-an-integer-n-equals-latex-lfloor-log_10-n-rfloor-1-latex/