Git Product home page Git Product logo

automated-software-engineering's Introduction

Base Info

Student Name: Boyang Yan Student Number: 200495053

Homework

https://github.com/txt/aa24.git

Week 2

python3 ./src/gate.py -f ./data/auto93.csv -t stats

Week 3

Task 1

python3 ./src/gate.py -f ./data/diabetes.csv -t week3Task1 > ./hw/w3/task1Diabetes.out
python3 ./src/gate.py -f ./data/soybean.csv -t week3Task1 > ./hw/w3/task1Soybean.out

Task 2

DONE

Task 3

python3 ./src/gate.py -f ./data/soybean.csv -t week3Task3 > ./hw/w3/task3.out

Task 4

python3 ./src/gate.py -f ./data/soybean.csv -t week3Task4 > ./hw/w3/task4.out

Week 4

python3 ./src/gate.py -t week4

Q1: does SMO do better than the random baselines (see prints 1,2,4)?

Yes, better than random baselines.

SMO result

1985 16.4 30

top6 Lbs-, Acc+, Mpg+,

Row 1 1850 13.8 40 
Row 2 3425 13.2 20 
Row 3 3988 13 10 
Row 4 2545 17 20 
Row 5 3230 20.4 30 
Row 6 4220 11.1 20

top50 Lbs-, Acc+, Mpg+,

Row 1 1850 13.8 40 
Row 2 3425 13.2 20 
Row 3 3988 13 10 
Row 4 2545 17 20 
Row 5 3230 20.4 30 
Row 6 4220 11.1 20 
Row 7 2125 14.7 40 
Row 8 4906 12.5 10 
Row 9 2665 13.9 30 
Row 10 3439 15.5 20 
Row 11 2950 19.9 40 
Row 12 3085 17.6 20 
Row 13 4422 12.5 10 
Row 14 4952 11.5 10 
Row 15 2451 16.5 30 
Row 16 3399 11 20 
Row 17 2158 15.5 20 
Row 18 1925 14 30 
Row 19 4951 11 10 
Row 20 4354 9 10 
Row 21 3563 10 20 
Row 22 3015 17 40 
Row 23 3777 12.5 20 
Row 24 2110 19.2 40 
Row 25 3070 16.7 20 
Row 26 3504 12 20 
Row 27 2288 17 30 
Row 28 2572 14.9 30 
Row 29 4440 14 20 
Row 30 1945 16.8 30 
Row 31 2790 15.6 30 
Row 32 3190 24.8 30 
Row 33 2205 14.5 40 
Row 34 3651 17.7 20 
Row 35 2789 15 20 
Row 36 2945 16.4 30 
Row 37 4380 12.1 20 
Row 38 3250 21.8 30 
Row 39 2202 15.3 30 
Row 40 2395 16 20 
Row 41 3535 19.2 20 
Row 42 2694 15 20 
Row 43 2634 13 20 
Row 44 2900 12.6 30 
Row 45 3880 12.5 20 
Row 46 1985 16 30 
Row 47 2671 13.5 30 
Row 48 2160 14.5 40 
Row 49 2171 16 30 
Row 50 1985 16.4 30
  1. rand
Lbs-, Acc+, Mpg+, 
Row 1 2605.0 15.15 25.0 

Q2: How many y row evaluations are required for print 3?

For our auto93 dataset, have 3 depandent columns, as well as 398 rows. So, the number of evaluations is 3 x 398 = 1194.

Q3: How does SMO do compared to absolute best?

SMO better than absolute best.

SMO result

1985 16.4 30

Most:

Lbs-, Acc+, Mpg+, 
Row 1 2130 24.6 40

Week5

Distance

python3 ./src/gate.py -t week5Dis

fastmap heuristic

python3 ./src/gate.py -t week5Far

Week7

Task 1

python3 ./src/gate.py -t week7task1

Task 2

python3 ./src/gate.py -t week7task2

Task 3

python3 ./src/gate.py -t week7task3

Week8

https://github.com/txt/aa24/blob/main/docs/hw06.md

Task 1

python3 ./src/gate.py -t week8task1

Task 2

python3 ./src/gate.py -t week8task2

Week9

https://github.com/txt/aa24/blob/main/docs/hw07.md

python3 ./src/gate.py -t week9

Pre-commit

install

paru -S pre-commit

Create a Pre-commit Configuration File

In the root of your repository, create a .pre-commit-config.yaml file

repos:
-   repo: local
    hooks:
    -   id: hw
        name: homework
        entry: python3 ./src/gate.py -f ./data/diabetes.csv -t all
        language: system
        always_run: true
        pass_filenames: false

Install the Pre-commit Hook

pre-commit install

automated-software-engineering's People

Contributors

yanboyang713 avatar

Watchers

 avatar

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.