Assignment: DSL Design Methodology Assignment: DSL Design Methodology

Assignment: DSL Design Methodology

Assignment: DSL Design Methodology

Permalink: https://collepals.com/assignment-dsl-design-methodology/

A Survey on Domain-Specific Languages for Machine.pdf

A Survey on Domain-Specific Languages for Machine

Learning

August 3, 2017

CISC 603-50- R-2017/Summer – Theory of Computation

Student: Dileep Sharma

Instructor: Majid Shaalan

Contents

1 Statement 2

2 Abstract 2

3 Introduction 2

3.1 Big Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

3.2 Machine Learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3.3 Domain Specific Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

4 DSL Feature Model 4

4.1 Language Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

4.2 Transformation Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

4.3 DSL Tool Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

4.4 DSL Process Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5 Languages Surveyed 9

5.1 OptiML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5.2 ScalOps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

5.3 Scala . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

5.4 PIG LATIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

5.5 Breukervl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

5.6 Possibility of survey of other language . . . . . . . . . . . . . . . . . . . . . 11

5.7 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

6 Reference 12

1

1 Statement

The purpose of this paper is to identify, describe and design Domain Specific Language(

DSL ) applicable to Machine learning world in big data space, that can make process more

faster and efficient.

2 Abstract

In last couple of decades, the data we have at our disposal have increased tremendously

because of technology advance. This technology advance has helped us in capturing, storing,

analogizing and visualizing data and that has lead to big data. We need better algorithm

to read and analyze these big and complex diastases. Machine Learning is turning out to be

the most effective way of analyzing these datasets and predicting future behavior. To better

analyze these datasets with Machine Learning we need enhanced computational power, that

can be obtained using parallel processing using GPUs. Machine Learning algorithms needs

to be adapted and optimized to specific applications. However, programming these devices

to run efficiently and correctly is difficult, error-prone, and results in software that is harder

to read and maintain. This paper is primarily concern about Domain Specific language that

can help us in writing Machine Algorithms in efficient way to analyze Big Data.

3 Introduction

Technological advance in recent past has caused a data revolution. This high volume of data

is called big data.Every second, smartphones, tablets,cars, websites, and systems generate

a massive amount of data, and users and software engineers have access to a subset of that

data to perform their activities.

3.1 Big Data

Apart for large amount of data, Big data also accounts for complex data, known as vari-

ety.Big Data also created new challenges in data management. Traditional ways of data

storage and analysis do not scale well to this amount of data, which can reach hundreds

of terabytes or more, and new approaches are being developed to address these issues Big

data is basically defined by 5V’s:

• Volume

– Refers to amount of data

– Big Data doesnt sample

2

– Big Data observes and tracks what happens

• Velocity

– Speed of data processing

– Speed of data generation

– Big Data is often available in real-time

• Variety

– Number of types of data

• Variability

– Inconsistency of data

• Veracity

– Quality of data

3.2 Machine Learning

Machine learning is turning out to be one of the most advanced technique to process and

make inferences from Big Data. Machine Learning is widely used to discover identify trends,

patterns, suggest actions, and optimize output. There are still a lot of challenges in using

Machine Learning to solve big data problems, such as memory and time issues. To resolve

these issues, we can use GPUs for parallel processing and scatter data across different

machines. There are basically two kind of Machine Learning:

• Supervised

– All data is labeled

– You have both Input variable and Output variable

– Use an algorithm to learn the mapping function from the input to the output

• Unsupervised

– All data is unlabeled

– You only have input data and no corresponding output variables

– Algorithm try to find pattern in input data

3

3.3 Domain Specific Language

In model-driven engineering, a Domain-Specific Language (DSL) is a specialized language,

which, combined to a transformation function, serves to raise the abstraction level of soft-

ware and ease software development. The Machine Learning Implementation can be made

better by using techniques such as Domain-Specific. DSL solves problem in a single domain

while General Purpose Languages(GSL) solves problems in a couple of domains. DSLs

facilitate results to be expressed in the idiom and at the level of abstraction of the prob-

lem domain Language.DSLs offer pre-defined abstractions to represent concepts from the

application domain. This representation may be more clear and intuitive. Moreover, DSL

compilers may optimize the code written for the specific domain, and they can perform

error detection more efficiently. Lastly, DSLs may have more specific tool support that help

software engineers increase their productivity. These languages are easier to learn. There

can be three kind of DSL languages:

• Markup language

• Specification Language

• Programming Language

4 DSL Feature Model

DSl Feature model covers languages, transformation, tooling, and process aspects 1. Lan-

guage and transformation are mandatory features because they are parts of the DSL defini-

tion. Tool is also mandatory because it serves to automate transformation from a domain,

the problem space, down to lower abstraction levels, the solution space. Process is optional

because it can be undefined or implicit.

4.1 Language Features

There are two language features called as2:

• Abstract Syntax

– Characterizes elements of a domain and their relationships without implementa-

tion consideration

• Concrete Syntax

– Representation of a DSL in a human usable form

4

Figure 1: Roots of DSL Feature Language

Figure 2: Language Feature

5

Figure 3: Root of the Transformation Features

4.2 Transformation Feature

Transformation feature ensures the correspondence from the problem to the solution, takes

into account the problem-to-solution element mapping, and all design, implementation,

platform and architecture decisions. Transformation has to answer to three questions3:

How to specify transformation4? What are the assets expected from the transformation5?

How to realize the transformation to produce the expected assets? 6.

Get 20% Discount on This Paper
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on This Paper

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Ace Writing Center has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.

Essays

Essay Writing Services

At Ace Writing Center, Nowadays, students normally have extremely busy schedules. You will note that some of them have to take on some evening or weekend jobs in order to get some income that can help them to sustain in college or in the university. This can deny them a chance to write all the essays given. Others usually get bombarded with a lot of work by their lecturers. This can still delay such students from working on all their essays. However, some of them usually try to work on all these essays but end up delivering their work late. This can prevent them from graduating since most lecturers are strict on deadlines. If you want to write a business essay, the wise way is to hire an outstanding essay writing service like us, so that you can get the best results. If you are keen, you will note that many companies usually overcharge their customers. Some of them are there only to make money. And in reality, they really don’t care to build a long term commitment with students. You should not choose such companies. You should take your time and choose a reliable company to work with. Ace Writing Center is the ultimate solution for you. We have been offering our writing service for more than 7 years. This is a clear indication that you will get quality essay writing service. We have a wide range of writers who can work on any business essay that you might have. We believe in doing extensive research so that we can provide quality work to all our clients. .

Admissions

Admission and Business Papers

Have you ever had to write an admission essay for college? The majority of students face the same issues when applying to a university or college and many in such situations decide they need professional help to cope with this matter. They get in a situation when the deadline keeps coming closer but lack motivation to start because they are just not sure if their writing skills are strong enough. We have a solution for you! Ace Writing Center is the best admission essay writing service with a large professional team and years of experience in providing high-quality papers to students of all levels and faculties. The mission of our team is to help students make their dreams of entering a good college come true and that’s what we offer!.

Editing

Editing and Proofreading

Sometimes all the words for your paper just flow out of your mind and into your fingers. You type quickly at your keyboard and there they are, your beautiful words right there on the screen. But you have no idea how to polish it up. You may be wishing there was a paper writing service that offered this type of writing service. Look no more! Here at Ace Writing Center, we offer you an editing and proofreading option that you can't find anywhere else..

Coursework

College Essay Writing

In case you are familiar Ace Writing Center, you know the way to distinguish a better company from a cheap one exactly. First of all, poor service website does not have a sufficient support. We think support team is an essential part of success; it has to answer all clients’ questions and be a connecting link between clients and their writers. On our web-service you will get answers about anything you need and your writer will receive all your instructions, assignments and requirements exactly and swiftly. A writing service that we run has got a flexible pricing system that will save you from senseless wastes and many bonus systems that let you sparing money for something important for you.