Slide 1

Slide 1 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ) 9C :KN : E / L A

Slide 2

Slide 2 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( ) 2 7B : @ @ @ : A : @ @ @ 31 .4A4 T c 0 - a WS ML 31 /@8 2@ @ JI L J

Slide 3

Slide 3 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Loft Tokyo? ASK AN EXPERT?

Slide 4

Slide 4 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ASK AN EXPERT @ AWS Loft Tokyo ! 2 01 8 - AWS ! Startup Developer J

Slide 5

Slide 5 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9

Slide 6

Slide 6 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analyzing ASK AN EXPERT Logs ! Tokenization Word2Vec

Slide 7

Slide 7 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analyzing ASK AN EXPERT Logs ! Tokenization from janome.tokenizer import Tokenizer t = Tokenizer("userdic.csv", udic_enc="utf8") f = io.open('./sodan.txt', 'r', encoding='utf-8’) tokens = t.tokenize(line) for token in tokens: partOfSpeech = token.part_of_speech.split(',')[0] if partOfSpeech == u'’: if token.surface == ‘https’: pass elif token.surface.isnumeric(): pass else: sodan_words.append(token.surface) https://github.com/mocobeta/janome

Slide 8

Slide 8 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analyzing ASK AN EXPERT Logs ! Word2Vec from gensim.models import word2vec sodan_sentences = word2vec.Text8Corpus('./sodan_words.txt') sodan_model = word2vec.Word2Vec(sodan_sentences, size=200, min_count=20, window=15) results = sodan_model.wv.most_similar(positive=[u'']) for result in results: print(result) https://github.com/RaRe-Technologies/gensim

Slide 9

Slide 9 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ASK AN EXPERT Logs ! 43 9D 9 . 3 058675 2 3 1 . 3 - 2 3 43 058675 3 . 3 I 9D EAC :

Slide 10

Slide 10 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ASK AN EXPERT Logs ! 2 A L . 201 65 - A 201 2 743 . 8 9:

Slide 11

Slide 11 text

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Loft Tokyo - ASK AN EXPERT Logs • EC2/RDS/S3 27)+&(70*T LO G;@! ⇒ <8=CU • "$Lambda'6,.FMIJT ?QK/ %524LOU ⇒ > J • AWS9SAWS(37-IJ:ND AB# (*´∀V*) "E HRAWS Loft Tokyo “ASK AN EXPERT”17*P J