Code Monkey home page Code Monkey logo

kdd2022's Introduction

README.md

 This markdown helps to understand the codes and the folder(file) structure.

1.Folder structure

 Team CSU123:
  test_x.zip, test_y.zip: test data for evaluation

 \paddlepaddle:
  common.py, metrics.py, model.py, predict.py, train.py, test_data.py, wind_turbine_data.py
  are almost same as officially released.
  data_cleaning.py: KNN to deal with null and abnormal data,

 \paddlepaddle\sample:(partial hyperparameter grid search)
  Similar structure to \paddlepaddle. eva luation.py and train.py were modified.

2.Description of modified/extended files

 1.\paddlepaddle\sample\prepare.py
  A parameterized prep_env_search() is provided based on the original prep_env().It enables variable hyperparameters(batch size,learning rate, number of layers, and input length).
 2.\paddlepaddle\sample\train.py
  A multi-stage cycle is designed to realize grid search. That is, train models with different hyperparameter combinations. The trained models were saved at \paddlepaddle\sample with seperate folders.
 3.\paddlepaddle\sample\evaluation.py
  MAX_RUN_NUM was changed as 1 to avoid error.
 4.\paddlepaddle\data_cleaning.py
  A method is defined to realize kNN interpolation by kNNImputer.
 5.\paddlepaddle\make_zip.py
  Compress all files into a zip file according to the submission format requirements.

3.Work flow

 1.Run \paddlepaddle\preprocess.py and get file 'wtdata_245days_knned.CSV'.
 2.Run \paddlepaddle\sample\train.py to train models on sampled turbines(can be defined in \sample\prepare.py).This yields a group of foldersin \sample\checkpoints where models exist.
 3.Run \paddlepaddle\make_zip.py. This transform the model folders into .zip files so that satisfy the evaluation procedure.
 4.Run \paddlepaddle\sample\evaluation.py to evaluate different models.(For some unresolved reason about temporary system path, the eval method can only launch once in a single run, otherwise 'path not found error' will occur. In practice, we record every score manually.)
 5.Run \paddlepaddle\train.py to train 134 models using the best set of hyperparameters in step 4(by set prepare.py).

kdd2022's People

Contributors

liuzhihhxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.