Showing posts with label PI & ML. Show all posts
Showing posts with label PI & ML. Show all posts

Tuesday, 8 January 2019

Read PDF Table texts in Python



It will read the text from PDF in python.  Read Tables of PDF and place the data to XLSX file and read the XLSX file to one by one.

Suppose you are having the PDF file like below.

It’s a PDF file for Home loan, using the pdftables_api it will use to convert the PDF File into the form of xlsx file.


Now it will convert the PDF file into XSLX.

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