Comments (2)
Hi Prateek! You're right, we should add an example to the README. I've created a new issue (#43) specifically for this.
The Runner expects simple field-delimited lines where the default delimiter is a comma. We use String::split
to split a line in to fields and Double::parseDouble
to parse each field into a numeric value. This approach is not robust at all and will fail on simple things, like if the program you used to create the delimited file put quotes around the numeric field. This is intentional: the code is primarily intended to provide an example of library usage, and we didn't want to take additional dependencies to support proper file parsing. If your input file doesn't fit this restrictive format, you'll either have to transform your data or else write your own small program to parse records and submit them to a forest.
from random-cut-forest-by-aws.
Thanks, @jotok for creating the issue.
I agree that an outside file format might be needed later on to reformat any input file in the given format.
Currently, I am able to run pass a single column CSV file and it works fine.
from random-cut-forest-by-aws.
Related Issues (20)
- RCF 4.0
- C, Ruby, and PHP libraries + standalone CLI HOT 1
- Enable multicentroid clustering in Rust HOT 2
- Thresholded Random Cut Forest not detecting some anomalies with small gap HOT 2
- rust summarize_list error HOT 1
- rust summarize_list error HOT 3
- Clarification regarding Shingle size, number of samples per tree and threshold HOT 7
- Error when updating tree HOT 7
- How can I serialize the object RandomCutForest to array bytes? HOT 2
- Sample Size & Rust HOT 1
- Rust serialization HOT 2
- Performance regression in 3.5.1 when restoring state HOT 3
- Remove restrictions from outputAfter setting HOT 1
- Make pastValues independent of forecasts
- Reduce noise from streaming normalization HOT 2
- Incorrect foreast cast result HOT 2
- is there any plans to support more language such as Python? HOT 2
- Rust panic HOT 8
- Revisit calibration in RCFCaster to improve forecasts near boundaries (and handle physical infeasibility, such as -ve values, etc.) HOT 1
- Addressing hyper-sensitivity for RCFs with homogenous observations HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from random-cut-forest-by-aws.