Articles

Implémentation d'une solution MSBI

Image
Un évènement au tour des solution Data Analysis sur des architectures Cloud (Azure Data Factory V2 , Dataflow ) et aussi au tour des architectures Onpremise (SSIS ,SSRS )

Ignite Announcements- Artificial intelligence

Image
AI for Humanitarian Action Microsoft is launching AI for Humanitarian Action, a new $40 million, five-year program that will harness the power of artificial intelligence for disaster recovery, helping children, protecting refugees and displaced people, and promoting respect for human rights. The company will partner with nongovernmental organizations through grants and investments of technology and expertise. AI for Humanitarian Action is part of Microsoft’s AI for Good initiative, a $115 million commitment to empowering people and organizations to solve global challenges with access to game-changing AI technology and educational opportunities, launched in July 2017.  Cortana Skills Kit for Enterprise Microsoft is bringing customizable Cortana experiences and skills with the new Cortana Skills Kit for Enterprise. The end-to-end solution allows enterprises to build custom skills and agents, test them with users and fully manage deployment to their organization. Deve...

ChatBot

Image
How we   choose the bot framework ? If i talk about Microsoft. Essentially we have a single bot, is built and later rolled out to multiple canvasses without any further customization. Currently, the platform supports many channels (such as Facebook Messenger, Slack, SMS, email, Web Chat) including Microsoft’s own premiers (like Skype, Cortana, Microsoft Teams, Bing, GroupMe). All settings are pre-configured on the Developer Portal with an easy-to-follow walkthrough about how to integrate the bot with the hosting applications. How we   consume the bot framework ? Developers can connect directly from their client application, web chat controls or mobile apps throw Direct Line REST API tool of the bot Connector. This API makes it possible to empower existing applications and services with a conversational user interface. Microsoft has its own massive range of cloud-based Cognitive Services   APIs with the power of machine learning and AI algorithms. ...

Cross-Origin Resource Sharing and Azure Machine Learning web services

Image
Cross-Origin Resource Sharing (CORS) is a mechanism that allows web objects (e.g., JavaScript) from one domain to request objects (web service requests) from another domain. Cross-origin requests initiated from scripts have been subject to restrictions primarily for security reasons. CORS provides a way for web servers to support cross-site access controls, which enable secure cross-site data transfers. At the time of this writing, it should be noted that Azure Machine Learning web services do not currently support CORS requests. See the following link for more information: https://social.msdn.microsoft.com/Forums/en-US/b6ddeb77-30e1-45b2-b7c1-eb4492142c0a/azure-ml-published-web-services-cross-origin-requests?forum=MachineLearning. This CORS restriction really means that if you wish to fully exploit Azure Machine Learning web services for deployment, testing, and production for a wide variety of (web) clients, you will need to host your own server-side applications. You basically hav...

Create your first Azure Machine Learning experiment

Image
This post will helps you to create your first Azure Machine Learning workspace. For this you should log up with either a free or paid Azure subscription, or using the free trial Azure Machine learning offer. First open the Azure Management Portal https://manage.windowsazure.com ,  To create a new experiment you should click on +New in the bottom left corner of the screen, then you have a set of options to create :  Data Set : this option allows you to upload a new dataset to use with your experiment from a local file on disk Experiment: A Empty experiment or a preexisting experiment to help get you started fast I would like to start with a real exemple such as predicting whether a person’s income exceeds $50,000 per year based on his demographics or census data. You can imagine how incredibly useful the ability to predict a person’s income might be in the world of sales and marketing. This is exactly the kind of predictive analytics that would be most useful for...

Get started with Azure machine learning

Image
The first thing to get start with Azure Machine Learning journey is to get access to the Azure environnement, in this way we have 2 options : Option 1 : Trial offer :  http://azure.microsoft.com/en-us/pricing/free-trial  - With this offer allows you to get a $200 to spend on all Azure services only for one month  - This option will require youto apply using a Microsoft acoout and a valid credit card number for account verification purposes.  - During this month the Azure Managment Portal will prominently display your remaining trial credits  Option 2 :  http://azure.microsoft.com/en-us/pricing/free-trial - A free offer that allows you to access to the Azure Machine Learning environnement. - You need a valid Microsoft account  - Sign up for a Microsoft account visit :  http://windows.microsoft.com/en-US/windows-live/sign-up-create-account-how - if you are signed an introductory video is displayed if you like to tak...

Azure Machine Learning Workflow

Image
The process of creating a Machine Learning on Azure  is composed of a many pattern of workflow steps. This workflow are designed to help users to create a new predictive alanytics in no limited time. The main steps in the process are summarized in this figure : Data :  Is your input, who will be acquired, compiled , analyzed, tested and trained Create the model :  There is a versious algorithms of machine learning. we should create a models who is capable to make predictions, based on interfaces about the datasets. Evaluate the model :  This step is so important in the process because we examine the accuracy of new predictive models based on ability to predict the correct outcome, when we know in advance the input and the output values. Accuracy is measured in terms of confidence factor approching the whole number one Refine and evaluate the model :  After evaluating the model we refine-it by comparing, contrasting and combining alternate...

Naive Bayes Classification Algorithm

Image
You are a data scientist,  an Intelligence Artificielle engineer, or a Statisticien, this post can help you to resolve your problems You are working on a classification problem and you have generated your set of hypothesis, created features and discussed the importance of variables. Within an hour, stakeholders want to see the first cut of the model. What will you do? You have hunderds of thousands of data points and quite a few variables in your training data set. In such situation, if I were at your place, I would have used ‘Naive Bayes‘, which can be extremely fast relative to other classification algorithms. It works on Bayes theorem of probability to predict the class of unknown data set. You wold like to know haw it work ? Step 1: Convert the data set into a frequency table Step 2: Create Likelihood table by finding the probabilities like Overcast probability = 0.29 and probability of playing is 0.64. Step 3: Naive Bayesian equation to calculate...

Les algorithmes de Machine Learning

Image
Pour certains entre vous le terme IA évoque les films science-fiction, Pourtant, cette forme d'intelligence fait partie de notre vie quotidienne, qui peuvent être un objet connecté, chatbot et autres... Le domaine du machine learning se base sur un ensemble des concepts et d'algorithmes pour répondre à différents besoins. Chaque algorithme se repose sur des spécificités mathématiques et algorithmiques. Dans cet article je vais citer et expliquer brièvement 7 algorithmes dont 2 que j'ai du  l'implémenter   1. K-Means  NuGet Package : https://www.nuget.org/packages/K-Means Mon Git : https://github.com/AnouarBenZahra/K-MeansProject C'est un algorithme de classification non supervisé, qui prend un ensemble d’éléments, et k nombre de groupes, une segmentation en k groupes sera faite, toute on minimisant la distance euclidienne entre le centre et un élément donné.  Usage :  Imaginez vous souhaitiez choisir un téléphone portable, vous de...

Classification K-Means

Image
K-Means est un algorithme de classification non supervisé car le nombre de classes est inconnu, la recherche de classes sera faite à l'aveugle. Ce type de classification est facile à implémenter et à comprendre, le but ultime de cet algorithme est de regrouper les points selon un critère bien déterminé,  en effet l'entrée est un ensemble k groupes (clusters). Par la suite on vise à calculer la distance entre chaque individu (point) et les k centre, qui sont déjà choisis au début. la plus petite distance est retenue pour inclure cet individu dans le groupe ayant le centre le plus proche. Une fois tous les individus groupés, on aura k sous-nuages disjoints de la marge total pour chaque groupe, l'algorithme calcule des nouveaux centres de gravité l'algorithme s’arrête lorsque les groupes construits deviennent stables Attention : Le défaut de la méthode c'est qu'on est obligé de fixer le K, aussi le résultat est fortement couplé avec les centres initiaux J...

Introduction à l'IA et la représentation des connaissances

Image
Pourquoi optons-nous à  l'IA ? Les connaissances d'un expert sont subjectives et difficiles à formaliser. Les formalismes utilisés pour la représentation des connaissances ne permettent pas un bon niveau d'abstraction et restent liés à l'implantation. Résoudre un problème recrurent Un problème qui ne se résout pas par un algorithme, car un algorithme résout un problème qu'on connais déjà sa solutution Comment juge-ton un systéme IA ? La qualité d’un système intelligent est celle de sa base de connaissance De quoi il est constitué un système IA? Dans un système intelligent on a 3 composants Base de connaissance  Une partie pour faire les inférences (raisonnement)  Une structure de contrôle pour orienter le raisonnement Plateforme IA Microsoft : Principalement il existe 4 plateforme Microsoft pour résoudre un problème en IA Cognitive Service :Permet de réagir intelligemment avec l'utilisateur, à travers un ensemble d'API pour détecte...

Progressive Web Apps

Image
"Just works" is the attend of uers, they don't asks"How we do ?". For developers "Performance , size, compatibility, platforms" is the so important  With some recent work by mobile giants Google and Apple, support for a concept called Progressive Web Apps  is here . This means Acting like native app Native apps is used in mobile phone or tablet, and they fill up the home screen,  typically involve building up a whole new product using that platform’s specific tools. Instead, recent mobile support, the existing web app can do auto declaring itself as a valid mobile app through the ability to declare web manifest.  You can even set up your PWA to prompt the user to install it right there, just like an app store banner. A smart web application  Service worker is the agent it  gaining the ability to act as their own agents When I use it? if you have an existing web site and you want to add a mobile application without developi...

Create your first application with Xamarin.forms

Image
In this post i will explain how to create a simple Xamarin.forms application The First step is to create a new xamarin project : File > New > Project and chose   Cross platform and give it a name Then chose a template for your project,  Master Detail template it gives a page that manages two related pages of information; a master page that presents items, and a detail page In our case we select Blank app that we will customize it later  Then we select a Portable class library, if you like to know what is the difference, take a look at this link :https://xamarinhelp.com/portable-class-library-pcl-vs-shared-projects/ To this application, you have to connect your smartphone or create a virtual device, in Geanymotion, Select your device and click run and your virtual phone it get start  The next, go to your project Solution explorer >  MainPage , and change the default text  And run your application...

[C#] Les nouveautés de C# 7.2

Image
C # 7.2 est une autre version ponctuelle qui ajoute un certain nombre de fonctionnalités utiles. Arguments nommés non-trailing: Les appels de méthode peuvent maintenant utiliser des arguments nommés qui précèdent les arguments de position lorsque ces arguments nommés sont dans les positions correctes Sémantique de référence avec les types de valeur : le modificateur "in" , le ref readonly, le struct readonly et le ref struct Principaux caractères de soulignement dans les littéraux numériques Modificateur d'accès private protected : c-à-d  qu'un membre peut être accédé par des classes dérivées déclarées dans le même assembly  

[Web] Pourquoi React ?

Image
Introduction Créé par Jordan Welke, un ingénieur chez Facebook à la fin de l'année 2011, c'est la tendance du web en ce moment, a été conçu comme étant une bibliothèque et non un framework MVC, il favorise la réutilisation des composants dans les différents coins du projet avec des données variés au cours du temps. React Js est classé parmi les frameworks les plus utilisés, parmi ces utilisateurs ; Facebook, Instagram, Airbnb, Deezer, Dropbox, eBay, Reddit…et j’en passe. Il y a bien une raison pour laquelle cette librairie est autant appréciée ! React Js met fin au JQuery, vous pouvez maintenant créer des sites totalement écrite par ReactJs uniquement  Avantages : Un contenue référençable : Grâce au NodeJs le code peut être généré dans la partie cliente et la partie serveur , Performance : Grâce à son propre DOM virtuel qui calcule n'importe quel changement, ReactJs offre une performance et flexibilité exceptionnelle, Les dernière varier du web : Les composant...

[Xamarin.IOS] iPhone X update

Image
Sans doute que le fameux iPhone X est la plus grande annonce d'appel cette année , tout en créant une immersive rendue avec l'écran Retina qui est bord à bord . du coup les développeurs se demandent quels sont les principaux changements à prendre en compte Les mise à jour et les installations: Les étapes a suivre sont : Mettre à jour votre Xamarin.IOS (version 11+), Télécharger et installer Xcode 9   Créer votre projet Xamarin.IOS Dans le cas ou vous utilisé le Auto Layout il aura des mises a jour sur la partie présentation