Package io

Examples of io.InternetAdReader


public class InternetAds {

  public static void main(String[] args) throws IOException {
    // read in the data.
    ArrayList<ClassificationInstance> allData = (new InternetAdReader(
        new Alphabet(), new Alphabet())).readFile(args[0]);
    StaticUtils.shuffle(allData, 0);
    // randomly split data into training and testing part
    ArrayList<ClassificationInstance>[] tmp = StaticUtils.split(allData,
        200);
View Full Code Here

TOP

Related Classes of io.InternetAdReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.