| Sr. No. | Model Family (Learning Type) | Model Type | Model Name | Popular Implementations / Models | Use Cases |
|---|---|---|---|---|---|
| 1 | Supervised Learning | Regression / Linear Models | Linear Regression | Scikit-learn LinearRegression | House price prediction, forecasting |
| 2 | Supervised Learning | Regression / Linear Models | Logistic Regression | Scikit-learn LogisticRegression | Spam detection, credit scoring |
| 3 | Supervised Learning | Tree-Based Models | Decision Tree | CART (Classification & Regression Trees) | Loan approval, diagnosis |
| 4 | Supervised Learning | Ensemble (Bagging) | Random Forest | RandomForest (Scikit-learn) | Fraud detection, risk modeling |
| 5 | Supervised Learning | Ensemble (Boosting) | Gradient Boosting | XGBoost, LightGBM, CatBoost | Ranking, fraud detection |
| 6 | Supervised Learning | Distance-Based | k-NN | Scikit-learn KNN | Recommendation, similarity search |
| 7 | Supervised Learning | Probabilistic | Naive Bayes | GaussianNB, MultinomialNB | Spam filtering, NLP |
| 8 | Supervised Learning | Margin-Based | SVM | LIBSVM, Scikit-learn SVM | Text classification, bioinformatics |
| 9 | Supervised Learning | Neural Networks | ANN | TensorFlow / PyTorch basic NN | Prediction, pattern recognition |
| 10 | Supervised Learning | Deep Learning | CNN | ResNet, VGG, EfficientNet | Image recognition, medical imaging |
| 11 | Supervised Learning | Deep Learning | RNN / LSTM | Seq2Seq, LSTM (Keras/PyTorch) | Speech, time-series |
| 12 | Supervised Learning | Deep Learning | Transformers | GPT, BERT, T5, LLaMA | Chatbots, search, translation |
| 13 | Unsupervised Learning | Clustering | K-Means | Scikit-learn KMeans | Customer segmentation |
| 14 | Unsupervised Learning | Clustering | DBSCAN | Scikit-learn DBSCAN | Anomaly detection |
| 15 | Unsupervised Learning | Clustering | Hierarchical | SciPy Hierarchical Clustering | Taxonomy, grouping |
| 16 | Unsupervised Learning | Probabilistic | GMM | Scikit-learn GaussianMixture | Soft clustering |
| 17 | Unsupervised Learning | Dimensionality Reduction | PCA | Scikit-learn PCA | Visualization, compression |
| 18 | Unsupervised Learning | Dimensionality Reduction | t-SNE | sklearn / openTSNE | Embedding visualization |
| 19 | Unsupervised Learning | Neural Networks | Autoencoders | TensorFlow / PyTorch AE | Anomaly detection |
| 20 | Unsupervised Learning | Association Rules | Apriori | mlxtend Apriori | Market basket analysis |
| 21 | Semi-Supervised | Hybrid | Self-Training | Pseudo-labeling pipelines | Medical imaging |
| 22 | Semi-Supervised | Graph-Based | Label Propagation | sklearn LabelPropagation | Social networks |
| 23 | Semi-Supervised | Neural Networks | Semi-Supervised NN | FixMatch, MixMatch | NLP, speech |
| 24 | Reinforcement Learning | Value-Based | Q-Learning | OpenAI Gym implementations | Robotics, games |
| 25 | Reinforcement Learning | Deep RL | DQN | DeepMind DQN | Gaming, control systems |
| 26 | Reinforcement Learning | Policy-Based | Policy Gradient | REINFORCE | Robotics |
| 27 | Reinforcement Learning | Actor-Critic | PPO / A2C | Stable-Baselines3 | Trading, optimization |
| 28 | Optimization / Evolutionary | Evolutionary | Genetic Algorithms | DEAP library | Scheduling, optimization |
| 29 | Optimization / Evolutionary | Swarm | Particle Swarm Optimization | PySwarms | Hyperparameter tuning |
| 30 | Optimization / Evolutionary | Swarm | Ant Colony Optimization | ACO algorithms | Routing, logistics |
| 31 | Rule-Based / Symbolic | Expert Systems | Rule-Based Systems | Drools | Business rules |
| 32 | Rule-Based / Symbolic | Knowledge-Based | Knowledge Graphs | Neo4j, RDF Graphs | Search, recommendations |
| 33 | Ensemble Learning | Bagging | Bagging | Scikit-learn Bagging | Variance reduction |
| 34 | Ensemble Learning | Boosting | AdaBoost | AdaBoost (sklearn) | Classification improvement |
| 35 | Ensemble Learning | Stacking | Stacking | StackingClassifier | High accuracy systems |
| 36 | AI Systems (Hybrid) | RAG | Retrieval-Augmented Generation | LangChain, LlamaIndex + GPT | Enterprise chatbots, QA |
| 37 | AI Systems (Hybrid) | Agentic Pipelines | AI Agents | AutoGPT, CrewAI, LangGraph | Task automation, research agents |
Sunday, April 12, 2026
List Of Models
Monday, February 9, 2026
rls
To enable row-level security (RLS) in MS SQL Server (2016 and later), you need to define a security policy that uses a user-defined, inline table-valued function as a filter predicate.
Step-by-Step Guide
1. Ensure compatibility
Verify that your SQL Server instance is at least SQL Server 2016 or newer.
2. Create a schema for RLS objects (Recommended)
This practice separates your security logic from the application data.
CREATE SCHEMA Security;
GO
3. Create a predicate function
This inline table-valued function contains the logic for determining which rows a user can access. The function must be created with SCHEMABINDING.
Example: This function allows a user to see rows where the UserID column matches their username, or if they are a Manager.
CREATE FUNCTION Security.fn_securitypredicate(@UserID AS sysname)
RETURNS TABLE
WITH SCHEMABINDING
AS
RETURN SELECT 1 AS result
WHERE @UserID = USER_NAME() OR USER_NAME() = 'Manager';
GO
4. Create and enable a security policy
The security policy links the predicate function to your target table and enables the RLS enforcement.
Example: This policy applies the function to the dbo.YourTable table, using the UserID column for the filter.
CREATE SECURITY POLICY SecurityPolicy
ADD FILTER PREDICATE Security.fn_securitypredicate(UserID) ON dbo.YourTable
WITH (STATE = ON);
GO
5. Grant necessary permissions
Ensure users have SELECT permission on both the target table and the security function.
GRANT SELECT ON dbo.YourTable TO SalesRep1;
GRANT SELECT ON Security.fn_securitypredicate TO SalesRep1;
-- Repeat for other users/roles as needed
Testing the ImplementationYou can test RLS by impersonating different users to verify they only see authorized data. sqlEXECUTE AS USER = 'SalesRep1';
SELECT * FROM dbo.YourTable; -- This will only show rows matching SalesRep1's UserID
REVERT; -- Stop impersonating
EXECUTE AS USER = 'Manager';
SELECT * FROM dbo.YourTable; -- This will show all rows
REVERT
Sunday, February 8, 2026
Docker run for mac
docker run -d -p 10000:3000 -p 11000:4000 --name ub-react -v "/Users/atharvachandras/Desktop/rajesh/DockerVolumes/React:/rajesh" ubuntu:latest tail -F /dev/null
you have to use /Users/username/Desktop as base path
/Users/username has to be used, and it is always better to use /Desktop so that it is immediately visible ( otherwise everytime you have to use search option)
docker run -d -p 10001:3001 -p 11001:4001 --name ub-python -v "/Users/atharvachandras/Desktop/rajesh/DockerVolumes/Python:/rajesh" ubuntu:latest tail -F /dev/null
docker exec -it ub-react bash
apt-get update
apt-get install git
apt-get install vim
/* do NOT directly run following commands, they will get older versions */
apt-get install nodejs
apt-get install npm
/* instead use following commands */
apt-get install -y curl
apt-get install sudo
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs
nodejs -v
npm -v
as of 08feb2026 : 24.13.0 and 11.6.2
List Of Models
Sr. No. Model Family (Learning Type) Model Type Model Name Popular Implementations / Models ...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...
-
CONCLUSION : 1. Normally, use following two when you do not want query compilation also to come into picture. CHECKPOINT DBCC DROPCLEA...
-
Most of the google tutorials on keras do not show how to display a confusion matrix for the solution. A confusion matrix can throw a clear l...