Skip to content

Commit

Permalink
MetaModel for text data (#691)
Browse files Browse the repository at this point in the history
* move trials to auto model contructor

* temp commit

* automodel interface update

* minor style changes

* docstrings

* enable biary classification and revise rnn

* dimensional reduction hyper blocks

* image block select from 3 types of blocks

* image block fixed

* clean up dense block

* tests fixed

* auto tuner added

* Fix docstring

* make preprocessors into hyperblocks

* test fixed

* fixed tests

* docstring added to auto tuner.

* docstring added to autographmodel.

* auto model support both one-hot encoding and label for classification

* minor style fixes

* minor style fixes

* rename trials to max_trails

* rename trials to max_trails

* meta model mechanism and node type

* comments

* remove spliting data

* style fix

* split numpy validation

* spliting numpy data

* use tf.data.Dataset for all preprocessing

* minor refactoring and docstring

* bug fix for normalize

* temp

* docstring

* temp commit

* tokenizer

* temp commit

* sequence preprocessor

* temp commit

* fixed pytest

* pass label to ngram

* refactor automodel

* tests fixed

* docstring

* refactor meta_model

* temp commit

* meta model fixed

* temp commit

* preprocessing updated

* style and docstring changes

* docstrings

* fixed tests

* style changes
  • Loading branch information
haifeng-jin committed Jul 13, 2019
1 parent 2f1f42e commit b31f2ca
Show file tree
Hide file tree
Showing 18 changed files with 836 additions and 284 deletions.
15 changes: 10 additions & 5 deletions autokeras/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
from autokeras.auto.auto_model import AutoModel
from autokeras.auto.auto_model import GraphAutoModel
from autokeras.auto_model import AutoModel
from autokeras.auto_model import GraphAutoModel

from autokeras.task import ImageClassifier
from autokeras.task import ImageRegressor
from autokeras.task import TextClassifier
from autokeras.task import TextRegressor

from autokeras.hypermodel.hyper_head import ClassificationHead
from autokeras.hypermodel.hyper_head import RegressionHead
Expand All @@ -11,14 +16,14 @@
from autokeras.hypermodel.hyper_block import ImageBlock
from autokeras.hypermodel.hyper_block import ConvBlock
from autokeras.hypermodel.hyper_block import DenseBlock
from autokeras.hypermodel.hyper_block import EmbeddingBlock

from autokeras.hypermodel.processor import Normalize
from autokeras.hypermodel.processor import TextToIntSequence
from autokeras.hypermodel.processor import TextToNgramVector

from autokeras.hypermodel.hyper_node import Input
from autokeras.hypermodel.hyper_node import ImageInput
from autokeras.hypermodel.hyper_node import TextInput

from autokeras.auto.image import ImageClassifier
from autokeras.auto.image import ImageRegressor

from autokeras.const import Constant
Empty file removed autokeras/auto/__init__.py
Empty file.
21 changes: 0 additions & 21 deletions autokeras/auto/image.py

This file was deleted.

0 comments on commit b31f2ca

Please sign in to comment.