Skip to content
/ RALP Public

Reconnaissance automatique du langage de programmation

Notifications You must be signed in to change notification settings

ludel/RALP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RALP

Reconnaissance automatique du langage de programmation

Langage
css
go
html
java
js
python
ruby

Comment l'utiliser

import os

from sklearn.externals import joblib

clf = joblib.load('modelTrain.pkl')

# Defined your test directory
DIR_TEST_PATH = "test/"

data = []
for file in os.listdir(DIR_TEST_PATH):
    with open(DIR_TEST_PATH + file, 'r') as f:
        data.append(f.read())
        f.close()

predict = clf.predict(data)

print(predict)

About

Reconnaissance automatique du langage de programmation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages