rcdilorenzo / ecce Goto Github PK
View Code? Open in Web Editor NEWML Prediction of Bible Topics and Passages (Python / React)
License: GNU General Public License v3.0
ML Prediction of Bible Topics and Passages (Python / React)
License: GNU General Public License v3.0
KeyError Traceback (most recent call last)
~/anaconda3/envs/holy/lib/python3.6/site-packages/toolz/functoolz.py in memof(*args, **kwargs)
455 try:
--> 456 return cache[k]
457 except TypeError:
KeyError: ()
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
in
----> 1 nave_data.frame().iloc[1000:1010]
~/anaconda3/envs/holy/lib/python3.6/site-packages/toolz/functoolz.py in memof(*args, **kwargs)
458 raise TypeError("Arguments to memoized function must be hashable")
459 except KeyError:
--> 460 cache[k] = result = func(*args, **kwargs)
461 return result
462
~/ecce/ecce/model/nave/data.py in frame()
20 return topics.split(',')
21
---> 22 df = pd.read_csv(NLP_TOPICS_PATH, sep='\t')
23 df.topics = df.topics.apply(_split_topics)
24
~/anaconda3/envs/holy/lib/python3.6/site-packages/pandas/io/parsers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
684 )
685
--> 686 return _read(filepath_or_buffer, kwds)
687
688
~/anaconda3/envs/holy/lib/python3.6/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
450
451 # Create the parser.
--> 452 parser = TextFileReader(fp_or_buf, **kwds)
453
454 if chunksize or iterator:
~/anaconda3/envs/holy/lib/python3.6/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
934 self.options["has_index_names"] = kwds["has_index_names"]
935
--> 936 self._make_engine(self.engine)
937
938 def close(self):
~/anaconda3/envs/holy/lib/python3.6/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1166 def _make_engine(self, engine="c"):
1167 if engine == "c":
-> 1168 self._engine = CParserWrapper(self.f, **self.options)
1169 else:
1170 if engine == "python":
~/anaconda3/envs/holy/lib/python3.6/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1996 kwds["usecols"] = self.usecols
1997
-> 1998 self._reader = parsers.TextReader(src, **kwds)
1999 self.unnamed_cols = self._reader.unnamed_cols
2000
pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.cinit()
pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source()
I tried to look into the scripts to find the function responsible of generating verse-with-topics.tsv but i didn't get a result.
any ideas?
PS: i installed all the requirements of the project, i cloned the last version of the project
I am using python 3.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.