Others

Sunday, 16 December 2018

Arduino Connecting speaker

Simple application to check that the Speaker is connected to the  Arduino or not and how it will produce sound.

Required Items.
1. Speakar
2. Arduino
3. 5V

Follow the below code and upload into arduino for speaker connection

void setup()
{
 
}

void loop()
{
  tone(8,33, 500);
  delay(2000);

   tone(8,37, 500);
   delay(2000);

   tone(8,41, 500);
   delay(2000);
}
Circuit for Arduino Connecting speaker 




for more info you can see the below link. for creating melody Arduino Connecting speaker 

https://maker.pro/arduino/projects/arduino-speaker

Saturday, 15 December 2018

Arduino : Blinking LED

Simple and first program of Arduino  for blinking of LED. [ This program is look like "Hello World"  for arduino.

Required Items.
1. LED
2. Arduino
3. 5V

Program for blinking of LED in Arduino.

Saturday, 8 December 2018

Issues on Python configurations



Register the python in environment variable if Python command in Giving error in your terminal.
To see the Environment variable in command Terminals as
Echo %path%

To set the environment variable in the terminal.
setx path "%path%;C:\Python27;"

If above one will not work then set environment using the below path.
Control Panel à View Advance System setting à Go to Advance Tab à Envinoment Variable à Edit

Chat bot in Python using Chatterbot



Here is the sample code demonstration for how to create simple chatbot using chatterbot  in python.
Chatbot will answer the question based on training data that you have provided.


Sunday, 23 September 2018

Machine Learning - Data Processing


Chapter 2  - Data Processing: It is crucial part of machine learning.

1.       Dataset : Get the dataset that we will use for pre-processing. Suppose you have the dataset like below.

It is in data.csv

In machine learning model we need to check that the Dependent Variable and Independent variable.

In Below example there first three colum are independent variable and Purchased colum is dependent variable

Name
Age
Salary
Purchased
Bon
44
72000
No
Ram
27
48000
Yes
Sohan
30
54000
No
eric
38
61000
No
Mat
40

Yes
Denie
35
58000
Yes
Andie

52000
No
Rus
48
79000
Yes
Mak
50
83000
No
Mark
37
67000
Yes

Saturday, 22 September 2018

Python Lab - Day 3


Python Labs : 3rd    Day

1.       User defined Exception
2.       Machine Learning Beginning
3.       File Demo
4.       Database Connection with Sqlite in Python
5.       Pickle  demo


Lab 1
User defined Exception
bb = 60

  

  class C(Exception) :

    pass

  

Friday, 21 September 2018

Python Lab - Day 2


Python Labs  2nd   Day
  1. Class Demo in Python
  2. Constructor and Destructors in Python
  3. Data Hiding in Class in Python
  4. Inheritance in Python
  5. Self Keyword in python
  6. Exception Handling in Python
  7. Documentation functions
  8. Consume User Module in Python
  9. OS import module demo in python Lab
  10. Time and calendar import demo in python

Thursday, 20 September 2018

Python Lab - Day 1


Python Labs  : 1st Day

  1. Print Hello World
  2. Variables in Python
  3. Arithmetic Operation in Python
  4. Conditional Statement in Python
  5. Loops in Python. While, for
  6. Jumping Statement in python
  7. Datastructure in python,  python contains four  types of collection datatype  List, Tuple, Dictionary , set
  8. Formatting the String  function for print
  9. Function demo in Python
  10. Implementing inbuilt function of python
  11. Importing math functions in python

Friday, 20 July 2018

Angular 4 Tutorial - Day 4

Day 1
Day 2
Day 3
Day 4

Today it will cover as form handling in angular.

1.       Template based approach – ngModel
2.       Model driven approach – form builder

Create new services as enquiry service.