Coder Social home page Coder Social logo
  • 👋 Hi, I’m @alcatraz47
  • 👀 I’m interested in Data Science/Machine Learning/Artificial Intelligence/Software Engineering
  • 🌱 I’m currently learning Data Science techniques on various analysis
  • 🕗 I’m also contributing to learn NLP and NLU techniques and applying DS knowledge here
  • 💞️ I’m looking to collaborate on NLP based projects
  • 📫 How to reach me:
  • : [email protected]
  • : https://www.linkedin.com/in/md-mahmudul-haque-8a5484b2

My Preferred Language, Frameworks, and Tools:

Md. Mahmudul Haque (alcatraz47)'s Projects

aml-nlp icon aml-nlp

homework of coursera nlp course. https://www.coursera.org/learn/language-processing/home/welcome

api_dev_tut icon api_dev_tut

An attempt to recreate everything of API development end-to-end.

cse425_04_1511944642 icon cse425_04_1511944642

Course: CSE425 - Concepts of Programming Language Instructor’s Name: Adjunct Associate Professor Kamruddin Nur Section: 04 Assignment: Implement searching on the given data (NCHS_-_Leading_Causes_of_Death__United_States) in Comma Separated File Format Language Used: Shell script(mandatory), C plus plus(optional), Python(optional) Submission Deadline: 15th December, 2019 Student’s Name: Md. Mahmudul Haque Id No. : 1511944642 The code of the assignment that I have implemented are on three languages and before hopping into the contrast and comparison of those languages I am here giving a brief description on my procedure of coding. I used string searching Users are offered to search on their preference of column value While a match is found the program will return the entire row of that file I used for and while loop to search for the specific string that user might look for Exceptions are handled in C plus plus and Python whereas I used if else statement to handle exception in Shell Script Aliasing are used Type casting have been used in Python Concatenation of strings are used in all the languages. Now let’s see what are the comparison and contrast between the codes of those languages! Shell script: Key Points of my Code Description #no libraries needed to import! And no curly braces In shell script no libraries are needed to import explicitly. So it is indicating that this programming language is more easy to write and read for the non-programmers also. And for the curly braces, to implement the code, prior knowledge is required. while: #no condition More liberal while handling loop. Needs user interruption or programmer’s sentinels to stop infinity cycle. If else fi, case….esac, do… done To indicate the end of if-else block I have to write ‘fi’ term after each if-else block and similar happened to case … esac term under the case block and do … done block. Not readable and to write, one has to have prior knowledge. No need to declare the type of variables In Shell Script the type of variables are not needed to be declared by the programmer explicitly. So it is loosely typed and checking runtime. And least reliable. ‘ ;; ’ after every case block To mark the end of each case Shell script needs to be said the ‘ ;; ’ . * state in case block This is indicating the general block of case if the options does not match then this block will be operated. Not so readable. foo = foo + ‘,’ Or foo = ‘,’ + foo + ‘,’ Easy to concatenate, so easy to write. Also orthogonal. No exception handling I used if else fi instead. C plus plus(C++): Key Points of my Code Description #include <bits/stdc++.h> Libraries are needed to be declared explicitly. Different than Shell Script and Python. using namespace std It is used to indicate the compiler that the standard naming convention of c++ is being used. So it is more strict in terms of language building block. Different than Shell Script and Python. int main() { …. } To execute the whole code the code must be in between the curly braces of main function block. So this is supporting abstraction. Also the statements are compound and understandable if C is known. Different than Shell Script and Python. Type checking; example - string year; Usually check the type during compile time and strongly typed. Different than Shell Script. But python is loosely typed. while(1){ .. } To operate the while loop, the coder must at least need to assign it to a true value. Expressive and writeable though always need to have some knowledge on c++ before writing code using it. Also compound. Different than Shell Script and Python. ifstream Working as a input stream to read the file. Type and work specified. Similar to Python and Shell Script try{ …if(inFile) else throw “....” } catch(const char* e){ … } To handle exception, c++ has some built in library to handle it and user either can define or not to about the variation of exception he/she wants to handle. The try block is used as experiment part whereas the catch block will catch if there is no such file according to my code. Compound with form and meaning. Almost similar to Python but Shell script does not have this facility. bool flag This is indicating that c++ is capable of using concised parameters in terms of programming paradigm. But not orthogonal as I have to handle boolean value all the time. Similar to Python in some case but Shell Script does not have it. cout or cin Capable of printing and taking input through object as c++ allows object oriented programming whereas Python also support this. Python: Key Points of my Code Description flag = True Boolean data type exists and so it is concise which is similar to C++ but Shell Script does not have this print() Capable of procedural, functional, and object oriented job. C++ is almost similar but Shell script is totally different here. try: ….. except Exception: ……. To handle exception, python has some built in library to handle it and user either can define or not to about the variation of exception he/she wants to handle. The try block is used as experiment part whereas the catch block will catch if there is no such file according to my code. Compound with form and meaning like C++. file = open("NCHS_-_Leading_Causes_of_Death__United_States.csv") Python allows aliasing whereas C++ uses referencing in alias. with file: ... Helpful while handling files. Do not need to reopen and close the file every time. C++ also have similar to this but in stream format. But Shell script is more better in handling files option = input() option = int(option) Allows type checking like C++ but loosely typed like Shell script if... elif... Have conditional statements which are also in C++ and Shell Script Conclusion: So far according to my knowledge, I found out that while interacting with file Shell script is much more easier but also Python gives a good file handling libraries now like: Pandas and C++ is more prone to let user follow the programming paradigm while handling files.

deep-learning-based-story-categorization icon deep-learning-based-story-categorization

This repository is the continuation of the Story Categorization research. This second part contains the codes with Deep Learning based algorithms mostly time series based sequence learning algorithms.

kalman-and-bayesian-filters-in-python icon kalman-and-bayesian-filters-in-python

Kalman Filter book using Jupyter Notebook. Focuses on building intuition and experience, not formal proofs. Includes Kalman filters,extended Kalman filters, unscented Kalman filters, particle filters, and more. All exercises include solutions.

nlp_pipeline icon nlp_pipeline

Recommends movie based on genre, watched list, and preference

openalpr icon openalpr

Automatic License Plate Recognition library

pykurento icon pykurento

A Kurento client written in python using websocket-client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.