question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rulefit.py - SyntaxError: invalid syntax, line 105

See original GitHub issue

Against the latest commit: 646d8ee

Mar 26 14:45:43 ubuntu-xenial celery[27022]:   File "/app/venv/local/lib/python2.7/site-packages/rulefit/__init__.py", line 1, in <module>
Mar 26 14:45:43 ubuntu-xenial celery[27022]:     from .rulefit import RuleCondition, Rule, RuleEnsemble, RuleFit, FriedScale
Mar 26 14:45:43 ubuntu-xenial celery[27022]:   File "/app/venv/local/lib/python2.7/site-packages/rulefit/rulefit.py", line 105
Mar 26 14:45:43 ubuntu-xenial celery[27022]:     self.scale_multipliers=scale_multipliers
Mar 26 14:45:43 ubuntu-xenial celery[27022]:        ^
Mar 26 14:45:43 ubuntu-xenial celery[27022]: SyntaxError: invalid syntax

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
chriswbartleycommented, Jun 22, 2018

Do you mean the version in setup.py? If so I just updated that to 0.3 to match the Change Log in readme.md. Otherwise let me know what’s needed (I’m a bit of a git newbie!) Cheers

0reactions
chriswbartleycommented, Jun 25, 2018

Of course, done. Cheers, Raymond. Chris

On 22 June 2018 at 20:28, raymond-grointel notifications@github.com wrote:

Thanks, I was referring to https://git-scm.com/book/en/ v2/Git-Basics-Tagging, so it shows up as a release https://github.com/christophM/rulefit/tags

Eg: $ git tag v0.3 and $ git push --tags

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/christophM/rulefit/issues/19#issuecomment-399425859, or mute the thread https://github.com/notifications/unsubscribe-auth/AECQ91iGo0_k8sxDiXuEZXPQW10zLUPBks5t_OLQgaJpZM4S7Q-h .

– Chris Bartley PhD Candidate School of Computer Science University of Western Australia 0419 964 128

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Why do I get the syntax error "SyntaxError: invalid ...
When an error is reported on a line that appears correct, try removing (or commenting out) the line where the error appears to...
Read more >
SyntaxError: invalid syntax issue - looks like Python ... - GitHub
Hi, When I am trying to run this code, it is showing the below error. How can I solve this issue? r.init(True,True)
Read more >
5.6 RuleFit | Interpretable Machine Learning
The RuleFit algorithm by Friedman and Popescu (2008) learns sparse linear models that include automatically detected interaction effects in the form of ...
Read more >
Using Driverless AI - Amazon S3
H2O Driverless AI is an artificial intelligence (AI) platform for automatic machine learning. Driverless AI automates.
Read more >
Namespace List - ROOT
▻NCPyCppyy, Set of helper functions that are invoked from the pythonizors, on the Python side. NPyStrings. NTypeManip. ▻NUtility ... Ndf105_WBosonAnalysis.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found