what is AI and Machine Learning

Artificial intelligence (AI) is a broad field that refers to the use of technologies to build machines and computers that have the ability to mimic cognitive functions associated with human intelligence, such as the abilities to see, understand, and respond to spoken or written language, and to analyse data, make recommendations, and more ¹⁴. Machine learning (ML) is a subset of AI that automatically enables a machine or system to learn and improve from experience. Instead of explicit programming, machine learning uses algorithms to process large amounts of data, learn from the insights, and then make informed decisions. Machine learning algorithms improve in performance over time as they are trained – exposed to more data. Machine learning models are the output, or what the program learns, from running an algorithm on training data. The more data used, the better the model will become.

Machine Learning Frameworks Available

There are many machine learning frameworks available, each with its own strengths and weaknesses. Here are some of the most popular:

  1. TensorFlow: TensorFlow is an open source machine learning framework that was developed by Google. It is widely used for building deep learning models and has a large community of developers.
  2. PyTorch: PyTorch is another popular open source machine learning framework, which is widely used for the construction of deep learning models. It is known for its ease of use and flexibility.
  3. scikit-learn: scikit-learn is a popular machine learning library for Python that provides a wide range of algorithms for classification, regression, clustering, and more. It is known for its ease of use and is widely used in industry and academia ¹⁴.
  4. Keras: Built on top of TensorFlow, Keras is a high-level neural network API. It provides a simple and intuitive interface for building deep learning models ¹³.
  5. MXNet: Known for its scalability and speed, MXNet is an open source deep learning framework. It supports multiple programming languages and provides a wide range of tools for building deep learning models.
  6. Caffe: Caffe is a deep learning framework widely used in computer vision applications. It provides a simple and efficient interface to build convolutional neural nets (CNNs).
  7. **Theano: Theano is a Python library that allows you to efficiently define, optimise and evaluate mathematical expressions involving multi-dimensional arrays. It is widely used for building deep learning models.
  8. Torch: Torch is an open source machine learning library that has a wide range of algorithms for deep learning model building. It is known for its ease of use and flexibility.
  9. **CNTK: CNTK (Microsoft Cognitive Toolkit) is an open source framework for deep learning that was developed by Microsoft. It provides a wide range of tools for building deep learning models, and supports multiple languages.

C#11-And , Or Operators in lambda Expressions

we can use the new and and or operators in C# 11 to create enhanced lambda expressions as follows

using System;

class Program
{
    static void Main(string[] args)
    {
        Func<int, bool> isEven = x => x % 2 == 0;
        Func<int, bool> isPositive = x => x > 0;

        // Using the 'and' operator
        Func<int, bool> isEvenAndPositive = isEven and isPositive;
        Console.WriteLine(isEvenAndPositive(4)); // Output: True
        Console.WriteLine(isEvenAndPositive(-4)); // Output: False

        // Using the 'or' operator
        Func<int, bool> isEvenOrPositive = isEven or isPositive;
        Console.WriteLine(isEvenOrPositive(4)); // Output: True
        Console.WriteLine(isEvenOrPositive(-4)); // Output: True
    }
}

Python Snippets

How to generate a 3 number sequence from 4 digits in Python

def GetSafeCombFrom(arr):
    for i in range(4):
        for j in range(4):
            for k in range(4):
                for z in range(4):
                    if((i != 3) and (j != 3) and (k != 3) and (z!=3)):
                        if((i==j) and (j !=k) and (k!=z) and (i!=z) and (i!= k) and (j!=z)):
                            print(f"{arr[i]} {arr[j]} {arr[k]} {arr[z]}")
                        if((i==k) and (i !=j) and (j!=k) and (i!=z) and (k!=z) and (j!=z)):
                            print(f"{arr[i]} {arr[j]} {arr[k]} {arr[z]}")
                        if((i==z) and (i !=j) and (i!=k) and (j!=k) and (k!=z) and (j!=z)):
                           print(f"{arr[i]} {arr[j]} {arr[k]} {arr[z]}")
                        if((j==k) and (i !=j) and (i!=k) and (i!=z) and (k!=z) and (j!=z)):
                            print(f"{arr[i]} {arr[j]} {arr[k]} {arr[z]}")
                        if((k==z) and (i !=j) and (i!=k) and (i!=z) and (j!=k) and (j!=z)):
                            print(f"{arr[i]} {arr[j]} {arr[k]} {arr[z]}")
                        if((j==z) and (i !=j) and (i!=k) and (i!=z) and (j!=k) and (k!=z)):
                            print(f"{arr[i]} {arr[j]} {arr[k]} {arr[z]}")

Dynamics 365 Series

Dynamics 365 Marketing Rebranded

In September 2023, Microsoft made significant changes to the former Dynamics 365 Marketing application. Here’s what happened:

  1. The Dynamics 365 Marketing application was renamed to Customer Insights – Journeys.
  2. The former Customer Insights application was renamed to Customer Insights – Data.
  3. Both of these applications are now sold together under a single product SKU called Customer Insights.

These changes reflect Microsoft’s efforts to enhance collaboration, streamline processes, and provide marketers with powerful tools to create personalized experiences for their customers. If you have any more questions or need further assistance
Source : Microsoft Documentation

Activate Auditing in Dynamics 365

Auditing can be enabled By navigating to Settings -> Customizations -> Select the Entity for which you would like to enable auditing . Enable the below options as shown in the diagram .

DotnetCore Series

Installing dotnetcore on Fedora Linux

Screen 1 : Open a Terminal Window and type the command – dnf install dotnet-sdk-<version>
Screen 2
Screen 3 – Installation Complete

Linux Series

What is Linux ?

Linux is an Free / Open source Operating system . It is named after Linus Torvalds – the creator of Linux kernel . It is also referred to as GNU/Linux (GNU slash Linux) giving credit to the GNU project components that the make the OS complete in addition to the kernel .Linux has various distributions owned and supported by various communities . To name a few are as follows – Arch Linux , Fedora Linux , Linux Mint,Android ,Debian Linux etc.,

What is a linux Kernel ?

Kernel is the heart of the Operating System . It is mostly Composed of Device Drives Supporting Various hardware that is ported to the OS .

Linux File System

Linux follows a hierarchical file system starting from “/” which is referred to as root .

SQLServer-Series

What is SQL Server

SQL Server is a relational database management system provided by Microsoft .It has the following Variants i.e Developer Edition (Free) , Express Edition (Free) ,Standard Edition , Enterprise Edition . As of this writing , the latest version is Sql Server 2019

How Data Is stored in Sql Server

Sql stores data in files These files have extensions .mdf , .ndf,.ldf . i.e Primary , secondary and log files . Every database must have one primary data file . It may or may not have a secondary data file . There should be at least one log file . Log Files are required to recover the database.

PowerApps- Enable Code Components

To enable Code components in power Apps – one need to Enable it First . the following are the steps .

Step 01 : Login to Power Platform admin portal

Step02 : Switch to your environment .

Step03 : Prodducts => Features => Enable Code Components .

Once you do the above , you should be able to import Code Components and use it in your app.